Commit graph

209 commits

Author SHA1 Message Date
Eric S. Raymond
5e2ca9a0e4 Don't use a magic number when we can use sizeof(). 2017-05-22 20:33:23 -04:00
Eric S. Raymond
ef24a63ced Prototypization. 2017-05-22 18:47:39 -04:00
Eric S. Raymond
5286f6b3bd Correct long-size bug that resulted in checksum error.
Idea thanks tp Max Ninneman.
2017-05-22 09:30:51 -04:00
Eric S. Raymond
18767d52dd Fix up case on all comments to make them more readable. No code changes.
The all-capsing was a FORTRAN remnant.Also, we change a few FORTRANisms
so they are less confusing in this C context; ".TRUE." and ".FALSE." become
"true" and "false", "MOD" is mapped to % in places tha t are like C expressions
and (usually) "modulo" in places that aren't.
2017-05-21 13:12:24 -04:00
Eric S. Raymond
d93746d078 More ANSI prototype conversions. 2017-05-19 01:28:38 -04:00
Eric S. Raymond
17ad4891ee More boolification.
Constants and formals have been converted, but not globals yet.
2017-05-18 17:28:18 -04:00
Eric S. Raymond
23f2dbe814 Replace fDATIME with ANSI/POSIX clock_gettime(). Rip out DOS/AMIGA shims.
The thinking here is that we simplify life by going pure ANSI/POSIX.
This is a text game.  If it ever runs on anything but Unix again it's
almost certain to be on something like WSL that supplies a
POSIX-conformant text console.
2017-05-18 17:18:16 -04:00
Eric S. Raymond
c9e9b64575 Partially ANSIfy C, fix compiler warnings. 2017-05-18 08:55:38 -04:00
Eric S. Raymond
24d7aeaf8a Don Wood's 430-point Adventure 2.5 from 1995, from rec.games.int-fiction. 2017-02-16 11:59:50 -05:00