22 #ifndef DARKSEED_OBJECTS_H 23 #define DARKSEED_OBJECTS_H 25 #include "common/array.h" 26 #include "common/error.h" 27 #include "common/rect.h" 28 #include "common/serializer.h" 44 static constexpr
int MAX_MOVED_OBJECTS = 42;
45 static constexpr
int MAX_OBJECTS = 199;
51 void setVar(uint16 varIdx, int16 newValue);
52 int16 getVar(uint16 varIdx);
54 int16 getObjectRunningCode(
int idx);
55 void setObjectRunningCode(
int idx, int16 value);
58 void setMoveObjectPosition(uint8 objIdx,
const Common::Point &newPoint);
59 void setMoveObjectX(uint8 objIdx, int16 xPos);
60 int getEyeDescriptionTosIdx(uint16 objNum);
62 int getMoveObjectRoom(uint16 idx);
63 void setMoveObjectRoom(uint16 idx, uint8 value);
65 const char *getObjectName(
int idx);
67 int16 &operator[](uint16 varIdx);
68 const int16 &operator[](uint16 varIdx)
const;
73 #endif // DARKSEED_OBJECTS_H
Definition: serializer.h:79
Definition: adlib_worx.h:27