summaryrefslogtreecommitdiffstats
path: root/adventure/crc.c
Commit message (Collapse)AuthorAgeFilesLines
* Get all the games compiling for iOSCameron Katri2021-02-221-0/+2
|
* Oops, I forgot to actually implement the checksumming code for the newdholland2012-01-081-22/+31
| | | | savefile format, so any savefiles generated yesterday can be tampered with. Oh well. While here, tidy up the crc code.
* Make this not crash on machines that are (a) 64 bit, or (b) have signeddholland2012-01-071-9/+4
| | | | | | | chars by default (i.e., almost all machines). Makes it possible to save the game. This has been broken since 4.4 and probably ever since the FORTRAN -> C translation. Crash reported by Petri Laakso in private mail.
* ANSIfy a leftover function.dholland2009-08-251-3/+9
| | | | Also note some unportable code with a comment. Can't change it because it'd break save files, though.
* sprinkle staticdholland2009-08-121-5/+5
|
* KNF and WARNS=3jmc2005-07-011-5/+4
|
* 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.
* The patch below does some minor cleanup of adventure(6): an additionalhubertf1999-02-101-4/+4
| | | | | | | | | | | use of const I missed in bin/6041; avoiding a signed/unsigned warning; marking an unused parameter as such; revoking setgid privileges (including the saved gid) rather than setuid ones; includes and function prototypes in setup.c; the string passed to err() should not end with a `.'. Together with the patch sent concerning adventure's EOF handling, this synchronises adventure(6) in NetBSD with the Linux port of the NetBSD games. Via PR 6557 by Joseph Myers <jsm28@cam.ac.uk>
* constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>hubertf1998-09-131-4/+4
|
* KNFifylukem1997-10-111-66/+63
|
* deprecate register, fixup .Nm usagelukem1997-10-101-7/+8
|
* PR/3964: Eric Fischer: Remove dependencies to traditional cpp...christos1997-08-111-6/+8
| | | While I was there add WARNS?= too.
* clean up RCS idscgd1995-03-211-0/+6
|
* adventure(6), from 44litejtc1994-10-211-0/+134