summaryrefslogtreecommitdiffstats
path: root/monop/houses.c
Commit message (Collapse)AuthorAgeFilesLines
* WARNS=5dholland2012-06-191-10/+7
|
* Fix the OpenBSD housing shortage code.dholland2008-02-241-43/+63
|
* Source files should be named *.c or *.h, not random other things.dholland2008-02-241-3/+3
| | | | | | | | Fold monop.ext (which was extern data decls) into monop.h and deck.h. Fold monop.def (which had definitions for the extern data) into monop.c. Fold brd.dat/mon.dat/prop.dat (which were array initializers for some of the data) into monop.c. Rearrange includes accordingly. No functional change.
* A first stab at supporting the housing shortage rules. From OpenBSD.dholland2008-02-231-9/+91
| | | (note: this is not fully correct - I will fix it when I finish merging)
* Don't increment booleans. From OpenBSDdholland2008-02-231-6/+6
|
* Don't use sprintf; use snprintf.dholland2008-02-191-5/+6
|
* Coverity CID 998: Possible NULL pointer deref. Actually this was a bugchristos2006-03-191-5/+6
| | | | where a house to be sold would be skipped. Change the sell loop to be like the buy side loop.
* Remove uses of __P.jsm2004-01-271-5/+5
|
* 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.
* Add use of `const' where appropriate to the games.jsm1999-09-081-4/+4
| | | | | | | | | 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). Some such changes were previously covered in PRs bin/6041, bin/6146, bin/6148, bin/6150, bin/6151, bin/6580, bin/6660, bin/7993, bin/7994, bin/8039, bin/8057 and bin/8093.
* Convert to something resembling KNF.simonb1999-08-211-36/+37
|
* WARNSifychristos1997-10-121-26/+40
|
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-4/+9
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+269