summaryrefslogtreecommitdiffstats
path: root/atc/graphics.c
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-4/+4
|
* Move game logic out of the file with the curses code.dholland2015-06-251-54/+23
|
* Abolish the foul practice of including every header in existence via adholland2015-06-191-3/+12
| | | single central "include.h". Use only headers that are actually needed.
* woops, more of previous.dholland2014-03-221-5/+5
|
* Make some things unsigned that should be (why would we need e.g. adholland2014-03-221-12/+13
| | | negative number of airports?) and remove some related bogus casts.
* sprinkle staticdholland2009-08-121-4/+6
|
* if initscr() fails, exit with a message rather than crash in thedrochner2008-08-081-3/+4
| | | next curses call
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* bracket else blockjnemeth2006-06-071-3/+4
|
* Pass lint(1).rpaulo2005-08-101-125/+127
|
* KNF and WARNS=3 fixesjmc2005-07-011-33/+20
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-7/+3
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Compare getchar() against EOF, not -1.jsm1999-09-101-3/+3
|
* In atc(6), the function getAChar() has BSD and SYSV variants to dealhubertf1999-07-281-8/+7
| | | | | | | | | | | with variations in EINTR behaviour, but the optimisation of using the BSD version where the SYSV version isn't needed is insignificant. This patch therefore simplifies the code by making there be just one version, a more paranoid (about EOF when errno is already EINTR) version of the SYSV code. Since the BSD/SYSV defines are mainly used to control whether BSD timers are used, this helps where BSD timers but SYSV EINTR handling are wanted. Patch supplied in PR 8091 by Joseph Myers <jsm28@cam.ac.uk>
* This patch marks unused parameters in atc(6) as such.hubertf1999-07-251-3/+3
| | | Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
* This patch makes atc(6) check for memory allocation failure.hubertf1999-07-241-4/+8
| | | | | Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056, with small enhancement to make clearer when loser() is called with NULL.
* constify, per PR 6150 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-11-101-9/+10
|
* WARNSifylukem1997-10-101-11/+28
|
* clean up importcgd1995-03-211-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+418