summaryrefslogtreecommitdiffstats
path: root/backgammon/backgammon
Commit message (Collapse)AuthorAgeFilesLines
* games: remove trailing whitespace in *.c and *.hrillig2021-05-051-3/+3
|
* Use PREFIX nowCameron Katri2021-03-281-2/+2
|
* Get all the games compiling for iOSCameron Katri2021-02-221-1/+24
|
* - avoid multipling a boolean value, use &&.mrg2019-02-031-3/+3
|
* don't declare ospeed; it's in <termcap.h>dholland2014-03-221-3/+2
|
* Add strategic assertion, now passes -Wstrict-overflow.dholland2012-10-131-2/+10
|
* Remove ifdefs for V7 (as opposed to older) unix.dholland2012-10-131-6/+2
|
* Pass the move info around instead of using it as a global.dholland2012-10-133-33/+35
|
* Crack down on global variables with single-letter names.dholland2012-10-132-71/+75
|
* Add capfile(5) to describe the termcap format.roy2012-04-211-7/+7
| | | | | | Adjust various man pages and other documentation to point to capfile(5) instead of termcap(5). Remove getcap(3) as curses hasn't been building it for a long time. Punt wrterm.c as tset no longer uses it.
* rename text() to wrtext(), aligning it with most other output routines,mrg2010-03-222-11/+11
| | | | | and avoiding a compile error on powerpc64. XXX: this tries to make a ".text" symbol, which already exists...
* sprinkle staticdholland2009-08-124-21/+22
|
* looks as if "ospeed" here was meant to be extern.dholland2009-08-121-3/+3
|
* Remove the \n and tabs from the __COPYRIGHT() strings.lukem2008-07-211-4/+4
|
* Remove clause 3 and 4 from TNF licensesmartin2008-04-281-8/+1
|
* Pedanticism about time_t (not really a bug, but now it won't show up whendholland2008-01-311-3/+3
| | | audited.)
* convert __attribute__s to applicable cdefs.h macrosperry2007-12-151-3/+3
|
* Use standard AUTHORS section header. From YOMURA Masanori in private mailwiz2005-09-151-3/+3
| | | Sort sections if necessary. Use more/better markup.
* KNF and WARNS=3 fixesjmc2005-07-015-60/+50
|
* Cast last argument of execl to (char *).jsm2005-02-151-3/+4
| | | Reviewed by <hubertf>.
* Mark unused parameters, nonreturning functions and format functions injsm2004-02-081-3/+3
| | | the few cases not already marked.
* Remove uses of __P.jsm2004-01-272-20/+20
|
* Only score as a Gammon or a Backgammon if the opponent hasn't removedjsm2004-01-011-3/+3
| | | | | any pieces, not if the opponent has removed pieces but has had a piece knocked back to the bar afterwards. Fixes Debian bug 185101 from Konstantin Seiler <list@kseiler.de>.
* Move UCB-licensed code from 4-clause to 3-clause licence.agc2003-08-076-41/+17
| | | Patches provided by Joel Baker in PR 22269, verified by myself.
* Grammar and punctuation fixes, from jmc@openbsd.wiz2003-04-261-5/+5
|
* Lots of minor fixes resulting from reading these man pages in detail.wiz2002-09-261-6/+4
|
* Give initiali[sz]e all the "i"s it deserves.wiz2001-09-181-3/+3
|
* Whitespace and/or punctuation fixes.wiz2001-04-021-6/+6
|
* Use setgid(), not setregid().mycroft2000-05-081-3/+3
|
* Fix some uses of NULL as non-pointer and 0 for null pointer.jsm1999-09-171-3/+3
|
* Include <time.h> in various places in the games where time() or time_tjsm1999-09-091-2/+4
| | | are used.
* Adapt to change of "termcap.h".tron1999-08-141-3/+3
|
* This is a trivial fix to backgammon(6): '\a' is cleaner than '\007'.hubertf1999-07-281-3/+3
| | | Submitted in PR 8104 by Joseph Myers <jsm28@cam.ac.uk>
* As in previously sent patches: backgammon(6) does not need setgidhubertf1999-07-191-2/+5
| | | | | games privileges from dm, so should revoke them on startup. Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
* Fix scoring, submitted in PR 7992 by Joseph Myers <jsm28@cam.ac.uk>hubertf1999-07-141-8/+7
|
* The patch below makes the game backgammon(6) use `const' wherehubertf1999-02-103-64/+32
| | | | | | | | | | | | | | 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).
* Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf1998-09-151-3/+3
| | | David Brownlee.
* Saved games can NOT be restored by executing the save file (PR#6077)hubertf1998-09-131-3/+1
|
* Use symbolic names for signals(!), open(2)-constants, ...hubertf1998-08-291-4/+4
| | | Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
* - really make extern char's extern.mrg1998-03-291-4/+4
|
* KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem1997-10-108-776/+798
|
* Back out the .PATH.c changes. The .depend problem (and others)gwr1997-05-081-2/+2
| | | will be fixed using the new .NOPATH make feature instead.
* Use .PATH.c: ...gwr1997-05-061-2/+2
|
* /etc/termcap -> /usr/share/misc/termcap. Fixes misc/1401.mikel1996-11-121-5/+6
|
* Use POSIX tty semantics.mycroft1995-04-293-27/+25
|
* Various changes to make games compile w/o warnings on the alpha:cgd1995-04-241-3/+3
| | | | Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
* clean up importcgd1995-03-217-23/+50
|
* from Litecgd1995-03-211-6/+6
|
* specify man pages the new way.cgd1994-12-221-2/+2
|
* need -lcompatcgd1994-05-231-3/+3
|