Files
nethack/src
nethack.rankin 71219bf093 mimic statues & 2009 startup banner (trunk only)
A mimic posing as a statue was displayed as a tengu statue (and
recognizeable as such now that statues are displayed as the corresponding
monster rather than rock-class back tick), but the lookat code described
it as a giant ant statue (since there was no obj->corpsenm available to
indicate the monster type, it defaulted to 0).  This adds monst->mextra
field `mcorpsenm' so that mimics have a place to remember what sort of
statue or corpse they are mimicking.  And it picks a random monster type
when they take such forms so that the old tengu hack becomes irrelevant.

     newmextra() and newoextra() initialized pointers via memset(...,0)
which is not portable; switch to explicit assignments.  The wizard mode
code to display memory used for monsters and objects added in amounts
for the miscellaneous things pointed to by monst->mextra and obj->oextra
structs but didn't include memory for those structs themselves; add it.
Simplify monster save/restore slightly; there's no need for extra zeroes
to represent monst->mextra->X sizes when monst->mextra is null.

     Update the startup banner for 2009.  I should have done this with a
separate patch but I'm taking a shortcut.  :-]
2009-01-31 08:03:41 +00:00
..
2002-01-18 02:50:06 +00:00
2006-07-08 03:22:40 +00:00
2008-10-20 04:07:40 +00:00
2008-12-30 21:45:41 +00:00
2008-02-20 01:26:13 +00:00
2008-02-20 00:27:56 +00:00
2008-07-21 00:03:41 +00:00
2007-11-25 23:03:47 +00:00
2008-01-23 03:32:09 +00:00
2008-11-24 23:35:33 +00:00
2008-04-18 17:37:33 +00:00
2008-08-28 22:48:58 +00:00
2007-07-08 23:51:17 +00:00
2008-01-25 16:47:50 +00:00
2008-02-20 00:27:56 +00:00
2009-01-24 01:44:29 +00:00
2008-03-08 03:45:26 +00:00
2007-12-20 23:02:47 +00:00
2007-12-20 23:02:47 +00:00
2008-03-01 08:10:53 +00:00
2008-02-20 00:27:56 +00:00
2007-12-01 21:07:23 +00:00
2008-01-25 16:58:48 +00:00
2007-07-16 06:44:57 +00:00
2007-07-09 00:53:59 +00:00
2009-01-24 01:44:29 +00:00
2009-01-24 01:44:29 +00:00
2007-03-06 03:00:05 +00:00
2009-01-05 00:35:39 +00:00
2006-09-21 15:03:48 +00:00
2008-02-20 00:27:56 +00:00
2006-12-01 07:38:18 +00:00
2008-10-19 22:54:01 +00:00
2007-05-29 02:51:47 +00:00
2006-12-15 02:36:58 +00:00
2006-12-15 02:36:58 +00:00
2009-01-24 01:44:29 +00:00
2008-02-20 00:27:56 +00:00
2007-12-20 23:02:47 +00:00
2006-12-12 04:52:39 +00:00
2007-11-25 23:03:47 +00:00
2009-01-24 01:44:29 +00:00
2007-06-02 23:18:56 +00:00
2009-01-24 01:44:29 +00:00
2008-03-18 23:11:28 +00:00
2008-09-04 20:21:06 +00:00
2008-10-20 04:07:40 +00:00