]> granicus.if.org Git - nethack/commit
tribute enhancement
authorPatR <rankin@nethack.org>
Mon, 16 Nov 2015 05:57:15 +0000 (21:57 -0800)
committerPatR <rankin@nethack.org>
Mon, 16 Nov 2015 05:57:15 +0000 (21:57 -0800)
commitc40982eb239e0a42b088334c5ba2f9fe50190402
tree3f23fae28ae1d5a997a07c3399054570387ae346
parent334cfd8a97d20456b4962cb055822d5feb568c8d
tribute enhancement

When reading a novel, select a random passage which hasn't been shown
already.  Once you've run through all the passages, it resets to get
them all again (with new random order that might happen to the be same
order if there aren't many passages).  Switching to a different novel--
even another copy of the same one--will cause the previous passage
selection to be discarded and restarted from scratch if the prior book
is read again.  Passage tracking for the most recently read novel is
kept across save and restore.  (That means I needed to bump EDITLEVEL,
so it will need to be reset to 0 again before release.)
include/context.h
include/extern.h
include/patchlevel.h
src/files.c
src/spell.c