30#ifndef MACVENTURE_WORLD_H
31#define MACVENTURE_WORLD_H
33#include "macventure/container.h"
34#include "macventure/text.h"
39typedef uint16 Attribute;
43enum 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);
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);
115 bool isObjDraggable(ObjID objID);
117 ObjID getAncestor(ObjID objID);
127 void calculateObjectRelations();
128 void setParent(ObjID child, ObjID newParent);
Definition: macresman.h:126
Definition: savefile.h:54
Definition: container.h:48
Definition: macventure.h:218