dumplog's saved_plines[]
commitf55da584f40912df120ce3cfe6aae2acf11e6b81
authorPatR <rankin@nethack.org>
Mon, 27 Feb 2017 10:54:14 +0000 (27 02:54 -0800)
committerPatR <rankin@nethack.org>
Mon, 27 Feb 2017 10:54:14 +0000 (27 02:54 -0800)
treed8cd53ad87fe7c0a9631b6365c0288dfdb4d80a4
parent92c5a56364646ad206c72980557e9931f1f701ea
dumplog's saved_plines[]

Use a simple ring buffer instead of a flat array that needed to have
49 pointers shifted down a slot every time a pline message was issued.

'saved_plines[saved_pline_index]' is the oldest message in the buffer
and the next slot to use when adding a new one.
src/end.c
src/pline.c