early-roguelike/arogue5
John "Elwin" Edwards 7b0ec1230e 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.
2014-03-28 10:57:03 -07:00
..
acinclude.m4 arogue5: port to autoconf. 2013-08-31 09:18:07 -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: port to autoconf. 2013-08-31 09:18:07 -07:00
configure.ac arogue5: port to autoconf. 2013-08-31 09:18:07 -07:00
daemon.c arogue5: fix some daemon-related pointer/int casting. 2014-03-28 10:57:03 -07:00
daemons.c Rename daemon() to start_daemon(). 2013-09-07 08:08:00 -04: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
install-sh arogue5: port to autoconf. 2013-08-31 09:18:07 -07: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: port to autoconf. 2013-08-31 09:18:07 -07:00
main.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
Makefile.in Add config.h to the list of headers in the Makefiles. 2013-09-03 14:14:48 -07: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: use configure's checks to find term.h. 2013-09-07 09:43:06 -04:00
misc.c Rename daemon() to start_daemon(). 2013-09-07 08:08:00 -04: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: fix backspace key. 2013-08-28 08:37:56 -07: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 Rename daemon() to start_daemon(). 2013-09-07 08:08:00 -04:00
rip.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
rogue.c Don't truncate player name in savefile name or log message. 2014-03-23 21:27:14 -07:00
rogue.h arogue5: fix some daemon-related pointer/int casting. 2014-03-28 10:57:03 -07:00
rooms.c arogue5: add missing header files. 2012-08-11 17:19:03 +00:00
save.c Refuse to restore if the character is dead. 2013-08-09 09:34:07 -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 arogue5: fix some daemon-related pointer/int casting. 2014-03-28 10:57:03 -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 Rename daemon() to start_daemon(). 2013-09-07 08:08:00 -04: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