Commit Graph

19 Commits

Author SHA1 Message Date
dholland
388218390b Rework the game startup so it uses curses nicely. There are now menus
and stuff for picking scenarios and ships and all that.
2010-08-06 09:14:40 +00:00
wiz
4c5d0b1878 Close file when finished with it. Found by cppcheck. 2010-01-17 22:56:32 +00:00
dholland
da121b3331 sprinkle static 2009-08-12 08:54:54 +00:00
dholland
32aeef110b Don't use perror() 2009-03-14 20:14:56 +00:00
dholland
9a83480957 Remove some unnecessary casts. 2009-03-14 18:41:21 +00:00
dholland
25e9926383 String buffer cleanup. sprintf bad. 2009-03-14 18:32:47 +00:00
dholland
a627b0395f Build with WARNS=4. Sort out the game's shadowing of its own variables,
which fixes at least one bug.
2008-01-28 01:58:01 +00:00
agc
e5aeb4ea46 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22269, verified by myself.
2003-08-07 09:36:50 +00:00
christos
dc6488eb8e remove redundant decls. 2001-02-05 01:10:08 +00:00
cgd
bcc8ec9959 include stdlib.h for prototypes (typically for exit()). 2001-01-16 02:44:43 +00:00
jwise
aac077fce8 Rationalize inclusion of header files: cut down on `include everything
everywhere' a little (more to go), and as per KNF, local includes after
system includes.
2001-01-04 03:21:16 +00:00
jwise
dfea9f08db ANSIfy in preparation for further work. 2001-01-01 21:57:37 +00:00
matt
3233065035 More include additions for exit, abs, strcmp, etc. 2000-07-03 03:57:39 +00:00
jsm
092d313019 Add use of `const' where appropriate to 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).

Some such changes were previously covered in PRs bin/6041, bin/6146,
bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994,
bin/8039, bin/8057 and bin/8093.
1999-09-08 21:17:44 +00:00
christos
bf72b656b0 Warns fixes:
use varargs properly
	use unsigned chars where appropriate
	fix typos
	eliminate gcc warnings
1997-10-13 19:42:53 +00:00
tls
156daa7a47 Sync to 4.4BSD-Lite2 1997-01-07 12:42:14 +00:00
cgd
982615d7df clean up import, NetBSD RCS IDs 1995-04-22 10:36:43 +00:00
mycroft
8542364e07 Add RCS identifiers. 1993-08-01 18:49:50 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00