30 #ifndef MACVENTURE_WORLD_H 31 #define MACVENTURE_WORLD_H 33 #include "macventure/container.h" 34 #include "macventure/text.h" 39 typedef uint16 Attribute;
43 enum ObjectAttributeID {
44 kAttrParentObject = 0,
50 kAttrContainerOpen = 6,
61 kAttrHasDescription = 19,
63 kAttrIsContainer = 22,
65 kAttrIsEnterable = 24,
74 Attribute getAttr(ObjID objID, uint32 attrID);
75 void setAttr(uint32 attrID, ObjID objID, Attribute value);
77 void setGlobal(uint32 attrID, Attribute value);
81 const AttributeGroup *getGroup(uint32 groupID);
104 void setObjAttr(ObjID objID, uint32 attrID, Attribute value);
105 void setGlobal(uint32 attrID, Attribute value);
106 void updateObj(ObjID objID);
107 void captureChildren(ObjID objID);
108 void releaseChildren(ObjID objID);
110 uint32 getObjAttr(ObjID objID, uint32 attrID);
111 Attribute getGlobal(uint32 attrID);
114 bool isObjActive(ObjID objID);
116 ObjID getAncestor(ObjID objID);
124 bool isObjDraggable(ObjID objID);
127 void calculateObjectRelations();
128 void setParent(ObjID child, ObjID newParent);
Definition: macresman.h:125
Definition: savefile.h:54
Definition: container.h:48
Definition: macventure.h:185
Definition: container.h:38