dumplog fixes: genocide list, survivor's tombstone
commited300e5fa897ce702901cab43829bc3a8e99045d
authorPatR <rankin@nethack.org>
Mon, 6 Mar 2017 08:22:00 +0000 (6 00:22 -0800)
committerPatR <rankin@nethack.org>
Mon, 6 Mar 2017 08:22:00 +0000 (6 00:22 -0800)
tree25df94712a3a520bec37103f3ad35053159db61c
parent10706ef0952a2a853045091f9848523099e40105
dumplog fixes: genocide list, survivor's tombstone

The dumplog data was including a final tombstone unconditionally,
which looked awfully strange for characters who didn't die.  Make
it conditional, like actual end-of-game tombstone.  (One difference
though:  dumplog has a tombstone for hero who died from genocide,
end-of-game does not.  I think the latter should display one even
though no grave gets generated.)  [Potential for future enhancement:
add some alternate ascii art in place of tombstone for survivors.]

The list of genocided and/or extincted species was never shown
since caller passed 'a' to list_genocided() and it expected 'y'.
Also, once shown, the list entries were lacking indentation that
other sections of the dump generally have.

Both vanquished monsters and genocided/extinct monsters included
a blank line separator even when there was no feedback, making a
noticeable gap in the dumplog text.  Have them report "no creatures
vanquished" and "no species genocided", when applicable, so that
their separator lines always have something to separate.

When dumping, omit a couple of blank lines each from vanquished
creatures list, genocided species list, and tombstone so the
relevant sections of the dump are more compact.
doc/fixes36.1
src/end.c
src/rip.c