Files
nethack/src
nethack.allison f55210be79 code change - oextra
move oattached and oname and other things that vary
the size of the obj structure into a separate
non-adjacent oextra structure, similar to what has
already been done for mextra. The obj structure
itself becomes a fixed size.

New macros:

#define ONAME(o)	((o)->oextra->oname)
#define OMID(o)		((o)->oextra->omid)
#define OMONST(o)	((o)->oextra->omonst)
#define OLONG(o)	((o)->oextra->olong)
#define OMAILCMD(o)	((o)->oextra->omailcmd)

#define has_oname(o)	((o)->oextra && ONAME(o))
#define has_omid(o)	((o)->oextra && OMID(o))
#define has_omonst(o)	((o)->oextra && OMONST(o))
#define has_olong(o)	((o)->oextra && OLONG(o))
#define has_omailcmd(o)	((o)->oextra && OMAILCMD(o))

changed macros:
has_name(mon) becomes has_mname(mon)  to correspond.

The CVS repository was tagged with
	NETHACK_PRE_OEXTRA
before commiting these, and
tagged with
	NETHACK_POST_OEXTRA
immediately after. The diff
between those two tags is this oextra patch.

The associated mail daemon changes to use an oextra
structure instead of a hidden command located in the
name after the terminating NUL, have not been tried
or tested.
2006-04-14 16:23:56 +00:00
..
2002-01-18 02:50:06 +00:00
2006-04-02 07:35:30 +00:00
2006-03-19 23:59:03 +00:00
2006-04-14 16:23:56 +00:00
2005-09-21 05:31:42 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2005-12-06 03:19:33 +00:00
2005-12-15 03:48:09 +00:00
2006-02-24 02:54:58 +00:00
2005-12-15 03:48:09 +00:00
2006-04-14 16:23:56 +00:00
2005-12-30 06:08:20 +00:00
2006-03-25 05:16:24 +00:00
2006-04-14 16:23:56 +00:00
2006-03-12 04:43:28 +00:00
2006-01-06 05:46:03 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2005-06-23 03:48:14 +00:00
2005-06-23 03:48:14 +00:00
2006-04-14 16:23:56 +00:00
2006-03-08 23:08:25 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2005-03-25 18:00:00 +00:00
2006-03-12 04:43:28 +00:00
2006-04-06 05:57:50 +00:00
2006-03-12 04:43:28 +00:00
2006-03-09 05:39:38 +00:00
2006-04-14 16:23:56 +00:00
2006-03-09 05:39:38 +00:00
2006-04-14 16:23:56 +00:00
2005-12-31 06:19:04 +00:00
2006-03-12 04:43:28 +00:00
2006-03-12 04:43:28 +00:00
2006-04-14 16:23:56 +00:00
2006-04-06 05:57:50 +00:00
2006-04-13 07:10:48 +00:00
2006-04-14 16:23:56 +00:00
2005-12-15 04:52:43 +00:00
2006-02-23 05:10:21 +00:00
2006-04-14 16:23:56 +00:00
2005-11-26 02:34:23 +00:00
2005-06-18 04:38:50 +00:00
2006-03-12 04:43:28 +00:00
2006-02-19 21:57:54 +00:00
2006-02-09 03:26:59 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2005-01-23 19:59:21 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2006-01-06 05:46:03 +00:00
2006-04-14 15:26:45 +00:00
2005-12-15 07:07:25 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2006-04-14 16:23:56 +00:00
2005-11-06 06:10:32 +00:00
2006-03-30 05:52:28 +00:00
2006-04-14 16:23:56 +00:00
2005-10-06 03:45:20 +00:00
2005-07-17 05:00:25 +00:00
2005-04-09 03:23:17 +00:00
2006-04-14 16:23:56 +00:00