summaryrefslogtreecommitdiff
path: root/games/backgammon/common_source
AgeCommit message (Collapse)Author
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22269, verified by myself.
2002-09-18some makefile de-lintinglukem
2001-12-12MKfoo=no -> NOfoo=tv
1999-10-04update after change to return value of tputs() third argumentlukem
1999-09-08Add `__noreturn__' and `__unused__' attributes where appropriate tojsm
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). Most noreturn attributes were previously added in bin/6144, with some others that were missed then in bin/8082. Previous `unused' attributes were covered in bin/6557, bin/8058 and other PRs (all these PRs have already been handled and closed).
1999-07-28This patch fixes a remaining relic of the backgammon(6) "executehubertf
saved game to continue playing" problem described in bin/6077. Patch contributed by Joseph Myers <jsm28@cam.ac.uk> in PR 8092.
1999-07-26This patch adds to backgammon(6) a couple of noreturn attributeshubertf
missed in bin/6144. Patch submitted in PR 8082 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-26This patch makes backgammon(6) check that, if you use the -s option tohubertf
recover a saved game, then you specify a file name. Patch submitted in PR 8081 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-26This adds a check for memory allocation failure to one place inhubertf
backgammon(6). The use of write(2) for the message may seem odd, but is used in another place in this game. (Actually, a lot of backgammon(6) could do with being substantially cleaned up.) Patch submitted in PR 8080 by Joseph Myers <jsm28@cam.ac.uk>
1999-03-13set MKLINT=no. noted by NAKAJIMA Yoshihiro <nakayosh@kcn.ne.jp>lukem
1999-02-13convert from NOxxx= to MKxxx=no.lukem
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-10tgetent() handles const correctly in currenthubertf
1999-02-10The patch below makes the game backgammon(6) use `const' wherehubertf
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).
1998-09-15Fix args processing of backgammon and teachgammon, closes pr 5345 byfrueauf
David Brownlee.
1998-09-13remove x bit from save files (PR#6077)hubertf
1998-09-13Remove unused function and mark non-returning ones(PR#6076, #6144 by Joseph ↵hubertf
Myers <jsm28@cam.ac.uk>)
1998-09-13Remove unused function (PR#6076 by Joseph Myers <jsm28@cam.ac.uk>)hubertf
1998-09-11fix typo, as per PR#5867hubertf
1998-08-29Use symbolic names for signals(!), open(2)-constants, ...hubertf
Fix applied as per PR 6058 by Joseph Myers <jsm28@cam.ac.uk>
1997-10-14define global vars with `extern' in "back.h", and only define once inlukem
init.c... backgammon works again...
1997-10-14use <termcap.h>lukem
1997-10-11common_source -> common, and GC some garbage variables.mycroft
1997-10-11Don't install this library, we only need this during the build.veego
1997-10-10KNF & WARNSify, and only compile common_source once/* (compiles 25% faster)lukem
1995-04-29Use POSIX tty semantics.mycroft
1995-04-24Various changes to make games compile w/o warnings on the alpha:cgd
Include appropriate includes, delete bogus function declarations, change sizes of variables and casts.
1995-03-21clean up importcgd
1993-08-01Add RCS identifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd