early-roguelike/arogue5
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
..
arogue58.doc Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
arogue58.html Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
arogue58.sln Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
arogue58.vcproj Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
chase.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
command.c arogue5: fix player's typed responses getting put at the wrong place. 2012-09-08 22:05:05 -07:00
daemon.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
daemons.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
encumb.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
fight.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
init.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
io.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
LICENSE.TXT Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
list.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
mach_dep.h arogue5: compile out wizard mode by default. 2012-08-11 21:58:20 +00:00
main.c arogue5: avoid segfaulting if getpwuid() fails. 2012-08-11 23:45:34 +00:00
Makefile arogue5: change default program name and options. 2012-08-11 21:53:49 +00:00
maze.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
mdport.c arogue5: fix support for keypad 5. 2012-08-12 14:45:58 +00:00
misc.c arogue5: fix player's typed responses getting put at the wrong place. 2012-09-08 22:05:05 -07:00
monsters.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
move.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
network.h Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
new_level.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
options.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
outside.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
pack.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
passages.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
player.c arogue5: make some prayer-related messages appear properly. 2012-09-09 17:58:38 -07:00
potions.c arogue5: make some prayer-related messages appear properly. 2012-09-09 17:58:38 -07:00
rings.c arogue5: fix player's typed responses getting put at the wrong place. 2012-09-08 22:05:05 -07:00
rip.c arogue5: update the score list before prompting to exit. 2012-08-11 20:58:24 +00:00
rogue.c arogue5: fix the crash when checking prices in shops. 2012-09-05 10:14:34 -07:00
rogue.h arogue5: implement logging. 2012-08-10 21:17:14 +00:00
rooms.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
save.c arogue5: fix player's typed responses getting put at the wrong place. 2012-09-08 22:05:05 -07:00
scrolls.c arogue5: fix player's typed responses getting put at the wrong place. 2012-09-08 22:05:05 -07:00
state.c Properly handle invalid room references in savefiles. 2013-08-08 12:41:35 -07:00
sticks.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
things.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
trader.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
util.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
vers.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00
weapons.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
wear.c arogue5: fix player's typed responses getting put at the wrong place. 2012-09-08 22:05:05 -07:00
wizard.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
xcrypt.c Import Advanced Rogue 5.8 from the Roguelike Restoration Project (r1490) 2012-08-09 22:58:48 +00:00