]> granicus.if.org Git - nethack/commit
obj change to support some upcoming work
authornhmall <mjnh@persona.ca>
Sat, 21 Mar 2015 14:46:11 +0000 (10:46 -0400)
committernhmall <mjnh@persona.ca>
Sat, 21 Mar 2015 14:46:11 +0000 (10:46 -0400)
commite3eb74166fc238a55e8c1dcc0332155855b7ce92
tree5d653f8e0b9f4bb2922fcdd8b6a7af95e80719e0
parent6fcc030f37c07aacef9251ad62b2f91fecfe8f0c
obj change to support some upcoming work

This is an enabling patch for upcoming work. It breaks
save/bones so editlevel is incremented.

I'd like to a second overloadable int field in struct obj,
instead of just the one that is typically overloaded - corpsenm.

The second one can be used for things that are being tallied
up as opposed to a static one time assignment for reference/linkage
purposes.

The differentiation will allow both uses to co-exist for the
same object.
include/obj.h
include/patchlevel.h