22 #ifndef NEVERHOOD_GAMEVARS_H 23 #define NEVERHOOD_GAMEVARS_H 25 #include "common/array.h" 26 #include "common/savefile.h" 27 #include "neverhood/neverhood.h" 33 V_MODULE_NAME = 0x91080831,
34 V_CURRENT_SCENE = 0x108A4870,
35 V_CURRENT_SCENE_WHICH = 0x82C80875,
37 V_SMACKER_CAN_ABORT = 0x06C02850,
38 V_KEY3_LOCATION = 0x13382860,
39 V_TEXT_FLAG1 = 0x8440001F,
40 V_TEXT_INDEX = 0x01830201,
41 V_TEXT_COUNTING_INDEX1 = 0x29408F00,
42 V_TEXT_COUNTING_INDEX2 = 0x8A140C21,
43 V_TALK_COUNTING_INDEX = 0xA0808898,
44 V_FRUIT_COUNTING_INDEX = 0x40040831,
45 V_NOISY_SYMBOL_INDEX = 0x2414C2F2,
46 V_COLUMN_BACK_NAME = 0x4CE79018,
47 V_COLUMN_TEXT_NAME = 0xC8C28808,
48 V_CLICKED_COLUMN_INDEX = 0x48A68852,
49 V_CLICKED_COLUMN_ROW = 0x49C40058,
51 V_KLAYMEN_SMALL = 0x1860C990,
52 V_KLAYMEN_FRAMEINDEX = 0x18288913,
53 V_KLAYMEN_IS_DELTA_X = 0xC0418A02,
54 V_KLAYMEN_SAVED_X = 0x00D30138,
55 V_CAR_DELTA_X = 0x21E60190,
57 V_CRYSTAL_COLORS_INIT = 0xDE2EC914,
58 V_TV_JOKE_TOLD = 0x92603A79,
59 V_NOTES_DOOR_UNLOCKED = 0x0045D021,
60 V_WATER_RUNNING = 0x4E0BE910,
61 V_CREATURE_ANGRY = 0x0A310817,
62 V_BEEN_SHRINKING_ROOM = 0x1C1B8A9A,
63 V_BEEN_STATUE_ROOM = 0xCB45DE03,
64 V_MOUSE_PUZZLE_SOLVED = 0x70A1189C,
65 V_NOTES_PUZZLE_SOLVED = 0x86615030,
66 V_TILE_PUZZLE_SOLVED = 0x404290D5,
67 V_STAIRS_PUZZLE_SOLVED = 0xA9035F60,
68 V_CODE_SYMBOLS_SOLVED = 0x2C531AF8,
69 V_SPIKES_RETRACTED = 0x18890C91,
70 V_LARGE_DOOR_NUMBER = 0x9A500914,
71 V_LIGHTS_ON = 0x4D080E54,
72 V_SHRINK_LIGHTS_ON = 0x190A1D18,
73 V_STAIRS_DOWN_ONCE = 0x2050861A,
74 V_STAIRS_DOWN = 0x09221A62,
75 V_LADDER_DOWN = 0x0018CA22,
76 V_LADDER_DOWN_ACTION = 0x00188211,
77 V_WALL_BROKEN = 0x10938830,
78 V_BOLT_DOOR_OPEN = 0x01BA1A52,
79 V_BOLT_DOOR_UNLOCKED = 0x00040153,
80 V_SEEN_SYMBOLS_NO_LIGHT = 0x81890D14,
81 V_FELL_DOWN_HOLE = 0xE7498218,
82 V_DOOR_PASSED = 0x2090590C,
83 V_ENTRANCE_OPEN = 0xD0A14D10,
84 V_WINDOW_OPEN = 0x03C698DA,
85 V_DOOR_STATUS = 0x52371C95,
86 V_DOOR_BUSTED = 0xD217189D,
87 V_WORLDS_JOINED = 0x98109F12,
88 V_KEYDOOR_UNLOCKED = 0x80455A41,
89 V_MOUSE_SUCKED_IN = 0x01023818,
90 V_BALLOON_POPPED = 0xAC00C0D0,
91 V_TNT_DUMMY_BUILT = 0x000CF819,
92 V_TNT_DUMMY_FUSE_LIT = 0x20A0C516,
93 V_RADIO_ENABLED = 0x4DE80AC0,
94 V_SEEN_CREATURE_EXPLODE_VID = 0x2A02C07B,
95 V_CREATURE_EXPLODED = 0x0A18CA33,
96 V_UNUSED = 0x89C669AA,
98 V_RADIO_ROOM_LEFT_DOOR = 0x09880D40,
99 V_RADIO_ROOM_RIGHT_DOOR = 0x08180ABC,
100 V_CURR_RADIO_MUSIC_INDEX = 0x08CC0828,
101 V_GOOD_RADIO_MUSIC_INDEX = 0x88880915,
102 V_GOOD_RADIO_MUSIC_NAME = 0x89A82A15,
103 V_RADIO_MOVE_DISH_VIDEO = 0x28D8C940,
105 V_MATCH_STATUS = 0x0112090A,
107 V_FLYTRAP_RING_EATEN = 0x2B514304,
108 V_FLYTRAP_RING_DOOR = 0x8306F218,
109 V_FLYTRAP_RING_FENCE = 0x80101B1E,
110 V_FLYTRAP_RING_BRIDGE = 0x13206309,
111 V_FLYTRAP_POSITION_1 = 0x1B144052,
112 V_FLYTRAP_POSITION_2 = 0x86341E88,
114 V_NAVIGATION_INDEX = 0x4200189E,
116 V_CANNON_RAISED = 0x000809C2,
117 V_CANNON_TURNED = 0x9040018A,
118 V_ROBOT_HIT = 0x0C0288F4,
119 V_ROBOT_TARGET = 0x610210B7,
120 V_CANNON_SMACKER_NAME = 0xF0402B0A,
121 V_CANNON_TARGET_STATUS = 0x20580A86,
123 V_PROJECTOR_SLOT = 0x04A10F33,
124 V_PROJECTOR_LOCATION = 0x04A105B3,
125 V_PROJECTOR_ACTIVE = 0x12A10DB3,
127 V_TELEPORTER_CURR_LOCATION = 0x0152899A,
128 V_TELEPORTER_WHICH = 0x60826830,
129 V_TELEPORTER_DEST_AVAILABLE = 0x2C145A98,
131 V_HAS_NEEDLE = 0x31C63C51,
132 V_HAS_FINAL_KEY = 0xC0780812,
133 V_HAS_TEST_TUBE = 0x45080C38,
136 VA_IS_PUZZLE_INIT = 0x40050052,
137 VA_SMACKER_PLAYED = 0x00800410,
138 VA_CURR_CRYSTAL_COLORS = 0xE11A1929,
139 VA_GOOD_CRYSTAL_COLORS = 0xD4B2089C,
140 VA_GOOD_TEST_TUBES_LEVEL_1 = 0x0C601058,
141 VA_GOOD_TEST_TUBES_LEVEL_2 = 0x40005834,
142 VA_CURR_CANNON_SYMBOLS = 0x00000914,
143 VA_GOOD_CANNON_SYMBOLS_1 = 0x00504B86,
144 VA_GOOD_CANNON_SYMBOLS_2 = 0x0A4C0A9A,
145 VA_CURR_WATER_PIPES_LEVEL = 0x0800547C,
146 VA_GOOD_WATER_PIPES_LEVEL = 0x90405038,
147 VA_CURR_DICE_NUMBERS = 0x61084036,
148 VA_GOOD_DICE_NUMBERS = 0x7500993A,
149 VA_CURR_KEY_SLOT_NUMBERS = 0xA010B810,
150 VA_GOOD_KEY_SLOT_NUMBERS = 0x0C10A000,
151 VA_CUBE_POSITIONS = 0x484498D0,
152 VA_CODE_SYMBOLS = 0x04909A50,
153 VA_TILE_SYMBOLS = 0x0C65F80B,
154 VA_IS_TILE_MATCH = 0xCCE0280F,
155 VA_TNT_POSITIONS = 0x10055D14,
156 VA_DICE_MEMORY_SYMBOLS = 0x13100631,
157 VA_HAS_TAPE = 0x02038314,
158 VA_IS_TAPE_INSERTED = 0x02720344,
159 VA_HAS_KEY = 0x0090EA95,
160 VA_IS_KEY_INSERTED = 0x08D0AB11,
161 VA_LOCKS_DISABLED = 0x14800353,
168 int16 firstIndex, nextIndex;
179 uint32 getGlobalVar(uint32 nameHash);
180 void setGlobalVar(uint32 nameHash, uint32 value);
181 uint32 getSubVar(uint32 nameHash, uint32 subNameHash);
182 void setSubVar(uint32 nameHash, uint32 subNameHash, uint32 value);
186 int16 addVar(uint32 nameHash, uint32 value);
187 int16 findSubVarIndex(int16 varIndex, uint32 subNameHash);
188 int16 addSubVar(int16 varIndex, uint32 subNameHash, uint32 value);
189 int16 getSubVarIndex(int16 varIndex, uint32 subNameHash);
Definition: background.h:30
Definition: savefile.h:54
Definition: gamevars.h:165
Definition: gamevars.h:173