summaryrefslogtreecommitdiffstats
path: root/battlestar
Commit message (Collapse)AuthorAgeFilesLines
...
* Based on OpenBSD: spelling, punctuation, grammar and line lengthjsm2000-09-103-27/+32
| | | | adjustments, and support for '=' in room descriptions meaning a literal '-'.
* Wording, punctuation and line length improvements. Also adjust testjsm2000-09-107-26/+26
| | | | for killing nonsensical things to fix crash with "kill door". From OpenBSD.
* Make spacing nicer and add explicit NULL initializers.jsm2000-09-091-167/+167
|
* Store copy of username with strdup rather than using a fixed lengthjsm2000-09-093-19/+23
| | | buffer. Also make initialization functions and arrays static.
* Put prototypes in alphabetical order.jsm2000-09-091-7/+7
|
* Spelling and punctuation corrections or improvements from OpenBSD.jsm2000-09-086-28/+28
|
* Make code clearer; add a macro ROOMDESC for the number of times a roomjsm2000-09-083-10/+17
| | | | should be visited for the short description only to be used, and don't increment beenthere[position] beyond this value. From OpenBSD.
* Manpage improvements based on OpenBSD.jsm2000-09-081-7/+27
|
* 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
|