Mercurial > mm7
annotate GUIWindow.h @ 857:e4bd2a0bf08b
Слияние
author | Ritor1 |
---|---|
date | Sun, 31 Mar 2013 16:52:23 +0600 |
parents | dfd683c4f538 |
children | 10fa7dad1391 |
rev | line source |
---|---|
0 | 1 #pragma once |
816 | 2 #include "Items.h" |
3 #include "Player.h" | |
0 | 4 |
5 | |
6 | |
7 | |
8 | |
832 | 9 enum UIMessageType: unsigned __int32 |
10 { | |
11 UIMSG_0 = 0, | |
12 | |
13 UIMSG_ChangeGameState = 5, | |
14 | |
15 UIMSG_A = 10, | |
16 | |
17 UIMSG_C = 12, | |
18 | |
19 UIMSG_E = 14, | |
20 UIMSG_F = 15, | |
21 | |
22 UIMSG_11 = 17, | |
23 | |
24 UIMSG_Attack = 23, | |
25 | |
26 UIMSG_19 = 25, | |
27 | |
28 UIMSG_1B = 27, | |
29 UIMSG_1C = 28, | |
30 UIMSG_PlayArcomage = 29, | |
31 | |
32 UIMSG_31 = 49, | |
33 UIMSG_32 = 50, | |
34 UIMSG_33 = 51, | |
35 UIMSG_34 = 52, | |
36 UIMSG_35 = 53, | |
37 UIMSG_MainMenu_ShowPartyCreationWnd = 54, | |
38 UIMSG_MainMenu_ShowLoadWindow = 55, | |
39 UIMSG_ShowCredits = 56, | |
40 UIMSG_ExitToWindows = 57, | |
41 UIMSG_3A = 58, | |
42 | |
43 UIMSG_PlayerCreationChangeName = 60, | |
44 | |
45 UIMSG_PlayerCreationClickPlus = 62, | |
46 UIMSG_PlayerCreationClickMinus = 63, | |
47 UIMSG_PlayerCreationSelectActiveSkill = 64, | |
48 UIMSG_PlayerCreationSelectClass = 65, | |
49 UIMSG_PlayerCreationClickOK = 66, | |
50 UIMSG_PlayerCreationClickReset = 67, | |
51 UIMSG_44 = 68, | |
52 UIMSG_45 = 69, | |
53 UIMSG_46 = 70, | |
54 UIMSG_AutonotesBook = 71, | |
55 UIMSG_48 = 72, | |
56 UIMSG_49 = 73, | |
57 UIMSG_PlayerCreationRemoveUpSkill = 74, | |
58 UIMSG_PlayerCreationRemoveDownSkill = 75, | |
59 | |
60 UIMSG_4E = 78, | |
61 UIMSG_SPellbook_ShowHightlightedSpellInfo = 79, | |
62 | |
63 UIMSG_BuyInShop_Identify_Repair = 81, | |
64 UIMSG_LoadGame = 82, | |
65 UIMSG_SaveGame = 83, | |
66 UIMSG_54 = 84, | |
67 UIMSG_55 = 85, | |
68 UIMSG_SelectSpell = 86, | |
69 UIMSG_OpenSpellbookPage = 87, | |
70 UIMSG_58 = 88, | |
71 | |
72 UIMSG_OnTravelByFoot = 90, | |
73 UIMSG_5B = 91, | |
74 UIMSG_ShowStatus_DateTime = 92, | |
75 UIMSG_ShowStatus_ManaHP = 93, | |
76 UIMSG_ShowStatus_Player = 94, | |
77 UIMSG_Wait5Minutes = 95, | |
78 UIMSG_Wait1Hour = 96, | |
79 UIMSG_61 = 97, | |
80 | |
81 UIMSG_ShowStatus_Food = 100, | |
82 UIMSG_ShowStatus_Funds = 101, | |
83 | |
84 UIMSG_68 = 104, | |
85 UIMSG_69 = 105, | |
86 UIMSG_QuickReference = 106, | |
87 UIMSG_GameMenuButton = 107, | |
88 | |
89 UIMSG_AlreadyResting = 109, | |
90 UIMSG_SelectCharacter = 110, | |
91 UIMSG_ChangeSoundVolume = 111, | |
92 UIMSG_ChangeMusicVolume = 112, | |
93 UIMSG_Escape = 113, | |
94 UIMSG_72 = 114, | |
95 UIMSG_73 = 115, | |
96 UIMSG_74 = 116, | |
97 UIMSG_75 = 117, | |
98 UIMSG_PlayerCreation_SelectAttribute = 118, | |
99 | |
100 UIMSG_InventoryLeftClick = 120, | |
101 UIMSG_SkillUp = 121, | |
102 UIMSG_7A = 122, | |
103 UIMSG_GameMenu_ReturnToGame = 123, | |
104 UIMSG_StartNewGame = 124, | |
105 UIMSG_Game_OpenLoadGameDialog = 125, | |
106 UIMSG_Game_OpenSaveGameDialog = 126, | |
107 UIMSG_Game_OpenOptionsDialog = 127, | |
108 UIMSG_80 = 128, | |
109 | |
110 UIMSG_SetGraphicsMode = 131, | |
111 UIMSG_Quit = 132, | |
112 UIMSG_85 = 133, | |
113 UIMSG_StartHireling1Dialogue = 134, | |
114 UIMSG_StartHireling2Dialogue = 135, | |
115 UIMSG_SelectNPCDialogueOption = 136, | |
116 | |
117 UIMSG_8C = 140, | |
118 UIMSG_8D = 141, | |
119 UIMSG_CastSpellFromBook = 142, | |
120 UIMSG_8F = 143, | |
121 UIMSG_PlayerCreation_VoicePrev = 144, | |
122 UIMSG_PlayerCreation_VoiceNext = 145, | |
123 UIMSG_92 = 146, | |
124 | |
125 UIMSG_StartNPCDialogue = 161, | |
126 UIMSG_ArrowUp = 162, | |
127 UIMSG_DownArrow = 163, | |
128 UIMSG_LoadSlot = 164, | |
129 UIMSG_SelectLoadSlot = 165, | |
130 UIMSG_Cancel = 166, | |
131 UIMSG_ExitRest = 167, | |
132 UIMSG_A8 = 168, | |
133 UIMSG_A9 = 169, | |
134 UIMSG_AA = 170, | |
135 UIMSG_PlayerCreation_FacePrev = 171, | |
136 UIMSG_PlayerCreation_FaceNext = 172, | |
137 UIMSG_AD = 173, | |
138 UIMSG_AE = 174, | |
139 UIMSG_ClickNPCTopic = 175, | |
140 UIMSG_CycleCharacters = 176, | |
141 UIMSG_B1 = 177, | |
142 UIMSG_B2 = 178, | |
143 UIMSG_B3 = 179, | |
144 UIMSG_B4 = 180, | |
145 UIMSG_B5 = 181, | |
146 UIMSG_B6 = 182, | |
147 UIMSG_B7 = 183, | |
148 UIMSG_SetTurnSpeed = 184, | |
149 UIMSG_ToggleWalkSound = 185, | |
150 UIMSG_ChangeVoiceVolume = 186, | |
151 UIMSG_ToggleShowDamage = 187, | |
152 UIMSG_ScrollNPCPanel = 188, | |
153 UIMSG_BD = 189, | |
154 UIMSG_BE = 190, | |
155 UIMSG_BF = 191, | |
156 UIMSG_C0 = 192, | |
157 UIMSG_C1 = 192, | |
158 UIMSG_C2 = 192, | |
159 | |
160 UIMSG_OnCastTownPortal = 195, | |
161 UIMSG_C4 = 196, | |
162 UIMSG_ShowFinalWindow = 197, | |
163 UIMSG_C6 = 198, | |
164 UIMSG_C7 = 199, | |
165 UIMSG_OpenQuestBook = 200, | |
166 UIMSG_OpenAutonotes = 201, | |
167 UIMSG_OpenMapBook = 202, | |
168 UIMSG_OpenCalendar = 203, | |
169 UIMSG_CC = 204, | |
170 UIMSG_CD = 205, | |
171 UIMSG_CE = 206, | |
172 UIMSG_CF = 207, | |
173 UIMSG_D0 = 208, | |
174 UIMSG_D1 = 209, | |
175 UIMSG_D2 = 210, | |
176 UIMSG_D3 = 211, | |
177 UIMSG_D4 = 212, | |
178 UIMSG_D5 = 213, | |
179 UIMSG_D6 = 214, | |
180 | |
181 UIMSG_DD = 221, | |
182 | |
183 UIMSG_OpenHistoryBook = 224, | |
184 UIMSG_ToggleAlwaysRun = 225, | |
185 UIMSG_ToggleFlipOnExit = 226, | |
186 | |
187 UIMSG_16F = 367, | |
188 UIMSG_170 = 368, | |
189 | |
190 UIMSG_Game_Action = 404, | |
191 UIMSG_SelectShopDialogueOption = 405, | |
192 | |
193 UIMSG_OpenRestUI = 409, | |
194 UIMSG_19A = 410, | |
195 UIMSG_TransitionUI_Confirm = 411, | |
196 UIMSG_19C = 412, | |
197 | |
198 UIMSG_OpenKeyMappingOptions = 415, | |
199 UIMSG_SelectKeyPage1 = 416, | |
200 UIMSG_SelectKeyPage2 = 417, | |
201 UIMSG_ResetKeyMapping = 418, | |
202 UIMSG_ChangeKeyButton = 419, | |
203 | |
204 UIMSG_OpenVideoOptions = 421, | |
205 UIMSG_ToggleBloodsplats = 422, | |
206 UIMSG_ToggleColoredLights = 423, | |
207 UIMSG_ToggleTint = 424, | |
208 UIMSG_1A9 = 425, | |
209 }; | |
210 | |
211 | |
0 | 212 /* 251 */ |
213 enum MENU_STATE : __int32 | |
214 { | |
215 MENU_MAIN = 0x0, | |
216 MENU_NEWGAME = 0x1, | |
217 MENU_CREDITS = 0x2, | |
218 MENU_SAVELOAD = 0x3, | |
219 MENU_FINISHED = 0x4, | |
220 MENU_5 = 0x5, | |
221 MENU_CREATEPARTY = 0x6, | |
165 | 222 MENU_NAMEPANELESC = 0x7, |
223 MENU_CREDITSPROC = 0x8, | |
224 MENU_LOADINGPROC = 0x9, | |
0 | 225 MENU_10 = 0xA, |
165 | 226 MENU_CREDITSCLOSE = 0xB, |
0 | 227 }; |
228 | |
229 | |
167 | 230 enum DIALOGUE_TYPE |
231 { | |
248 | 232 DIALOGUE_9 = 9, |
179 | 233 DIALOGUE_13 = 0xD, |
234 DIALOGUE_18 = 0x12, | |
248 | 235 DIALOGUE_19 = 19, |
236 DIALOGUE_20 = 20, | |
237 DIALOGUE_21 = 21, | |
238 DIALOGUE_22 = 22, | |
239 DIALOGUE_23 = 23, | |
179 | 240 DIALOGUE_24 = 0x18, |
248 | 241 DIALOGUE_76 = 76, |
242 DIALOGUE_PROFESSION_DETAILS = 77, | |
179 | 243 DIALOGUE_ARENA_WELCOME = 0x59, |
244 DIALOGUE_ARENA_FIGHT_NOT_OVER_YET = 0x5A, | |
245 DIALOGUE_ARENA_REWARD = 0x5B, | |
246 DIALOGUE_ARENA_ALREADY_WON = 0x5C, | |
167 | 247 }; |
0 | 248 |
249 | |
250 | |
251 | |
252 | |
253 /* 298 */ | |
254 enum WindowType: unsigned __int32 | |
255 { | |
256 WINDOW_null = 0, | |
257 WINDOW_MainMenu = 0x1, | |
17 | 258 WINDOW_3 = 0x3, |
0 | 259 WINDOW_CharacterRecord = 0x4, |
260 WINDOW_Options = 0x6, | |
710 | 261 WINDOW_8 = 8, |
0 | 262 WINDOW_Book = 0x9, |
165 | 263 WINDOW_Dialogue = 0xA, |
710 | 264 WINDOW_QuickReference = 12, |
158 | 265 WINDOW_Rest = 0x10, |
710 | 266 WINDOW_ChangeLocation = 17, |
158 | 267 WINDOW_SpellBook = 0x12, |
710 | 268 WINDOW_GreetingNPC = 19, |
0 | 269 WINDOW_Chest = 0x14, |
710 | 270 WINDOW_17 = 23, |
0 | 271 WINDOW_MainMenu_Load = 0x18, |
272 WINDOW_HouseInterior = 0x19, | |
710 | 273 WINDOW_Transition = 26, |
158 | 274 WINDOW_1B = 0x1B, |
275 WINDOW_Scroll = 0x1E, | |
710 | 276 WINDOW_1F = 31, |
0 | 277 WINDOW_FinalWindow = 0x46, |
17 | 278 WINDOW_50 = 0x50, |
279 WINDOW_59 = 0x59, | |
710 | 280 WINDOW_5A = 90, |
281 WINDOW_5B = 91, | |
187 | 282 WINDOW_VoiceSwitcherButton = 0x5C, |
17 | 283 WINDOW_5D = 0x5D, |
710 | 284 WINDOW_5E = 94, |
4 | 285 WINDOW_5F = 0x5F, |
710 | 286 WINDOW_60 = 96, |
17 | 287 WINDOW_61 = 0x61, |
288 WINDOW_RestWindow = 0x62, | |
710 | 289 WINDOW_63 = 99, |
17 | 290 WINDOW_CharacterWindow_Stats = 0x64, |
291 WINDOW_CharacterWindow_Skills = 0x65, | |
292 WINDOW_CharacterWindow_Awards = 0x66, | |
293 WINDOW_CharacterWindow_Inventory = 0x67, | |
710 | 294 WINDOW_68 = 104, |
0 | 295 WINDOW_KeyMappingOptions = 0x69, |
17 | 296 WINDOW_VideoOptions = 0x6A, |
297 WINDOW_Lloyd = 0xB1, | |
710 | 298 WINDOW_TownPortal = 195, |
299 WINDOW_QuestBook = 200, | |
17 | 300 WINDOW_AutonotesBook = 0xC9, |
301 WINDOW_MapsBook = 0xCA, | |
302 WINDOW_CalendarBook = 0xCB, | |
92 | 303 WINDOW_HistoryBook = 0xE0, |
0 | 304 }; |
305 | |
832 | 306 struct GUIButton; |
307 struct Texture; | |
308 | |
0 | 309 /* 155 */ |
310 #pragma pack(push, 1) | |
311 struct GUIWindow | |
312 { | |
200 | 313 inline GUIWindow() |
314 { | |
315 pControlsHead = pControlsTail = nullptr; | |
316 eWindowType = WINDOW_null; | |
317 } | |
318 | |
189 | 319 GUIButton *CreateButton(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int a6, int a7, |
832 | 320 UIMessageType msg, unsigned int msg_param, unsigned __int8 uHotkey, const char *pName, Texture *pTextures, ...); |
0 | 321 void DrawFlashingInputCursor(signed int a3, int a4, struct GUIFont *a2); |
322 int DrawTextInRect(GUIFont *a2, unsigned int uX, unsigned int uY, unsigned int uColor, const char *Str1, int Source, int a8); | |
323 char DrawText(GUIFont *a2, signed int uX, int uY, unsigned int uFontColor, const char *Str, int a7, int a8, unsigned int uFontShadowColor); | |
762 | 324 void DrawTitleText(GUIFont *a2, signed int uHorizontalMargin, unsigned int uVerticalMargin, unsigned __int16 uDefaultColor, const char *pInString, unsigned int uLineSpacing); |
471
c43f156a95c9
ArmorShopDialog crash fixed. All shops show its items
Gloval
parents:
467
diff
changeset
|
325 void DrawCurrentTime(__int64 a2); |
405 | 326 void HouseDialogManager(); |
198 | 327 void OpenSpellBook(); |
0 | 328 void InitializeBookView(); |
329 void DrawMessageBox(int arg0); | |
330 GUIButton *GetControl(unsigned int uID); | |
331 void Release(); | |
332 void _41D08F(int a2, int a3, int a4, int a5); | |
688 | 333 void DrawQuickCharRecord(); |
0 | 334 char _41D73D_draw_buff_tooltip(); |
335 | |
336 static GUIWindow *Create(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, enum WindowType eType, int a4, int a5); | |
337 | |
338 unsigned int uFrameX; | |
339 unsigned int uFrameY; | |
340 unsigned int uFrameWidth; | |
341 unsigned int uFrameHeight; | |
342 unsigned int uFrameZ; | |
343 unsigned int uFrameW; | |
344 WindowType eWindowType; | |
496 | 345 union{ |
0 | 346 void *ptr_1C; |
496 | 347 unsigned int par1C; |
348 }; | |
0 | 349 unsigned int uNumControls; |
350 int field_24; | |
351 int pNumPresenceButton; | |
352 int pCurrentPosActiveItem; | |
353 int field_30; | |
354 int field_34; | |
355 int pStartingPosActiveItem; | |
496 | 356 int numVisibleWindows; |
0 | 357 int field_40; |
358 int field_44; | |
359 char *Hint; | |
360 GUIButton *pControlsHead; | |
361 GUIButton *pControlsTail; | |
362 }; | |
363 #pragma pack(pop) | |
364 | |
365 | |
366 | |
367 | |
368 | |
369 | |
495 | 370 |
629 | 371 |
151 | 372 enum CURRENT_SCREEN |
373 { | |
374 SCREEN_GAME = 0x0, | |
375 SCREEN_MENU = 0x1, | |
376 SCREEN_OPTIONS = 0x2, | |
377 SCREEN_BOOKS = 0x3, | |
378 SCREEN_NPC_DIALOGUE = 0x4, | |
379 SCREEN_REST = 0x5, | |
380 SCREEN_CHARACTERS = 0x7, | |
381 SCREEN_SPELL_BOOK = 0x8, | |
382 SCREEN_CREATORS = 0x9, | |
383 SCREEN_CHEST = 0xA, | |
384 SCREEN_SAVEGAME = 0xB, | |
385 SCREEN_LOADGAME = 0xC, | |
386 SCREEN_HOUSE = 0xD, | |
387 SCREEN_E = 0xE, | |
388 SCREEN_F = 0xF, | |
389 SCREEN_VIDEO = 0x10, | |
390 SCREEN_CHANGE_LOCATION = 0x11, | |
391 SCREEN_INPUT_BLV = 0x12, | |
392 SCREEN_BRANCHLESS_NPC_DIALOG = 0x13, | |
393 SCREEN_PARTY_CREATION = 0x15, | |
394 SCREEN_PRESS_ESCAPE_MESSAGE = 0x16, | |
395 SCREEN_CASTING = 0x17, | |
396 SCREEN_19 = 0x19, | |
397 SCREEN_KEYBOARD_OPTIONS = 0x1A, | |
398 SCREEN_1B = 0x1B, | |
399 SCREEN_VIDEO_OPTIONS = 0x1C, | |
400 SCREEN_63 = 0x63, | |
401 SCREEN_64 = 0x64, | |
402 SCREEN_67 = 0x67, | |
403 SCREEN_QUICK_REFERENCE = 0x68, | |
404 }; | |
0 | 405 |
406 | |
407 | |
408 | |
409 /* 249 */ | |
410 #pragma pack(push, 1) | |
411 struct GUIMessage | |
412 { | |
413 enum UIMessageType eType; | |
414 int param; | |
415 int field_8; | |
416 }; | |
417 #pragma pack(pop) | |
418 | |
419 | |
420 | |
421 | |
437 | 422 #define AddMessage(msg, param, a4) AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__) |
0 | 423 /* 250 */ |
424 #pragma pack(push, 1) | |
425 struct GUIMessageQueue | |
426 { | |
427 inline GUIMessageQueue(): | |
428 uNumMessages(0) | |
429 {} | |
430 | |
783 | 431 void Flush(); |
0 | 432 void PopMessage(UIMessageType *pMsg, int *pParam, int *a4); |
437 | 433 void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file = nullptr, int line = 0); |
0 | 434 |
435 unsigned int uNumMessages; | |
436 GUIMessage pMessages[40]; | |
437 | 437 |
438 const char *files[40]; | |
439 int lines[40]; | |
0 | 440 }; |
441 #pragma pack(pop) | |
442 | |
443 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb | |
444 | |
445 | |
446 | |
447 | |
248 | 448 |
651 | 449 void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType); |
248 | 450 |
451 | |
452 | |
0 | 453 extern int pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[]; // idb |
454 extern struct GUIWindow *pWindow_MainMenu; | |
566 | 455 extern struct GUIWindow pWindowList[20]; |
456 | |
457 | |
458 | |
459 | |
460 | |
461 | |
816 | 462 void QuickRefDraw(); |
463 | |
464 | |
465 | |
466 | |
467 | |
468 | |
469 | |
470 | |
471 | |
472 | |
473 //character ui | |
474 unsigned int __fastcall GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level); | |
475 const char *__fastcall CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType); | |
476 char __cdecl CharacterUI_SkillsTab_ShowHint(); | |
477 char __cdecl CharacterUI_StatsTab_ShowHint(); | |
832 | 478 char __fastcall CharacterUI_StatsTab_Draw(unsigned int uPlayerID); // idb |
479 | |
480 | |
481 | |
482 | |
483 | |
484 | |
485 | |
486 | |
487 | |
488 | |
489 | |
490 | |
491 | |
492 | |
493 | |
494 | |
495 | |
496 | |
497 | |
498 | |
499 | |
500 | |
501 | |
502 | |
503 | |
504 | |
505 | |
506 | |
507 | |
508 | |
509 | |
510 | |
511 #pragma pack(push, 1) | |
512 struct GUIButton | |
513 { | |
514 char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9); | |
515 | |
516 void Release(); | |
517 | |
518 | |
519 unsigned int uX; | |
520 unsigned int uY; | |
521 unsigned int uWidth; | |
522 unsigned int uHeight; | |
523 unsigned int uZ; | |
524 unsigned int uW; | |
525 int uButtonType; | |
526 int field_1C;//may be pMessageType | |
527 UIMessageType msg; | |
528 unsigned int msg_param; | |
529 int field_28; | |
530 int field_2C_is_pushed; | |
531 GUIButton *pPrev; | |
532 GUIButton *pNext; | |
533 struct GUIWindow *pParent; | |
534 struct Texture *pTextures[5]; | |
535 unsigned int uNumTextures; | |
536 unsigned __int8 uHotkey; | |
537 char pButtonName[32]; | |
538 char field_75[71]; | |
539 }; | |
540 #pragma pack(pop) | |
541 | |
542 | |
543 | |
544 | |
545 extern struct GUIButton *pBtn_CloseBook; | |
546 extern struct GUIButton *pBtn_InstallRemoveSpell; | |
547 extern struct GUIButton *pBtn_Autonotes_Instructors; | |
548 extern struct GUIButton *pBtn_Autonotes_Misc; | |
549 extern struct GUIButton *pBtn_Book_6; | |
550 extern struct GUIButton *pBtn_Book_5; | |
551 extern struct GUIButton *pBtn_Book_4; | |
552 extern struct GUIButton *pBtn_Book_3; | |
553 extern struct GUIButton *pBtn_Book_2; | |
554 extern struct GUIButton *pBtn_Book_1; | |
555 | |
556 | |
557 extern struct GUIButton *pPlayerCreationUI_BtnReset; | |
558 extern struct GUIButton *pPlayerCreationUI_BtnOK; | |
559 extern struct GUIButton *pBtn_ExitCancel; | |
560 extern struct GUIButton *pBtn_YES; | |
561 extern struct GUIButton *pPlayerCreationUI_BtnPlus; | |
562 extern struct GUIButton *pPlayerCreationUI_BtnMinus; | |
563 | |
564 | |
565 extern struct GUIButton *pButton_RestUI_Main; | |
566 extern struct GUIButton *pButton_RestUI_Exit; | |
567 extern struct GUIButton *pButton_RestUI_Wait5Minutes; | |
568 extern struct GUIButton *pButton_RestUI_WaitUntilDawn; | |
569 extern struct GUIButton *pButton_RestUI_Wait1Hour; | |
570 | |
571 | |
572 extern struct GUIButton *pCharacterScreen_ExitBtn; | |
573 extern struct GUIButton *pCharacterScreen_AwardsBtn; | |
574 extern struct GUIButton *pCharacterScreen_InventoryBtn; | |
575 extern struct GUIButton *pCharacterScreen_SkillsBtn; | |
576 extern struct GUIButton *pCharacterScreen_StatsBtn; | |
577 extern struct GUIButton *pCharacterScreen_DollBtn; | |
578 extern struct GUIButton *pCharacterScreen_DetalizBtn; | |
579 | |
580 | |
581 extern struct GUIButton *pBtn_NPCRight; | |
582 extern struct GUIButton *pBtn_NPCLeft; | |
583 extern struct GUIButton *pBtn_GameSettings; | |
584 extern struct GUIButton *pBtn_QuickReference; | |
585 extern struct GUIButton *pBtn_CastSpell; | |
586 extern struct GUIButton *pBtn_Rest; | |
587 extern struct GUIButton *pBtn_History; | |
588 extern struct GUIButton *pBtn_Calendar; | |
589 extern struct GUIButton *pBtn_Maps; | |
590 extern struct GUIButton *pBtn_Autonotes; | |
591 extern struct GUIButton *pBtn_Quests; | |
592 | |
593 | |
594 extern struct GUIButton *pMainMenu_BtnExit; | |
595 extern struct GUIButton *pMainMenu_BtnCredits; | |
596 extern struct GUIButton *pMainMenu_BtnLoad; | |
597 extern struct GUIButton *pMainMenu_BtnNew; | |
598 | |
599 | |
600 extern struct GUIButton *pBtn_Up; | |
601 extern struct GUIButton *pBtn_Down; | |
602 extern struct GUIButton *ptr_507BA4; | |
603 | |
604 | |
605 extern struct GUIWindow *pPrimaryWindow; | |
606 extern struct GUIWindow *pChestWindow; | |
607 extern struct GUIWindow *pDialogueWindow; | |
608 extern struct GUIWindow *window_SpeakInHouse; | |
609 extern struct GUIWindow *pGUIWindow_ScrollWindow; | |
610 extern struct GUIWindow *ptr_507BC8; | |
611 extern struct GUIWindow *pGUIWindow_CurrentMenu; | |
612 extern struct GUIWindow *ptr_507BD0; | |
613 extern struct GUIWindow *pGUIWindow_Settings; | |
614 extern struct GUIWindow *ptr_507BDC; | |
615 extern struct GUIWindow *pGUIWindow_EscMessageWindow; | |
616 extern struct GUIWindow *pBooksWindow; | |
617 extern struct GUIWindow *pGUIWindow2; | |
618 | |
619 | |
620 extern struct GUIButton *pBtn_Resume; | |
621 extern struct GUIButton *pBtn_QuitGame; | |
622 extern struct GUIButton *pBtn_GameControls; | |
623 extern struct GUIButton *pBtn_LoadGame; | |
624 extern struct GUIButton *pBtn_SaveGame; | |
625 extern struct GUIButton *pBtn_NewGame; | |
626 | |
627 extern struct GUIButton *pBtn_SliderRight; | |
628 extern struct GUIButton *pBtn_SliderLeft; | |
629 | |
630 | |
631 extern struct GUIButton *pBtnDownArrow; | |
632 extern struct GUIButton *pBtnArrowUp; | |
633 extern struct GUIButton *pBtnCancel; | |
634 extern struct GUIButton *pBtnLoadSlot; | |
635 | |
636 | |
637 extern GUIButton *pCreationUI_BtnPressRight2[4]; | |
638 extern GUIButton *pCreationUI_BtnPressLeft2[4]; | |
639 extern GUIButton *pCreationUI_BtnPressLeft[4]; | |
640 extern GUIButton *pCreationUI_BtnPressRight[4]; |