Files
nethack/include
nethack.allison e1aa6d5148 GOLDOBJ compat (main trunk only)
This patch gives game and savefile compatibility
whether GOLDOBJ is defined or not.

You can build with GOLDOBJ defined or not, and
still load your saved games. Rebuild with the
opposite, and load the same game.

That way GOLDOBJ can be experimented with
more easily.

1. Leave the "you" struct and the "monst"
   struct the same under the hood between
   GOLDOBJ and !GOLDOBJ.

2. Always write out gold as an
   object on the player and monster
   inventory chains.

On a restore of the savefile with GOLDOBJ
not defined,  take the gold objects out of
the inventory chains and put it into u.ugold
or mtmp->mgold as appropriate.

On a restore of the savefile with GOLDOBJ
defined, nothing special is done.
2003-04-11 22:32:08 +00:00
..
2002-01-18 02:50:06 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-02-14 01:06:08 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-01-04 17:37:09 +00:00
2003-02-20 00:36:14 +00:00
2002-02-04 16:06:00 +00:00
2002-09-06 00:12:44 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-24 00:47:03 +00:00
2002-03-31 22:56:30 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2003-03-09 15:44:50 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2003-02-20 00:36:14 +00:00
2003-02-09 05:39:32 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:47 +00:00
2002-03-20 06:33:45 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-04-07 10:43:59 +00:00
2002-02-04 16:06:00 +00:00
2002-08-20 08:05:20 +00:00
2002-03-25 08:05:27 +00:00
2003-01-09 01:20:49 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-03-09 15:44:50 +00:00
2003-03-24 02:02:08 +00:00
2003-04-06 15:02:57 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2003-02-17 02:55:46 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:48 +00:00
2002-08-31 20:14:17 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-17 20:02:47 +00:00
2002-02-04 16:06:00 +00:00
2002-01-05 21:05:48 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-02 22:43:39 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-02-21 01:51:54 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-01-09 09:18:14 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2002-03-17 20:02:47 +00:00
2002-02-04 16:06:00 +00:00
2002-02-04 16:06:00 +00:00
2003-04-11 22:32:08 +00:00
2002-02-04 16:06:00 +00:00