Early Roguelike Collection
Find a file
John "Elwin" Edwards e375c8bd05 Properly handle invalid room references in savefiles.
In all games, rs_write_room_reference() stored -1 for a nonexistent
room, but rs_read_room_reference() did not check for out-of-bounds
values, leading to pointers to rooms[-1], which sometimes caused
crashes.  rs_read_room_reference() has now been modified to use NULL
instead.

Some of the games required further changes to replace NULL with the
pointer to the actual room.  Others are capable of handling NULL for
objects not in any room.
2013-08-08 12:41:35 -07:00
arogue5 Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
rogue3 Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
rogue4 Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
rogue5 Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
srogue Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
README.txt Add a top-level README.txt. 2013-07-01 07:58:55 -07:00

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.

See the individual games' subdirectories for their documentation.

The games can be played via SSH or the Web at rlgallery.org.