This code is a forward-port of the Crowther/Woods Adventure 2.5 from 1995, last version in the main line of Colossal Cave Adventure development written by Crowther and Woods. The authors have given permission and encouragement to this release.
To enable use with online Bulletin Board Systems (BBSes) where users may be disconnected unexpectedly, but would naturally want to resume playing their same game, added support for an optional save game path/filename to be specified on the command-line (very similar to "-r <filename>"), except this save/restore file is: 1. automatically loaded/restored if it exists 2. automatically created when starting a new game 3. automatically updated when exiting a game for any reason 4. cannot be changed to a different path/filename by the user Since a BBS server program can be expected to send a SIGHUP or SIGTERM to the game process upon user disconnection (or timeout), those signals are caught and a graceful termination will occur which saves the current game state. Build with ADVENT_AUTOSAVE defined to enable this option. BUG: The 'info' command still reports the save/suspend/pause commands as valid, though they are not when this build option is used (same is true of ADVENT_NOSAVE, and that doesn't apparently bother anyone). |
||
---|---|---|
templates | ||
tests | ||
.gitignore | ||
.gitlab-ci.yml | ||
.shipper | ||
actions.c | ||
advent.adoc | ||
advent.desktop | ||
advent.h | ||
advent.svg | ||
adventure.yaml | ||
cheat.c | ||
control | ||
COPYING | ||
Dockerfile.ci | ||
hints.adoc | ||
history.adoc | ||
init.c | ||
INSTALL.adoc | ||
lamp.png | ||
main.c | ||
make_dungeon.py | ||
make_graph.py | ||
Makefile | ||
misc.c | ||
NEWS | ||
notes.adoc | ||
README.adoc | ||
saveresume.c | ||
score.c |
= README for Open Adventure = If you are reading this anywhere but at http://www.catb.org/~esr/open-adventure you can go there for tarball downloads and other resources. This code is a forward-port of the Crowther/Woods Adventure 2.5 from 1995, last version in the main line of Colossal Cave Adventure development written by the original authors. The authors have given permission and encouragement for this release; it obsolesces all the 350-point versions and previous 2.x (430-point) ports. The file history.adoc contains a more detailed history of this game and its ancestors. The file notes.adoc is the maintainer's notes, describing project goals and recent changes. This project is called "Open Adventure" because it's not at all clear how to number Adventure past 2.5 without misleading or causing collisions or both. See the history file for discussion. The original 6-character name on the PDP-10 has been reverted to for the executable in order to avoid a collision with the BSD games port of the ancestral 1977 version. Please see INSTALL.adoc for build info. Extreme care has been taken to not silently change gameplay. By policy, all user-visible changes from 2.5 that are not bugs or typos are revertible with the -o (oldstyle) command-line option. If you encounter a bug (not likely; this code is old and well tested) please try to make a test log that reproduces it, using the -l option, and ship it to the maintainers. If you find this code useful or amusing, please https://www.patreon.com/esr[support me on Patreon.] // end