22 #ifndef ASYLUM_RESOURCES_WORLDSTATS_H 23 #define ASYLUM_RESOURCES_WORLDSTATS_H 25 #include "common/array.h" 26 #include "common/rect.h" 27 #include "common/serializer.h" 29 #include "asylum/system/sound.h" 33 #define ACTORS_MAX_COUNT 50 34 #define OBJECTS_MAX_COUNT 400 35 #define ACTIONS_MAX_COUNT 400 37 #define ACTORS_SIZE 2468 38 #define ACTORDATA_SIZE 1448 39 #define OBJECTS_SIZE 1704 40 #define ACTIONS_SIZE 180 48 enum CursorResourceType {
49 kCursorResourceScrollUp = 0,
50 kCursorResourceScrollUpLeft,
51 kCursorResourceScrollLeft,
52 kCursorResourceScrollDownLeft,
53 kCursorResourceScrollDown,
54 kCursorResourceScrollDownRight,
55 kCursorResourceScrollRight,
56 kCursorResourceScrollUpRight,
58 kCursorResourceMagnifyingGlass,
59 kCursorResourceTalkNPC,
60 kCursorResourceGrabPointer,
61 kCursorResourceTalkNPC2
82 ResourceId backgroundImage;
83 ResourceId cursorResources[13];
87 ResourceId currentPaletteId;
94 ResourceId encounterFrameBg;
101 int16 coordinates[7];
109 ResourceId graphicResourceIds[100];
110 ResourceId sceneTitleGraphicResourceId;
111 ResourceId sceneTitlePaletteResourceId;
113 ResourceId soundResourceIds[50];
115 uint32 numAmbientSounds;
117 int32 musicCurrentResourceIndex;
119 int32 musicResourceIndex;
120 int32 musicStatusExt;
126 ResourceId inventoryIconsActive[16];
127 ResourceId inventoryIconsNormal[16];
128 ResourceId inventoryCursorsNormal[16];
129 ResourceId inventoryCursorsBlinking[16];
136 int32 tickValueArray[30];
138 int32 field_E851C[30];
139 int32 field_E8594[30];
140 ActorIndex nextPlayer;
141 uint32 field_E8610[6];
142 uint32 field_E8628[6];
145 uint32 field_E8660[6];
148 void setWheelObjects();
150 int32 getActionAreaIndexById(int32
id);
151 int32 getRandomActionAreaIndexById(int32
id);
154 Object *getObjectById(ObjectId
id);
167 #endif // ASYLUM_RESOURCES_WORLDSTATS_H
Definition: serializer.h:79
Definition: worldstats.h:64
void load(Common::SeekableReadStream *stream)
Definition: serializer.h:308