Commit Graph

27 Commits

Author SHA1 Message Date
dholland 5dcb186afb Move game logic out of the file with the curses code. 2015-06-25 05:33:02 +00:00
dholland 01dcf47e23 Abolish the foul practice of including every header in existence via a
single central "include.h". Use only headers that are actually needed.
2015-06-19 06:02:31 +00:00
dholland 1e7c0bc4d8 Make the list of place types an enumeration. Use unsigned values for
place numbers.
2014-03-22 22:58:56 +00:00
dholland 66a360a4e6 use more suitable types 2014-03-22 22:45:05 +00:00
dholland c1bee345de Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
2014-03-22 22:24:21 +00:00
is 96c5ad97be Bug fix: in a game with 26 planes, the last one to be allocated wouldn't
be allocated if it was the only eligible one.
From Jonathan David Amery via Debian Bug report 214626.
2011-02-15 08:25:25 +00:00
dholland 7a2ed76402 sprinkle static 2009-08-12 04:48:03 +00:00
dholland 2e221153bc sprintf -> snprintf 2009-05-26 00:00:56 +00:00
perry 8b0f9554ff convert __attribute__s to applicable cdefs.h macros 2007-12-15 19:44:37 +00:00
wiz 40d5f88af4 s/exceded/exceeded/, from Zafer. 2006-11-24 21:14:55 +00:00
christos 93eceea780 Add missing parens. 2006-03-22 15:24:52 +00:00
christos 549b5ed9d1 Simplify (Masao Uebayashi) 2006-03-22 05:03:10 +00:00
christos 8b7bfd1f64 Coverity CID 692: Another && that should be ||. Boy... 2006-03-22 04:24:14 +00:00
rpaulo b0282a1ea0 Pass lint(1). 2005-08-10 17:53:28 +00:00
jmc 4931378a78 KNF and WARNS=3 fixes 2005-07-01 00:48:34 +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
cgd d594ce939b comment or delete text after CPP directives. 2001-01-16 02:50:27 +00:00
hubertf 03fc787fb7 This patch marks unused parameters in atc(6) as such.
Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-25 00:24:38 +00:00
hubertf 5cfc1e8dc6 This patch makes atc(6) check for memory allocation failure.
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.
1999-07-24 23:58:15 +00:00
hubertf a9d35e8322 constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk> 1998-11-10 13:43:30 +00:00
hubertf 4ccf0d9755 better define PI, plus improve prototype (PR#5867) 1998-09-11 12:53:28 +00:00
lukem ca57cf90de WARNSify 1997-10-10 02:07:01 +00:00
tls af1ee80179 bfunctions -> memfunctions 1997-01-13 06:50:25 +00:00
mycroft ca2582cf11 Use POSIX signal and tty semantics. 1995-04-27 21:22:19 +00:00
cgd 101657d110 clean up import 1995-03-21 15:03:38 +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