dumplog message history groundwork
commit278b6d52ebbf475cae41a892fd5c66f95fc5d610
authorPatR <rankin@nethack.org>
Sat, 11 Mar 2017 00:41:49 +0000 (10 16:41 -0800)
committerPatR <rankin@nethack.org>
Sat, 11 Mar 2017 00:41:49 +0000 (10 16:41 -0800)
tree05c979c73415f868644df5c6cb163aa1cf5e9e07
parent9623154bbcc6d0f3e5565034a610adbd9e6a04d9
dumplog message history groundwork

Separate the message logging out of pline so that other things (for
instance, one-line summary for quest block messages) can be logged.
The code that utilizes this isn't ready for prime time yet.

For FREE_ALL_MEMORY, release DUMPLOG message history when saving.
(Actually, this frees it unconditionally rather just doing so for
FREE_ALL_MEMORY.)  It was being freed when logged at end of game,
but not during save.  If dumplog message history and interface
message history get integrated, the existing message history
save/restore handling should become applicable instead.
include/extern.h
src/pline.c
src/save.c