Rewrite save/resume in idiomatic C. Savefile version bumped to 26.

This commit is contained in:
Eric S. Raymond 2017-06-10 07:13:23 -04:00
parent 3af993abca
commit 9e8e0893dc
5 changed files with 73 additions and 188 deletions

View file

@ -173,6 +173,13 @@ The adventure.text file is no longer required at runtime. Instead, it
is compiled at build time to a source module containing C structures,
which is then linked to the advent binary.
The game-save format has changed. This was done to simplify
FORTRAN-derived code that formerly implemented these functions;
without C's fread(3)/fwrite() and structs it was necessarily pretty
ugly by modern stabdards. Encryption and checksumming have been
discarded - it's pointless to try tamper-prooing saves when everyone
has the source code.
== Sources ==
[bibliography]