summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source/back.h
Commit message (Collapse)AuthorAgeFilesLines
* speed limit 80dholland2020-12-061-3/+8
|
* buffnum is shared between subs.c and fancy.cjoerg2020-04-221-1/+3
|
* Pass the move info around instead of using it as a global.dholland2012-10-131-19/+18
|
* Crack down on global variables with single-letter names.dholland2012-10-131-10/+15
|
* Use __dead and __printflike instead of __attribute__.dholland2011-08-261-3/+3
|
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-221-2/+2
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* sprinkle staticdholland2009-08-121-11/+1
|
* KNF and WARNS=3 fixesjmc2005-07-011-4/+4
|
* Remove uses of __P.jsm2004-01-271-55/+55
|
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-071-6/+2
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* update after change to return value of tputs() third argumentlukem1999-10-041-2/+2
|
* This patch adds to backgammon(6) a couple of noreturn attributeshubertf1999-07-261-3/+3
| | | | | missed in bin/6144. Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-101-12/+11
| | | | | | | | | | | | | | appropriate. It also removes some obsolete, unused code to check the number of users on the system (obsoleted by dm); removes a prototype for an unused function that was removed earlier; and removes a control character from one message that was I think intended to clear the screen on some particular terminal (though I can't find the comment to that effect in any of the BSD source trees I have handy) but no longer serves any useful purpose. From PR 6580 by Joseph Myers <jsm28@cam.ac.uk>. Also contains two more patches, one in teachgammon/tutor.h (by Joseph) and one in common_source/fancy.c (by me).
* Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵hubertf1998-09-131-3/+2
| | | | Myers <jsm28@cam.ac.uk>)
* define global vars with `extern' in "back.h", and only define once inlukem1997-10-141-48/+48
| | | init.c... backgammon works again...
* use <termcap.h>lukem1997-10-141-1/+2
|
* KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem1997-10-101-3/+65
|
* Use POSIX tty semantics.mycroft1995-04-291-6/+3
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-1/+3
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up importcgd1995-03-211-4/+5
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+127