]> granicus.if.org Git - nethack/commit
bones tracking (trunk only)
authornethack.rankin <nethack.rankin>
Mon, 23 Jan 2012 10:45:31 +0000 (10:45 +0000)
committernethack.rankin <nethack.rankin>
Mon, 23 Jan 2012 10:45:31 +0000 (10:45 +0000)
commit97214706350cfbf3ba58fb290e03bf04a49a5ba7
tree8e0e8165f9b830a066946a36a7c588df20c9be81
parentb88c51deae5e8e12b5a352f7f16906cefeb0e6db
bones tracking (trunk only)

[See cvs log for include/rm.h or doc/window.doc for more complete description.]

Attach hero info, death reason, and date+time to a level that's being saved
as bones.  Read such data back when loading a bones file, then treat it as
part of that level for the rest of the game.  Dying on a loaded bones file
will chain the new hero+death+date to previous one(s) if new bones get saved.

outrip() now takes an extra argument of type time_t, and interface-specific
implementations of this routine need to be updated to handle that.
15 files changed:
include/extern.h
include/patchlevel.h
include/winprocs.h
include/wintty.h
src/bones.c
src/end.c
src/mklev.c
src/restore.c
src/rip.c
src/save.c
src/topten.c
src/windows.c
win/chain/wc_chainin.c
win/chain/wc_chainout.c
win/chain/wc_trace.c