summaryrefslogtreecommitdiffstats
path: root/monop/deck.h
Commit message (Collapse)AuthorAgeFilesLines
* Abolish the initdeck program and the weird little binary file it generates.dholland2008-02-241-2/+5
| | | | | | | | The card deck data is now compiled in. (And it always should have been, even back when memory usage counted. It's small.) This changes the save format slightly. (I am riding the previous breakage an hour ago and not providing compat. There should be no further breakage.)
* Source files should be named *.c or *.h, not random other things.dholland2008-02-241-1/+8
| | | | | | | | 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.
* Rename ->last_card to ->top_card to match OpenBSD (and also to makedholland2008-02-231-2/+2
| | | somewhat more sense...)
* 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.
* Convert to something resembling KNF.simonb1999-08-211-4/+4
|
* Instead of writing out a structure that contains pointers as the headersimonb1999-08-211-2/+4
| | | | | | of the card decks file, just write out the number of cards for each deck. Also use "off_t" for offsets into the file (that are stored after the number of cards) instead of "long". /usr/share/games/cards.pck is now MI.
* merge with Lite, new RCS id conventions, etc.cgd1995-03-231-4/+5
|
* Add RCS identifiers.mycroft1993-08-011-1/+2
|
* initial import of 386bsd-0.1 sourcescgd1993-03-211-0/+48