]> granicus.if.org Git - nethack/commit
more wizard/explore mode control (trunk only)
authornethack.rankin <nethack.rankin>
Fri, 16 Feb 2007 02:35:30 +0000 (02:35 +0000)
committernethack.rankin <nethack.rankin>
Fri, 16 Feb 2007 02:35:30 +0000 (02:35 +0000)
commit1659dd5634a170a71b22ab2d0df2fc45e75c81fd
tree500843630656ea662cec6c9f6ac26d0569e4803d
parent5c0a06d6b0c047b4050f379374e11ccbcf29cd17
more wizard/explore mode control (trunk only)

     Wizard mode or explore mode can be forced on (via -D or -X on the
command line, or now via OPTIONS=playmode:debug|explore) when restoring
a saved game; explore mode handling was confined to restgamestate(), but
wizard mode handling was replicated in every main().  Treat `wizard' the
same as `discover'.  Also, prevent a new game started when restore fails
from using the old game's option settings if partial restore attempt got
far enough to load the flags struct.  And update bemain.c and macmain.c
to catch up with the others modified by the playmode patch.
src/restore.c
sys/be/bemain.c
sys/mac/macmain.c
sys/share/pcmain.c
sys/unix/unixmain.c
sys/vms/vmsmain.c