early-roguelike/srogue
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 srogue: begin porting to autoconf. 2013-09-01 20:50:52 -07:00
armor.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
bob.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
bsdtty.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
chase.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
command.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
configure.ac Generate text documentation from the troff source files. 2016-02-21 20:47:12 -05:00
cx.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
daemon.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
daemons.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
disply.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
encumb.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
fight.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
global.c srogue: open the score and log files when the program starts. 2015-08-01 15:12:11 -04:00
init.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
io.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
LICENSE.TXT Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
list.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
main.c Super-Rogue: begin fixing restore failures on Windows. 2016-03-03 21:30:38 -05:00
Makefile.in Makefile fixes related to installation. 2016-02-26 17:30:30 -05:00
makevers.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
mdport.c srogue: clean up configuration in mdport.c. 2015-08-03 17:16:42 -04:00
misc.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
monsters.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
move.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
ncx.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
new_leve.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
newterm.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
options.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
pack.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
passages.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
potions.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
pstats.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
rdk.h Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rgdata.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rings.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
rip.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
rogue.ext Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
rogue.h srogue: provide type definitions if needed. 2015-08-03 21:29:16 -04:00
rogue.nr Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
rooms.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
save.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
scrolls.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
srogue.vcxproj Update the Visual Studio project files. 2015-08-18 13:23:56 -04:00
srogue.vcxproj.filters Update the Visual Studio project files. 2015-08-18 13:23:56 -04:00
state.c Rogue V4, V5: disable a cheat granting permanent monster detection. 2016-03-05 12:10:20 -05:00
sticks.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
things.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
trader.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
vers.c Import Super-Rogue 9.0 from the Roguelike Restoration Project (r1490) 2010-11-25 12:21:41 +00:00
weapons.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
wizard.c Super-Rogue: convert to ANSI-style function declarations. 2016-01-31 13:45:07 -05:00
xcrypt.c srogue: more compatibility improvements. 2014-05-03 10:31:30 -07:00