summaryrefslogtreecommitdiffstats
path: root/sail
Commit message (Collapse)AuthorAgeFilesLines
* Move newturn() from pl_7 to pl_2.dholland2009-03-153-64/+89
| | | | pl_7 was mostly curses/display stuff, is going to be all display stuff. pl_2 is where the main loop lives.
* Move all curses bits to pl_7.c.dholland2009-03-153-43/+64
|
* Fix usage messagedholland2009-03-141-3/+3
|
* chdir to /var/games/sail while running, to simplify name handling.dholland2009-03-143-19/+54
|
* Don't crosswire the two kinds of path names, and don't croak ondholland2009-03-141-4/+4
| | | scenario numbers > 99.
* Turns out the W_FILE message wasn't ever used.dholland2009-03-142-19/+4
|
* Create some abstraction for sending messages.dholland2009-03-1416-341/+843
| | | | | Make a send and receive function for each possible message. Make these have useful argument signatures. Hide the list of message codes inside sync.c.
* Don't use perror()dholland2009-03-143-12/+10
|
* constify the version stringdholland2009-03-142-5/+5
|
* Sprinkle some "bool". And don't use '\0' to mean 'false'.dholland2009-03-145-20/+22
|
* Use \a instead of \7 for BEL.dholland2009-03-142-7/+7
|
* Prune a comment referring to objects that (AFAICT) didn't even exist in -r1.1.dholland2009-03-141-6/+2
|
* Don't cast the return value of calloc().dholland2009-03-142-6/+6
|
* Lines <= 80 chars, remove trailing whitespace, other formatting adjustments.dholland2009-03-1418-192/+253
| | | No functional change.
* Remove some unnecessary casts.dholland2009-03-144-17/+17
|
* String buffer cleanup. sprintf bad.dholland2009-03-147-48/+53
|
* Don't use char for random state variables; use int or bool.dholland2009-03-141-6/+7
|
* sprintf -> snprintfdholland2009-03-091-5/+8
|
* Move HISTORY to proper place.dholland2009-03-021-57/+58
|
* Edit. Sync with reality, at least partway. Bump date.dholland2009-03-021-129/+173
|
* Sort options. End sentence with a dot.wiz2009-03-021-8/+7
|
* mdocify. Partly merged from OpenBSD. Not by any means perfect yet.dholland2009-03-021-410/+527
|
* More fixes from OpenBSD: use err instead of perror, don't hork on EOFdholland2009-03-021-11/+15
| | | during the initial setup questions.
* Check for failure of fgets when reading the captain's name, and don'tdholland2009-03-021-4/+5
| | | allow it to be empty. From OpenBSD.
* Use errx() to send fatal error messages. From OpenBSD.dholland2009-03-021-4/+4
|
* Use errx/warnx instead of printing to stderr. From OpenBSD.dholland2009-03-021-5/+5
|
* Use err(3) and errx(3), not perror and fprintf to stderr. From OpenBSD.dholland2009-03-021-6/+5
|
* Braces around a nested if, for clarity; suggested by diffing against OpenBSD.dholland2009-03-021-4/+4
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-201-4/+4
|
* Remove clause 3 and 4 from TNF licensesmartin2008-04-282-16/+2
|
* Make the default WARNS for games 4. The only game that needs to set WARNSdholland2008-01-281-2/+1
| | | to anything else now is rogue, so clear WARNS from the other makefiles.
* Build with WARNS=4. Sort out the game's shadowing of its own variables,dholland2008-01-287-66/+68
| | | which fixes at least one bug.
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-152-7/+7
|
* don't try to switch a char and have a case of EOF - use an int.mrg2006-05-181-3/+7
|
* fix buffer overflow (CVE-2006-1744), from Debiandrochner2006-04-201-3/+3
|
* Coverity CID 980: Prevent an impossible NULL point deref.christos2006-03-191-3/+3
|
* If none of the boarding parties are set do not fall off the end of theabs2006-03-182-5/+5
| | | | list. Addresses Coverity CID 1507. Also put pointers before shorts in a struct rather than mixing them up
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-2/+2
| | | Sort sections if necessary. Use more/better markup.
* Add (unsigned char) cast to ctype functionsdsl2004-11-054-13/+12
|
* Replaced strncpy with strlcpy. Thanks to Peter Postma whojrf2004-09-072-13/+9
| | | pointed them our in PR #25762. Approved by christos@NetBSD.org.
* Use standard C abs function rather than local macro.jsm2004-02-082-4/+4
|
* Include <sys/stat.h>.jsm2004-01-271-2/+4
|
* Include <sys/types.h>.jsm2004-01-271-1/+3
|
* Use int for wait status.jsm2004-01-271-4/+4
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-0729-197/+81
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* PDP-11 instead of PDP 11. Igor Sobrado in PR 19678.wiz2003-03-301-2/+2
|
* Mdoc nits -- unneeded ".wiz2002-09-261-2/+2
|
* Ispell.wiz2002-09-261-3/+2
|
* New sentences begin on new lines.wiz2002-09-261-191/+271
| | | Patch from Richard Elz, slightly improved by yours truly.
* Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross2002-02-081-6/+6
|