Mercurial > hg > early-roguelike
view README.txt @ 114:a5433ba4cabf
arogue5: fix some daemon-related pointer/int casting.
Daemons and fuses take a single argument, nominally an int but either
ignored or unsafely cast to a pointer. Its type has now been changed
to void*.
The save/restore code no longer tries to store this argument in the
savefile. For doctor(), this is not a problem, because player is the
only argument it is ever given as a daemon. However, alchemy() will
fail to do anything when passed NULL. Fixing this would be complicated
but possible.
Summary: the code is slightly safer, but alchemy jugs are guaranteed to
stop working after save and restore, instead of just extremely likely.
author | John "Elwin" Edwards |
---|---|
date | Fri, 28 Mar 2014 10:57:03 -0700 |
parents | c191a735f811 |
children | 65f3da34578a |
line wrap: on
line source
This is the source for the Roguelike Gallery's versions of Rogue and other early roguelike games. The code was obtained from the Roguelike Restoration Project (rogue.rogueforge.net). Modifications have been made mainly for compatibility with the dgamelaunch online play system. Some bugs have also been fixed, and the build process slightly improved. The essential flavor of a codebase half as old as stored-program computing machinery remains unchanged. To install on Unix: If you checked out the source from Mercurial, run 'autoreconf' first. Build by running './configure' and then 'make'. If you just want to play the game from your own user account, 'configure' won't need any options. The games will keep the high score lists in whatever directory you run them from. For a multi-user installation, you will need to set the '--enable-setgid', '--enable-savedir', '--enable-scorefile', and '--enable-logfile' options. Run 'make install' after building. There are other possible options; run './configure --help' for a full list. To install on Windows: Use the included Visual Studio solution files. Warning: they have not been tested recently. See the individual games' subdirectories for further documentation. Some of the manpages may be outdated, but the guides to playing should be accurate. The games can be played via SSH or the Web at rlgallery.org. Bugs: The original authors claimed that the list of bugs was "probably infinite". If you encounter one of these, please report it on the bug tracker at https://bitbucket.org/ElwinR/rl.