early-roguelike/rogue4
John "Elwin" Edwards 6dfde944f0 Rogue V4, V5: disable a cheat granting permanent monster detection.
In these two games, a potion of monster detection turns on the player's
SEEMONST flag.  A fuse is set to call turn_see() to turn the flag back
off.  But the save and restore functions do not recognize turn_see() and
fail to set the fuse up again.

When restoring, Rogue V4 merely sets the fuse's function to NULL and
leaves it burning.  When it goes off, a segfault results.  Rogue V5
clears all the fuse's fields, and the player retains the ability to see
all monsters on the level.

The save and restore code can now handle the fuse.  The function used is
a new wrapper, turn_see_off(), which should lead to less problems with
daemons being multiple incompatible types.

Also, Rogue V4 and Super-Rogue now properly clear unrecognized daemon
and fuse slots when restoring a saved game.
2016-03-05 12:10:20 -05:00
..
acinclude.m4 rogue4: ported to autoconf. 2011-10-11 15:20:40 +00:00
armor.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
chase.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
command.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
configure.ac Generate text documentation from the troff source files. 2016-02-21 20:47:12 -05:00
daemon.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
daemons.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
extern.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
extern.h rogue4: add more function declarations. 2016-01-28 18:55:47 -05:00
fight.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
findpw.c Import Rogue 5.2 from the Roguelike Restoration Project (r1490) 2009-10-24 16:52:52 +00:00
init.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
INSTALL.txt Update some of the documentation. 2013-09-04 09:01:44 -07:00
io.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
LICENSE.TXT Import Rogue 5.2 from the Roguelike Restoration Project (r1490) 2009-10-24 16:52:52 +00:00
list.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
mach_dep.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
main.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
Makefile.in Makefile fixes related to installation. 2016-02-26 17:30:30 -05:00
mdport.c rogue4: add more function declarations. 2016-01-28 18:55:47 -05:00
misc.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
monsters.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
move.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
new_level.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
options.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
pack.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
passages.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
potions.c Rogue V4, V5: disable a cheat granting permanent monster detection. 2016-03-05 12:10:20 -05:00
prob.c Import Rogue 5.2 from the Roguelike Restoration Project (r1490) 2009-10-24 16:52:52 +00:00
rings.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
rip.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
rogue.6.in Generate text documentation from the troff source files. 2016-02-21 20:47:12 -05:00
rogue.h Rogue V4, V5: disable a cheat granting permanent monster detection. 2016-03-05 12:10:20 -05:00
rogue.me.in rogue4: ported to autoconf. 2011-10-11 15:20:40 +00:00
rogue4.vcxproj Update the Visual Studio project files. 2015-08-18 13:23:56 -04:00
rogue4.vcxproj.filters Update the Visual Studio project files. 2015-08-18 13:23:56 -04:00
rooms.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
save.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
scrolls.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
state.c Rogue V4, V5: disable a cheat granting permanent monster detection. 2016-03-05 12:10:20 -05:00
sticks.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
things.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
vers.c Import Rogue 5.2 from the Roguelike Restoration Project (r1490) 2009-10-24 16:52:52 +00:00
weapons.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
wizard.c rogue4: fix most GCC5 warnings. 2016-01-27 19:41:05 -05:00
xcrypt.c Import Rogue 5.2 from the Roguelike Restoration Project (r1490) 2009-10-24 16:52:52 +00:00
xstr.c Import Rogue 5.2 from the Roguelike Restoration Project (r1490) 2009-10-24 16:52:52 +00:00