45 memset(this->name, 0,
sizeof(this->name));
59 #define NUM_MAX_OBJECT 255 60 #define NUM_MAX_VAR 255 62 void resetObjectTable();
63 int16 loadObject(
char *pObjectName);
64 void setupObject(byte objIdx, uint16 param1, uint16 param2, uint16 param3, uint16 param4);
65 void modifyObjectParam(byte objIdx, byte paramIdx, int16 newValue);
67 void addOverlay(uint16 objIdx, uint16 type);
68 int removeOverlay(uint16 objIdx, uint16 param);
69 void addGfxElement(int16 objIdx, int16 param, int16 type);
70 void removeGfxElement(int16 objIdx, int16 param, int16 type);
72 int16 getObjectParam(uint16 objIdx, uint16 paramIdx);
74 void addObjectParam(byte objIdx, byte paramIdx, int16 newValue);
75 void subObjectParam(byte objIdx, byte paramIdx, int16 newValue);
76 bool compareRanges(uint16 aStart, uint16 aEnd, uint16 bStart, uint16 bEnd);
77 uint16 compareObjectParamRanges(uint16 objIdx1, uint16 xAdd1, uint16 yAdd1, uint16 maskAdd1, uint16 objIdx2, uint16 xAdd2, uint16 yAdd2, uint16 maskAdd2);
78 uint16 compareObjectParam(byte objIdx, byte param1, int16 param2);
void clear()
Definition: object.h:39