summaryrefslogtreecommitdiffstats
path: root/battlestar
Commit message (Collapse)AuthorAgeFilesLines
* Rename move() to moveplayer() to avoid clashing with libcurses.mycroft2000-07-234-20/+20
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Use err(1, NULL) and warn(NULL) for `out of memory' error messages.jsm2000-01-091-5/+5
|
* Fix -Wsign-compare warnings.jsm1999-09-182-6/+6
|
* Use strncpy() rather than strcpy() with fixed size buffer.jsm1999-09-181-3/+3
|
* Add missing initialisers.jsm1999-09-182-6/+6
|
* Add FALLTHROUGH comment.jsm1999-09-181-2/+3
|
* Give sensible error message in a shouldn't happen case.jsm1999-09-181-3/+3
|
* Declare variables in extern.h as extern, and add non-externjsm1999-09-142-42/+78
| | | declarations to globals.c.
* Use time() instead of gettimeofday().jsm1999-09-142-10/+7
|
* Fix uses of names of library functions for other purposes.jsm1999-09-133-9/+9
|
* A couple more checks for file descriptor < 3 missed earlier.jsm1999-09-131-2/+4
|
* Add `__noreturn__' and `__unused__' attributes where appropriate tojsm1999-09-082-7/+7
| | | | | | | | | | | | the games. This merges in all such remaining changes from the Linux port of the NetBSD games, except in hunt (where substantial changes from OpenBSD need to be looked at). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
* This patch improves the handling of save files in battlestar(6), byhubertf1999-07-286-44/+119
| | | | | | | | | | allowing the user to choose the name of the save file and specify it on the command line when restoring. It also eliminates a buffer overrun in determining the path to the save file, and any particular arbitrary limit on the name length. In the name of a tidier home directory, the default name is changed from "Bstar" to ".Bstar". Patch supplied in PR 8085 by Joseph Myers <jsm28@cam.ac.uk> Minor modification (s/startup/filename/ in initialize()) by me.
* Drop setgid privileges early. Derived from OpenBSD and sent in as PR 5970hubertf1999-07-213-13/+25
| | | by Joseph Myers <jsm28@cam.ac.uk>.
* From PR 7987 by Joseph Myers <jsm28@cam.ac.uk>:hubertf1999-07-146-26/+26
| | | | More battlestar(6) spelling and punctuation fixes for battlestar(6). These ones come from OpenBSD.
* initscr() returns a pointer, compare return value with NULL and notsimonb1999-04-181-3/+3
| | | | an int. Compatible with other versions of curses.
* Fix object recognition, per PR 6048 by Joseph S. Myers <jsm28@cam.ac.uk>.hubertf1999-03-251-2/+32
|
* Const poisoning, per PR 6660 by Joseph Myers <jsm28@cam.ac.uk>hubertf1999-02-1012-69/+69
|
* mark non-returning functions (PR#6144 by Joseph Myers <jsm28@cam.ac.uk>)hubertf1998-09-131-4/+4
|
* add sanity checks when saving/restoring games (PR#6138 by Joseph Myers ↵hubertf1998-09-131-4/+10
| | | | <jsm28@cam.ac.uk>)
* Fix typo, closes pr 6137 by Joseph Myers.frueauf1998-09-101-2/+2
|
* Add braces to make the new egcs happy.veego1998-08-301-3/+4
|
* DTRT if "give" is invoked without arguments. Fix contributed by Joseph S.hubertf1998-08-291-7/+17
| | | Myers <jsm28@cam.ac.uk>, closeds PR 6049.
* Don't allow empty "give" command (without arguments).hubertf1998-08-281-2/+6
| | | Fixes PR 6049 by Joseph Myers <jsm@octomino.demon.co.uk>.
* Untakable objects are marked with NULL pointers, not empty strings,hubertf1998-08-241-6/+6
| | | | resulting in core dumps. Fixed as per PR 6006 by Joseph Myers <jsm28@cam.ac.uk>.
* Propperly note place-change, as reported in PR 6008 by Joseph Samuel Myershubertf1998-08-241-2/+3
| | | <jsm28@cam.ac.uk>
* Initialize return-value correctly as pointed out in PR 6007 byhubertf1998-08-241-4/+3
| | | Joseph Myers <jsm@octomino.demon.co.uk>.
* Fix some spelling errors reported by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-07-252-10/+10
| | | in PR 5842.
* - really make extern char's extern.mrg1998-03-291-6/+6
|
* Simply include -lcurses instead of -lcurses -ltermcapjtc1998-02-181-3/+3
|
* Use -ltermcap instead of -ltermlibchristos1998-02-051-2/+2
|
* change includes to fix compiler warningperry1998-02-031-1/+3
|
* install games that need it setgid.mrg1997-11-201-1/+2
|
* time_t != long; fix minor type problem.cjs1997-10-131-3/+5
|
* missed a couple of clock->ourclock and time->ourtime variable renameslukem1997-10-121-6/+6
|
* KNFify (with indent)lukem1997-10-1123-3797/+3796
|
* WARNSifylukem1997-10-1024-772/+942
|
* sigh, fix RCS ID againtls1997-01-071-1/+1
|
* RCS ID Policetls1997-01-071-0/+2
|
* Sync to 4.4BSD-Lite2tls1997-01-0723-386/+87
|
* Import from 4.4BSD-Lite2tls1996-12-281-0/+297
|
* Use POSIX signal and tty semantics.mycroft1995-04-271-4/+7
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-1/+2
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* KERNEL -> _KERNELjtc1995-03-281-4/+4
|
* clean up importcgd1995-03-2126-107/+219
|
* change <sys/signal.h> to <signal.h>jtc1995-02-281-2/+2
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* update to -mandoc macrosjtc1993-08-051-92/+85
|
* Add RCS identifiers.mycroft1993-08-0124-24/+48
|