add glob merging for obvious cases
flooreffects() covers most dropped/thrown/etc. cases, and the hooks in invent and mon handle "deathdrops" along with picking up items. still need to check putting into/removing from containers
This commit is contained in:
@@ -1212,6 +1212,9 @@ E void FDECL(obj_ice_effects, (int, int, BOOLEAN_P));
|
||||
E long FDECL(peek_at_iced_corpse_age, (struct obj *));
|
||||
E int FDECL(hornoplenty, (struct obj *,BOOLEAN_P));
|
||||
E void NDECL(obj_sanity_check);
|
||||
E struct obj* FDECL(obj_nexto, (struct obj*));
|
||||
E struct obj* FDECL(obj_nexto_xy, (int, int, int, int));
|
||||
E struct obj* FDECL(obj_meld, (struct obj**, struct obj**));
|
||||
|
||||
/* ### mkroom.c ### */
|
||||
|
||||
|
||||
@@ -94,7 +94,7 @@ struct obj {
|
||||
Bitfield(recharged,3); /* number of times it's been recharged */
|
||||
#define on_ice recharged /* corpse on ice */
|
||||
Bitfield(lamplit,1); /* a light-source -- can be lit */
|
||||
Bitfield(oglobby,1); /* globby; will combine with like types on adjacent squares */
|
||||
Bitfield(globby,1); /* globby; will combine with like types on adjacent squares */
|
||||
Bitfield(greased,1); /* covered with grease */
|
||||
Bitfield(nomerge,1); /* set temporarily to prevent merging */
|
||||
Bitfield(was_thrown,1); /* thrown by hero since last picked up */
|
||||
|
||||
Reference in New Issue
Block a user