22 #ifndef STARTREK_OBJECT_H 23 #define STARTREK_OBJECT_H 25 #include "startrek/common.h" 26 #include "startrek/fixedint.h" 27 #include "startrek/items.h" 28 #include "startrek/sprite.h" 30 #include "common/ptr.h" 31 #include "common/stream.h" 32 #include "common/memstream.h" 33 #include "common/scummsys.h" 49 const int ACTORS_START = 0;
50 const int SCALED_ACTORS_END = 8;
51 const int ACTORS_END = 32;
52 const int NUM_ACTORS = ACTORS_END - ACTORS_START;
54 const int HOTSPOTS_START = 32;
55 const int HOTSPOTS_END = 64;
56 const int NUM_HOTSPOTS = HOTSPOTS_END - HOTSPOTS_START;
58 const int ITEMS_START = 64;
59 const int ITEMS_END = ITEMS_START + NUM_ITEMS;
61 const int NUM_OBJECTS = ITEMS_END;
77 OBJECT_INVENTORY_ICON = 31
91 uint32 frameToStartNextAnim;
100 bool triggerActionWhenAnimFinished;
101 uint16 finishedAnimActionParam;
109 int16 iwDestPosition;
146 frameToStartNextAnim(0),
150 triggerActionWhenAnimFinished(
false),
151 finishedAnimActionParam(0),