comparison GUIWindow.h @ 151:9abdd40a107b

pCurrentScreen
author Ritor1
date Tue, 12 Feb 2013 15:28:08 +0600
parents bf7ea4c330b3
children f4ebd13c2a8e
comparison
equal deleted inserted replaced
150:d92c78ab54fe 151:9abdd40a107b
134 /* 296 */ 134 /* 296 */
135 enum UIMessageType 135 enum UIMessageType
136 { 136 {
137 UIMSG_00 = 0x0, 137 UIMSG_00 = 0x0,
138 UIMSG_ChangeGameState = 0x5, 138 UIMSG_ChangeGameState = 0x5,
139 UIMSG_A = 0xA,
140 UIMSG_C = 0xC,
141 UIMSG_E = 0xE,
142 UIMSG_F = 0xF,
139 UIMSG_11 = 0x11, 143 UIMSG_11 = 0x11,
144 UIMSG_17 = 0x17,
145 UIMSG_19 = 0x19,
146 UIMSG_1B = 0x1B,
147 UIMSG_1C = 0x1C,
140 UIMSG_PlayArcomage = 0x1D, 148 UIMSG_PlayArcomage = 0x1D,
149 UIMSG_33 = 0x33,
141 UIMSG_MainMenu_ShowPartyCreationWnd = 0x36, 150 UIMSG_MainMenu_ShowPartyCreationWnd = 0x36,
142 UIMSG_MainMenu_ShowLoadWindow = 0x37, 151 UIMSG_MainMenu_ShowLoadWindow = 0x37,
143 UIMSG_ShowCredits = 0x38, 152 UIMSG_ShowCredits = 0x38,
144 UIMSG_ExitToWindows = 0x39, 153 UIMSG_ExitToWindows = 0x39,
145 UIMSG_3A = 0x3A, 154 UIMSG_3A = 0x3A,
148 UIMSG_PlayerCreationClickMinus = 0x3F, 157 UIMSG_PlayerCreationClickMinus = 0x3F,
149 UIMSG_PlayerCreationSelectActiveSkill = 0x40, 158 UIMSG_PlayerCreationSelectActiveSkill = 0x40,
150 UIMSG_PlayerCreationSelectClass = 0x41, 159 UIMSG_PlayerCreationSelectClass = 0x41,
151 UIMSG_PlayerCreationClickOK = 0x42, 160 UIMSG_PlayerCreationClickOK = 0x42,
152 UIMSG_PlayerCreationClickReset = 0x43, 161 UIMSG_PlayerCreationClickReset = 0x43,
162 UIMSG_45 = 0x45,
163 UIMSG_46 = 0x46,
164 UIMSG_AutonotesBook = 0x47,
153 UIMSG_PlayerCreationRemoveUpSkill = 0x4A, 165 UIMSG_PlayerCreationRemoveUpSkill = 0x4A,
154 UIMSG_PlayerCreationRemoveDownSkill = 0x4B, 166 UIMSG_PlayerCreationRemoveDownSkill = 0x4B,
155 UIMSG_4B = 0x4B, 167 UIMSG_4E = 0x4E,
168 UIMSG_4F = 0x4F,
169 UIMSG_51 = 0x51,
156 UIMSG_LoadGame = 0x52, 170 UIMSG_LoadGame = 0x52,
157 UIMSG_SaveGame = 0x53, 171 UIMSG_SaveGame = 0x53,
172 UIMSG_54 = 0x54,
173 UIMSG_55 = 0x55,
174 UIMSG_56 = 0x56,
175 UIMSG_57 = 0x57,
176 UIMSG_58 = 0x58,
177 UIMSG_5A = 0x5A,
178 UIMSG_5B = 0x5B,
158 UIMSG_ShowStatus_DateTime = 0x5C, 179 UIMSG_ShowStatus_DateTime = 0x5C,
159 UIMSG_ShowStatus_ManaHP = 0x5D, 180 UIMSG_ShowStatus_ManaHP = 0x5D,
160 UIMSG_ShowStatus_Player = 0x5E, 181 UIMSG_ShowStatus_Player = 0x5E,
182 UIMSG_Wait5Minutes = 0x5F,
183 UIMSG_Wait1Hour = 0x60,
184 UIMSG_61 = 0x61,
161 UIMSG_ShowStatus_Food = 0x64, 185 UIMSG_ShowStatus_Food = 0x64,
162 UIMSG_ShowStatus_Funds = 0x65, 186 UIMSG_ShowStatus_Funds = 0x65,
187 UIMSG_68 = 0x68,
188 UIMSG_69 = 0x69,
163 UIMSG_QuickReference = 0x6A, 189 UIMSG_QuickReference = 0x6A,
164 UIMSG_6B = 0x6B, 190 UIMSG_6B = 0x6B,
191 UIMSG_AlreadyResting = 0x6D,
165 UIMSG_SelectCharacter = 0x6E, 192 UIMSG_SelectCharacter = 0x6E,
166 UIMSG_ChangeSoundVolume = 0x6F, 193 UIMSG_ChangeSoundVolume = 0x6F,
167 UIMSG_ChangeMusicVolume = 0x70, 194 UIMSG_ChangeMusicVolume = 0x70,
168 UIMSG_Escape = 0x71, 195 UIMSG_Escape = 0x71,
196 UIMSG_72 = 0x72,
197 UIMSG_73 = 0x73,
198 UIMSG_74 = 0x74,
199 UIMSG_75 = 0x75,
169 UIMSG_PlayerCreationSelectQuality = 0x76, 200 UIMSG_PlayerCreationSelectQuality = 0x76,
201 UIMSG_InventoryLeftClick = 0x78,
170 UIMSG_SkillUp = 0x79, 202 UIMSG_SkillUp = 0x79,
203 UIMSG_7A = 0x7A,
204 UIMSG_7B = 0x7B,
171 UIMSG_StartNewGame = 0x7C, 205 UIMSG_StartNewGame = 0x7C,
172 UIMSG_Game_OpenLoadGameDialog = 0x7D, 206 UIMSG_Game_OpenLoadGameDialog = 0x7D,
207 UIMSG_Game_OpenSaveGameDialog = 0x7E,
173 UIMSG_Game_OpenOptionsDialog = 0x7F, 208 UIMSG_Game_OpenOptionsDialog = 0x7F,
209 UIMSG_80 = 0x80,
174 UIMSG_SetGraphicsMode = 0x83, 210 UIMSG_SetGraphicsMode = 0x83,
175 UIMSG_Quit = 0x84, 211 UIMSG_Quit = 0x84,
212 UIMSG_85 = 0x85,
213 UIMSG_86 = 0x86,
214 UIMSG_87 = 0x87,
215 UIMSG_88 = 0x88,
216 UIMSG_8C = 0x8C,
217 UIMSG_8D = 0x8D,
218 UIMSG_8E = 0x8E,
219 UIMSG_8F = 0x8F,
176 UIMSG_PlayerCreationVoiceBack = 0x90, 220 UIMSG_PlayerCreationVoiceBack = 0x90,
177 UIMSG_PlayerCreationVoiceForward = 0x91, 221 UIMSG_PlayerCreationVoiceForward = 0x91,
222 UIMSG_92 = 0x92,
178 UIMSG_StartNPCDialogue = 0xA1, 223 UIMSG_StartNPCDialogue = 0xA1,
179 UIMSG_ArrowUp = 0xA2, 224 UIMSG_ArrowUp = 0xA2,
180 UIMSG_DownArrow = 0xA3, 225 UIMSG_DownArrow = 0xA3,
181 UIMSG_LoadSlot = 0xA4, 226 UIMSG_LoadSlot = 0xA4,
182 UIMSG_SelectLoadSlot = 0xA5, 227 UIMSG_SelectLoadSlot = 0xA5,
183 UIMSG_Cancel = 0xA6, 228 UIMSG_Cancel = 0xA6,
184 UIMSG_A7 = 0xA7, 229 UIMSG_ExitRest = 0xA7,
185 UIMSG_A8 = 0xA8, 230 UIMSG_A8 = 0xA8,
186 UIMSG_A9 = 0xA9, 231 UIMSG_A9 = 0xA9,
187 UIMSG_AA = 0xAA, 232 UIMSG_AA = 0xAA,
188 UIMSG_SelectFacePlayerBack = 0xAB, 233 UIMSG_SelectFacePlayerBack = 0xAB,
189 UIMSG_SelectFacePlayerForward = 0xAC, 234 UIMSG_SelectFacePlayerForward = 0xAC,
227 UIMSG_D2 = 0xD2, 272 UIMSG_D2 = 0xD2,
228 UIMSG_D3 = 0xD3, 273 UIMSG_D3 = 0xD3,
229 UIMSG_D4 = 0xD4, 274 UIMSG_D4 = 0xD4,
230 UIMSG_D5 = 0xD5, 275 UIMSG_D5 = 0xD5,
231 UIMSG_D6 = 0xD6, 276 UIMSG_D6 = 0xD6,
277 UIMSG_DD = 0xDD,
232 UIMSG_OpenHistoryBook = 0xE0, 278 UIMSG_OpenHistoryBook = 0xE0,
233 UIMSG_ToggleAlwaysRun = 0xE1, 279 UIMSG_ToggleAlwaysRun = 0xE1,
234 UIMSG_ToggleFlipOnExit = 0xE2, 280 UIMSG_ToggleFlipOnExit = 0xE2,
281 UIMSG_16F = 0x16F,
282 UIMSG_170 = 0x170,
283 UIMSG_194 = 0x194,
284 UIMSG_195 = 0x195,
235 UIMSG_OpenRestUI = 0x199, 285 UIMSG_OpenRestUI = 0x199,
286 UIMSG_19A = 0x19A,
287 UIMSG_19B = 0x19B,
288 UIMSG_19C = 0x19C,
236 UIMSG_OpenKeyMappingOptions = 0x19F, 289 UIMSG_OpenKeyMappingOptions = 0x19F,
290 UIMSG_1A0 = 0x1A0,
291 UIMSG_1A1 = 0x1A1,
237 UIMSG_ResetKeyMapping = 0x1A2, 292 UIMSG_ResetKeyMapping = 0x1A2,
293 UIMSG_1A3 = 0x1A3,
238 UIMSG_OpenVideoOptions = 0x1A5, 294 UIMSG_OpenVideoOptions = 0x1A5,
239 UIMSG_ToggleBloodsplats = 0x1A6, 295 UIMSG_ToggleBloodsplats = 0x1A6,
240 UIMSG_ToggleColoredLights = 0x1A7, 296 UIMSG_ToggleColoredLights = 0x1A7,
241 UIMSG_ToggleTint = 0x1A8, 297 UIMSG_ToggleTint = 0x1A8,
242 }; 298 UIMSG_1A9 = 0x1A9,
243 299 };
244 300
301 enum CURRENT_SCREEN
302 {
303 SCREEN_GAME = 0x0,
304 SCREEN_MENU = 0x1,
305 SCREEN_OPTIONS = 0x2,
306 SCREEN_BOOKS = 0x3,
307 SCREEN_NPC_DIALOGUE = 0x4,
308 SCREEN_REST = 0x5,
309 SCREEN_CHARACTERS = 0x7,
310 SCREEN_SPELL_BOOK = 0x8,
311 SCREEN_CREATORS = 0x9,
312 SCREEN_CHEST = 0xA,
313 SCREEN_SAVEGAME = 0xB,
314 SCREEN_LOADGAME = 0xC,
315 SCREEN_HOUSE = 0xD,
316 SCREEN_E = 0xE,
317 SCREEN_F = 0xF,
318 SCREEN_VIDEO = 0x10,
319 SCREEN_CHANGE_LOCATION = 0x11,
320 SCREEN_INPUT_BLV = 0x12,
321 SCREEN_BRANCHLESS_NPC_DIALOG = 0x13,
322 SCREEN_PARTY_CREATION = 0x15,
323 SCREEN_PRESS_ESCAPE_MESSAGE = 0x16,
324 SCREEN_CASTING = 0x17,
325 SCREEN_19 = 0x19,
326 SCREEN_KEYBOARD_OPTIONS = 0x1A,
327 SCREEN_1B = 0x1B,
328 SCREEN_VIDEO_OPTIONS = 0x1C,
329 SCREEN_63 = 0x63,
330 SCREEN_64 = 0x64,
331 SCREEN_67 = 0x67,
332 SCREEN_QUICK_REFERENCE = 0x68,
333 };
245 334
246 335
247 336
248 337
249 /* 249 */ 338 /* 249 */