annotate GUI/GUIWindow.h @ 2547:fed97f15d1e1

* SaveLoad * QuickReference * Modal * Character
author a.parshin
date Tue, 12 May 2015 01:45:31 +0200
parents 4087cbc62706
children 87e5590d034b
rev   line source
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
1 #pragma once
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
2
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
3 #include <cstdint>
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
4 #include <array>
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
5
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
6 #include "Engine/Objects/Player.h"
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
7
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
8 enum UIMessageType: unsigned __int32
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
9 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
10 UIMSG_0 = 0,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
11
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
12 UIMSG_ChangeGameState = 5,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
13
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
14 UIMSG_MouseLeftClickInGame = 10,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
15
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
16 UIMSG_CHEST_ClickItem = 12,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
17
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
18 UIMSG_MouseLeftClickInScreen = 14,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
19 UIMSG_F = 15,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
20
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
21 UIMSG_ChangeCursor = 17,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
22
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
23 UIMSG_Attack = 23,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
24
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
25 UIMSG_CastQuickSpell = 25,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
26
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
27 UIMSG_STEALFROMACTOR = 27,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
28 UIMSG_1C = 28,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
29 UIMSG_PlayArcomage = 29,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
30
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
31 UIMSG_31 = 49,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
32 UIMSG_32 = 50,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
33 UIMSG_SpellBook_PressTab = 51,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
34 UIMSG_34 = 52,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
35 UIMSG_35 = 53,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
36 UIMSG_MainMenu_ShowPartyCreationWnd = 54,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
37 UIMSG_MainMenu_ShowLoadWindow = 55,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
38 UIMSG_ShowCredits = 56,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
39 UIMSG_ExitToWindows = 57,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
40 UIMSG_3A = 58,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
41
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
42 UIMSG_PlayerCreationChangeName = 60,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
43
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
44 UIMSG_PlayerCreationClickPlus = 62,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
45 UIMSG_PlayerCreationClickMinus = 63,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
46 UIMSG_PlayerCreationSelectActiveSkill = 64,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
47 UIMSG_PlayerCreationSelectClass = 65,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
48 UIMSG_PlayerCreationClickOK = 66,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
49 UIMSG_PlayerCreationClickReset = 67,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
50 UIMSG_44 = 68,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
51 UIMSG_CastSpell_Character_Big_Improvement = 69,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
52 UIMSG_CastSpell_Shoot_Monster = 70,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
53 UIMSG_ClickBooksBtn = 71,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
54 UIMSG_48 = 72,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
55 UIMSG_49 = 73,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
56 UIMSG_PlayerCreationRemoveUpSkill = 74,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
57 UIMSG_PlayerCreationRemoveDownSkill = 75,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
58
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
59 UIMSG_HintSelectRemoveQuickSpellBtn = 78,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
60 UIMSG_SPellbook_ShowHightlightedSpellInfo = 79,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
61
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
62 UIMSG_BuyInShop_Identify_Repair = 81,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
63 UIMSG_LoadGame = 82,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
64 UIMSG_SaveGame = 83,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
65 UIMSG_54 = 84,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
66 UIMSG_ChangeDetaliz = 85,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
67 UIMSG_SelectSpell = 86,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
68 UIMSG_OpenSpellbookPage = 87,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
69 UIMSG_ClickInstallRemoveQuickSpellBtn = 88,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
70
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
71 UIMSG_OnTravelByFoot = 90,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
72 UIMSG_CHANGE_LOCATION_ClickCencelBtn = 91,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
73 UIMSG_ShowStatus_DateTime = 92,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
74 UIMSG_ShowStatus_ManaHP = 93,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
75 UIMSG_ShowStatus_Player = 94,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
76 UIMSG_Wait5Minutes = 95,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
77 UIMSG_Wait1Hour = 96,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
78 UIMSG_Rest8Hour = 97,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
79
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
80 UIMSG_ShowStatus_Food = 100,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
81 UIMSG_ShowStatus_Funds = 101,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
82
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
83 UIMSG_RestWindow = 104,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
84 UIMSG_SpellBookWindow = 105,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
85 UIMSG_QuickReference = 106,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
86 UIMSG_GameMenuButton = 107,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
87
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
88 UIMSG_AlreadyResting = 109,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
89 UIMSG_SelectCharacter = 110,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
90 UIMSG_ChangeSoundVolume = 111,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
91 UIMSG_ChangeMusicVolume = 112,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
92 UIMSG_Escape = 113,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
93 UIMSG_ClickSkillsBtn = 114,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
94 UIMSG_ClickStatsBtn = 115,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
95 UIMSG_ClickInventoryBtn = 116,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
96 UIMSG_ClickAwardsBtn = 117,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
97 UIMSG_PlayerCreation_SelectAttribute = 118,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
98
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
99 UIMSG_InventoryLeftClick = 120,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
100 UIMSG_SkillUp = 121,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
101 UIMSG_7A = 122,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
102 UIMSG_GameMenu_ReturnToGame = 123,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
103 UIMSG_StartNewGame = 124,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
104 UIMSG_Game_OpenLoadGameDialog = 125,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
105 UIMSG_Game_OpenSaveGameDialog = 126,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
106 UIMSG_Game_OpenOptionsDialog = 127,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
107 UIMSG_80 = 128,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
108
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
109 UIMSG_SetGraphicsMode = 131,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
110 UIMSG_Quit = 132,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
111 UIMSG_ClickPaperdoll = 133,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
112 UIMSG_StartHireling1Dialogue = 134,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
113 UIMSG_StartHireling2Dialogue = 135,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
114 UIMSG_SelectNPCDialogueOption = 136,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
115
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
116 UIMSG_CastSpell_Monster_Improvement = 140,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
117 UIMSG_CastSpell_Character_Small_Improvement = 141,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
118 UIMSG_CastSpellFromBook = 142,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
119 UIMSG_HiredNPC_CastSpell = 143,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
120 UIMSG_PlayerCreation_VoicePrev = 144,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
121 UIMSG_PlayerCreation_VoiceNext = 145,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
122 UIMSG_SpellScrollUse = 146,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
123
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
124 UIMSG_StartNPCDialogue = 161,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
125 UIMSG_ArrowUp = 162,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
126 UIMSG_DownArrow = 163,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
127 UIMSG_SaveLoadBtn = 164,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
128 UIMSG_SelectLoadSlot = 165,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
129 UIMSG_Cancel = 166,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
130 UIMSG_ExitRest = 167,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
131 UIMSG_ClickExitCharacterWindowBtn = 168,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
132 UIMSG_ClickAwardsUpBtn = 169,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
133 UIMSG_ClickAwardsDownBtn = 170,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
134 UIMSG_PlayerCreation_FacePrev = 171,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
135 UIMSG_PlayerCreation_FaceNext = 172,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
136 UIMSG_AD = 173,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
137 UIMSG_AE = 174,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
138 UIMSG_ClickNPCTopic = 175,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
139 UIMSG_CycleCharacters = 176,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
140 UIMSG_OnCastLloydsBeacon = 177,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
141 UIMSG_LloydsBeacon_FlippingBtn = 178,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
142 UIMSG_InstallBeacon = 179,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
143 UIMSG_HintBeaconSlot = 180,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
144 UIMSG_CloseAfterInstallBeacon = 181,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
145 UIMSG_HintTownPortal = 182,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
146 UIMSG_ClickTownInTP = 183,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
147 UIMSG_SetTurnSpeed = 184,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
148 UIMSG_ToggleWalkSound = 185,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
149 UIMSG_ChangeVoiceVolume = 186,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
150 UIMSG_ToggleShowDamage = 187,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
151 UIMSG_ScrollNPCPanel = 188,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
152 UIMSG_BD = 189,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
153 UIMSG_CastSpell_Telekinesis = 190,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
154 UIMSG_BF = 191,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
155 UIMSG_ClickAwardScrollBar = 192,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
156 UIMSG_C1 = 192,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
157 UIMSG_C2 = 192,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
158
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
159 UIMSG_OnCastTownPortal = 195,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
160 UIMSG_OnFinalWindowClose = 196,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
161 UIMSG_ShowFinalWindow = 197,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
162 UIMSG_C6 = 198,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
163 UIMSG_C7 = 199,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
164 UIMSG_OpenQuestBook = 200,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
165 UIMSG_OpenAutonotes = 201,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
166 UIMSG_OpenMapBook = 202,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
167 UIMSG_OpenCalendar = 203,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
168 UIMSG_CC = 204,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
169 UIMSG_CD = 205,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
170 UIMSG_CE = 206,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
171 UIMSG_CF = 207,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
172 UIMSG_D0 = 208,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
173 UIMSG_D1 = 209,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
174 UIMSG_D2 = 210,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
175 UIMSG_D3 = 211,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
176 UIMSG_D4 = 212,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
177 UIMSG_D5 = 213,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
178 UIMSG_D6 = 214,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
179
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
180 UIMSG_DD = 221,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
181
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
182 UIMSG_OpenHistoryBook = 224,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
183 UIMSG_ToggleAlwaysRun = 225,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
184 UIMSG_ToggleFlipOnExit = 226,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
185
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
186 UIMSG_ClickZoomOutBtn = 367,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
187 UIMSG_ClickZoomInBtn = 368,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
188
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
189 UIMSG_Game_Action = 404,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
190 UIMSG_SelectShopDialogueOption = 405,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
191
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
192 UIMSG_RentRoom = 409,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
193 UIMSG_ClickHouseNPCPortrait = 410,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
194 UIMSG_TransitionUI_Confirm = 411,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
195 UIMSG_TransitionWindowCloseBtn = 412,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
196
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
197 UIMSG_OpenKeyMappingOptions = 415,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
198 UIMSG_SelectKeyPage1 = 416,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
199 UIMSG_SelectKeyPage2 = 417,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
200 UIMSG_ResetKeyMapping = 418,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
201 UIMSG_ChangeKeyButton = 419,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
202
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
203 UIMSG_OpenVideoOptions = 421,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
204 UIMSG_ToggleBloodsplats = 422,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
205 UIMSG_ToggleColoredLights = 423,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
206 UIMSG_ToggleTint = 424,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
207 UIMSG_1A9 = 425,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
208
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
209 UIMSG_MMT_MainMenu_MM6 = 426,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
210 UIMSG_MMT_MainMenu_MM7 = 427,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
211 UIMSG_MMT_MainMenu_MM8 = 428,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
212 UIMSG_MMT_MainMenu_Continue = 429,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
213
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
214 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
215
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
216
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
217 /* 251 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
218 enum MENU_STATE : __int32
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
219 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
220 MENU_MAIN = 0,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
221 MENU_NEWGAME = 1,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
222 MENU_CREDITS = 2,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
223 MENU_SAVELOAD = 3,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
224 MENU_EXIT_GAME = 4,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
225 MENU_5 = 5,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
226 MENU_CREATEPARTY = 6,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
227 MENU_NAMEPANELESC = 7,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
228 MENU_CREDITSPROC = 8,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
229 MENU_LoadingProcInMainMenu = 9,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
230 MENU_DebugBLVLevel = 10,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
231 MENU_CREDITSCLOSE = 11,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
232 MENU_MMT_MAIN_MENU = 12,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
233 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
234
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
235
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
236 enum DIALOGUE_TYPE
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
237 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
238 DIALOGUE_USE_NPC_ABILITY = 9,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
239 DIALOGUE_13 = 0xD,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
240 DIALOGUE_18 = 18,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
241 DIALOGUE_EVT_A = 19,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
242 DIALOGUE_EVT_B = 20,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
243 DIALOGUE_EVT_C = 21,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
244 DIALOGUE_EVT_D = 22,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
245 DIALOGUE_EVT_E = 23,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
246 DIALOGUE_EVT_F = 0x18,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
247 DIALOGUE_76 = 76,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
248 DIALOGUE_PROFESSION_DETAILS = 77,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
249 DIALOGUE_SKILL_TRAINER = 78,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
250 DIALOGUE_84 = 84,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
251 DIALOGUE_ARENA_SELECT_PAGE = 85,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
252 DIALOGUE_ARENA_SELECT_SQUIRE = 86,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
253 DIALOGUE_ARENA_SELECT_KNIGHT = 87,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
254 DIALOGUE_ARENA_SELECT_CHAMPION = 88,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
255 DIALOGUE_ARENA_WELCOME = 89,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
256 DIALOGUE_ARENA_FIGHT_NOT_OVER_YET = 90,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
257 DIALOGUE_ARENA_REWARD = 91,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
258 DIALOGUE_ARENA_ALREADY_WON = 92,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
259 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
260
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
261
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
262
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
263
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
264
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
265 /* 298 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
266 enum WindowType: unsigned __int32
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
267 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
268 WINDOW_null = 0,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
269 WINDOW_MainMenu = 1,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
270 WINDOW_GameMenu = 3,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
271 WINDOW_CharacterRecord = 4,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
272 WINDOW_Options = 6,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
273 WINDOW_8 = 8,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
274 WINDOW_Book = 9,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
275 WINDOW_Dialogue = 10,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
276 WINDOW_QuickReference = 12,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
277 WINDOW_F = 15,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
278 WINDOW_Rest = 16,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
279 WINDOW_ChangeLocation = 17,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
280 WINDOW_SpellBook = 18,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
281 WINDOW_GreetingNPC = 19,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
282 WINDOW_Chest = 20,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
283 WINDOW_22 = 0x16,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
284 WINDOW_SaveLoadButtons = 23,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
285 WINDOW_MainMenu_Load = 0x18,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
286 WINDOW_HouseInterior = 0x19,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
287 WINDOW_Transition = 26,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
288 WINDOW_CastSpell = 27, // OnCastTargetedSpell
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
289 WINDOW_Scroll = 0x1E,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
290 WINDOW_CastSpell_InInventory = 31,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
291 WINDOW_ModalWindow = 70,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
292 WINDOW_50 = 80,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
293 WINDOW_59 = 89,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
294 WINDOW_PressedButton2 = 90,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
295 WINDOW_CharactersPressedButton = 91,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
296 WINDOW_PressedButton = 92,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
297 WINDOW_5D = 93,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
298 WINDOW_SaveLoadBtn = 94,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
299 WINDOW_LoadGame_CancelBtn = 95, // OnCancel3
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
300 WINDOW_CloseRestWindowBtn = 96,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
301 WINDOW_ExitCharacterWindow = 97, // OnCancel2
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
302 WINDOW_RestWindow = 0x62,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
303 WINDOW_BooksWindow = 99,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
304 WINDOW_CharacterWindow_Stats = 0x64,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
305 WINDOW_CharacterWindow_Skills = 0x65,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
306 WINDOW_CharacterWindow_Awards = 0x66,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
307 WINDOW_CharacterWindow_Inventory = 0x67,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
308 WINDOW_68 = 104,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
309 WINDOW_KeyMappingOptions = 0x69,
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
310 WINDOW_VideoOptions = 0x6A,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
311 WINDOW_LloydsBeacon = 177,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
312 WINDOW_TownPortal = 195,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
313 WINDOW_QuestBook = 200,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
314 WINDOW_AutonotesBook = 0xC9,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
315 WINDOW_MapsBook = 0xCA,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
316 WINDOW_CalendarBook = 0xCB,
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
317 WINDOW_JournalBook = 0xE0,
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
318 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
319
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
320 struct GUIButton;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
321 struct Texture;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
322
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
323
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
324 #define WINDOW_INPUT_NONE 0
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
325 #define WINDOW_INPUT_IN_PROGRESS 1
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
326 #define WINDOW_INPUT_CONFIRMED 2
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
327 #define WINDOW_INPUT_CANCELLED 3
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
328
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
329 /* 155 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
330 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
331 struct GUIWindow
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
332 {
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
333 GUIWindow();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
334 GUIWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int pButton, const char* hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
335 virtual ~GUIWindow() {}
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
336
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
337 GUIButton *CreateButton(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int a6, int a7,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
338 UIMessageType msg, unsigned int msg_param, unsigned __int8 uHotkey, const char *pName, struct Texture *pTextures, ...);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
339 void DrawFlashingInputCursor(signed int uX, int uY, struct GUIFont *a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
340 int DrawTextInRect(GUIFont *pFont, unsigned int uX, unsigned int uY, unsigned int uColor, const char *text, int rect_width, int reverse_text);
2529
dbaf6fc71525 GUIWindow::DrawText: cleaned
a.parshin
parents: 2528
diff changeset
341 void DrawText(GUIFont *a2, signed int uX, int uY, unsigned short uFontColor, const char *Str, bool present_time_transparency, int max_text_height, signed int uFontShadowColor);
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
342 void DrawTitleText(GUIFont *a2, signed int uHorizontalMargin, unsigned int uVerticalMargin, unsigned __int16 uDefaultColor, const char *pInString, unsigned int uLineSpacing);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
343 void DrawShops_next_generation_time_string(__int64 next_generation_time);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
344 void HouseDialogManager();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
345 void OpenSpellBook();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
346 void InitializeBookView();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
347 void DrawMessageBox(int arg0);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
348 GUIButton *GetControl(unsigned int uID);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
349 void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
350 void _41D73D_draw_buff_tooltip();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
351
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
352 virtual void Update() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
353 virtual void Release();
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
354
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
355 unsigned int uFrameX;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
356 unsigned int uFrameY;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
357 unsigned int uFrameWidth;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
358 unsigned int uFrameHeight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
359 unsigned int uFrameZ;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
360 unsigned int uFrameW;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
361 WindowType eWindowType;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
362 union{
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
363 void *ptr_1C;// sometimes BuildID_2Events
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
364 unsigned int par1C;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
365 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
366 unsigned int uNumControls;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
367 int field_24;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
368 int pNumPresenceButton;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
369 int pCurrentPosActiveItem;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
370 int field_30;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
371 int field_34;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
372 int pStartingPosActiveItem;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
373 int numVisibleWindows;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
374 int receives_keyboard_input_2; // 0 no input 1 currently typing 2 enter pressed 3 escape pressed
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
375 int receives_keyboard_input;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
376 const char *Hint;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
377 GUIButton *pControlsHead;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
378 GUIButton *pControlsTail;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
379 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
380 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
381
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
382
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
383 struct GUIWindow_Book : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
384 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
385 GUIWindow_Book(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
386 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
387 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
388 InitializeBookView();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
389 }
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
390 virtual ~GUIWindow_Book() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
391
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
392 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
393 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
394 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
395 struct GUIWindow_BooksWindow : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
396 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
397 GUIWindow_BooksWindow(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
398 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
399 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
400 virtual ~GUIWindow_BooksWindow() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
401
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
402 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
403 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
404 struct GUIWindow_Dialogue : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
405 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
406 GUIWindow_Dialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
407 virtual ~GUIWindow_Dialogue() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
408
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
409 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
410 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
411 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
412 struct GUIWindow_Spellbook : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
413 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
414 GUIWindow_Spellbook(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
415 virtual ~GUIWindow_Spellbook() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
416
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
417 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
418 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
419 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
420 struct GUIWindow_GenericDialogue : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
421 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
422 GUIWindow_GenericDialogue(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
423 virtual ~GUIWindow_GenericDialogue() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
424
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
425 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
426 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
427 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
428 struct GUIWindow_Chest : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
429 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
430 GUIWindow_Chest(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
431 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
432 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
433 CreateButton(61, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 1, '1', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
434 CreateButton(177, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 2, '2', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
435 CreateButton(292, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 3, '3', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
436 CreateButton(407, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 4, '4', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
437 CreateButton(0, 0, 0, 0, 1, 0, UIMSG_CycleCharacters, 0, 9, "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
438 }
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
439 virtual ~GUIWindow_Chest() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
440
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
441 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
442 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
443 struct GUIWindow_House : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
444 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
445 GUIWindow_House(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
446 virtual ~GUIWindow_House() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
447
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
448 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
449 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
450 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
451 struct GUIWindow_Scroll : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
452 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
453 GUIWindow_Scroll(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
454 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
455 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
456 CreateButton(61, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 1, '1', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
457 CreateButton(177, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 2, '2', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
458 CreateButton(292, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 3, '3', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
459 CreateButton(407, 424, 31, 0, 2, 94, UIMSG_SelectCharacter, 4, '4', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
460 CreateButton(0, 0, 0, 0, 1, 0, UIMSG_CycleCharacters, 0, '\t', "", 0);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
461 }
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
462 virtual ~GUIWindow_Scroll() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
463
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
464 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
465 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
466 struct GUIWindow_Inventory : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
467 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
468 GUIWindow_Inventory(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
469 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
470 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
471 virtual ~GUIWindow_Inventory() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
472
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
473 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
474 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
475 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
476 struct GUIWindow_Inventory_CastSpell : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
477 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
478 GUIWindow_Inventory_CastSpell(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
479 virtual ~GUIWindow_Inventory_CastSpell() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
480
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
481 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
482 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
483 struct OnButtonClick : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
484 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
485 OnButtonClick(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
486 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
487 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
488 virtual ~OnButtonClick() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
489
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
490 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
491 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
492 struct OnButtonClick2 : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
493 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
494 OnButtonClick2(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
495 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
496 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
497 virtual ~OnButtonClick2() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
498
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
499 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
500 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
501 struct OnButtonClick3 : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
502 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
503 OnButtonClick3(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
504 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
505 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
506 virtual ~OnButtonClick3() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
507
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
508 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
509 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
510 struct OnButtonClick4 : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
511 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
512 OnButtonClick4(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
513 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
514 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
515 virtual ~OnButtonClick4() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
516
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
517 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
518 virtual void Release();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
519 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
520 struct OnSaveLoad : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
521 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
522 OnSaveLoad(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
523 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
524 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
525 virtual ~OnSaveLoad() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
526
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
527 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
528 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
529 struct OnCancel : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
530 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
531 OnCancel(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
532 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
533 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
534 virtual ~OnCancel() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
535
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
536 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
537 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
538 struct OnCancel2 : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
539 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
540 OnCancel2(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
541 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
542 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
543 virtual ~OnCancel2() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
545 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
546 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
547 struct OnCancel3 : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
548 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
549 OnCancel3(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint) :
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
550 GUIWindow(x, y, width, height, button, hint)
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
551 {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
552 virtual ~OnCancel3() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
553
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
554 virtual void Update();
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
555 };
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
556 struct OnCastTargetedSpell : public GUIWindow
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
557 {
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
558 OnCastTargetedSpell(unsigned int x, unsigned int y, unsigned int width, unsigned int height, int button, const char *hint);
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
559 virtual ~OnCastTargetedSpell() {}
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
560 };
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
561
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
562
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
563
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
564
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
565
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
566 enum CURRENT_SCREEN
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
567 {
2542
a.parshin
parents: 2541
diff changeset
568 SCREEN_GAME = 0,
a.parshin
parents: 2541
diff changeset
569 SCREEN_MENU = 1,
a.parshin
parents: 2541
diff changeset
570 SCREEN_OPTIONS = 2,
a.parshin
parents: 2541
diff changeset
571 SCREEN_BOOKS = 3,
a.parshin
parents: 2541
diff changeset
572 SCREEN_NPC_DIALOGUE = 4,
a.parshin
parents: 2541
diff changeset
573 SCREEN_REST = 5,
a.parshin
parents: 2541
diff changeset
574 SCREEN_6 = 6,
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
575 SCREEN_CHARACTERS = 7,
2542
a.parshin
parents: 2541
diff changeset
576 SCREEN_SPELL_BOOK = 8,
a.parshin
parents: 2541
diff changeset
577 SCREEN_CREATORS = 9,
2541
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
578 SCREEN_CHEST = 10,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
579 SCREEN_SAVEGAME = 11,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
580 SCREEN_LOADGAME = 12,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
581 SCREEN_HOUSE = 13,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
582 SCREEN_E = 14,
a902abdfc7f2 1. Renamed class Game to class Engine.
a.parshin
parents: 2529
diff changeset
583 SCREEN_CHEST_INVENTORY = 15,
2542
a.parshin
parents: 2541
diff changeset
584 SCREEN_VIDEO = 16,
a.parshin
parents: 2541
diff changeset
585 SCREEN_CHANGE_LOCATION = 17,
a.parshin
parents: 2541
diff changeset
586 SCREEN_INPUT_BLV = 18,
a.parshin
parents: 2541
diff changeset
587 SCREEN_BRANCHLESS_NPC_DIALOG = 19,
a.parshin
parents: 2541
diff changeset
588 SCREEN_20 = 20,
a.parshin
parents: 2541
diff changeset
589 SCREEN_PARTY_CREATION = 21,
a.parshin
parents: 2541
diff changeset
590 SCREEN_MODAL_WINDOW = 22,
a.parshin
parents: 2541
diff changeset
591 SCREEN_CASTING = 23,
a.parshin
parents: 2541
diff changeset
592 SCREEN_24 = 24,
a.parshin
parents: 2541
diff changeset
593 SCREEN_19 = 25,
a.parshin
parents: 2541
diff changeset
594 SCREEN_KEYBOARD_OPTIONS = 26,
a.parshin
parents: 2541
diff changeset
595 SCREEN_1B = 27,
a.parshin
parents: 2541
diff changeset
596 SCREEN_VIDEO_OPTIONS = 28,
a.parshin
parents: 2541
diff changeset
597
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
598 SCREEN_63 = 0x63,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
599 SCREEN_64 = 0x64,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
600 SCREEN_67 = 0x67,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
601 SCREEN_QUICK_REFERENCE = 0x68,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
602 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
603
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
604
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
605
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
606
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
607 /* 249 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
608 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
609 struct GUIMessage
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
610 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
611 enum UIMessageType eType;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
612 int param;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
613 int field_8;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
614 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
615 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
616
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
617
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
618
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
619
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
620 #define AddGUIMessage(msg, param, a4) AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
621 /* 250 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
622 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
623 struct GUIMessageQueue
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
624 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
625 inline GUIMessageQueue():
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
626 uNumMessages(0)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
627 {}
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
628
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
629 void Flush();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
630 void PopMessage(UIMessageType *pMsg, int *pParam, int *a4);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
631 void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file = nullptr, int line = 0);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
632
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
633 unsigned int uNumMessages;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
634 GUIMessage pMessages[40];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
635
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
636 const char *files[40];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
637 int lines[40];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
638 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
639 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
640
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
641 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
642
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
643 extern struct GUIMessageQueue *pMessageQueue_50C9E8; // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
644
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
645
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
646
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
647 void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
648
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
649
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
650
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
651 extern enum WindowType current_character_screen_window;
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
652 extern struct GUIWindow *pWindow_MMT_MainMenu;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
653 extern struct GUIWindow *pWindow_MainMenu;
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
654 extern std::array<struct GUIWindow *, 20> pWindowList;
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
655
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
656
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
657
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
658
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
659
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
660
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
661
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
662 void draw_leather();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
663
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
664
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
665 // main menu ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
666 void MainMenuUI_LoadFontsAndSomeStuff();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
667 void MainMenuUI_Create();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
668 MENU_STATE MainMenuUI_Credits_Loop();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
669
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
670 // game ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
671 void GameUI_DrawRightPanel();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
672 void GameUI_DrawRightPanelFrames();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
673 void GameUI_DrawRightPanelItems();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
674 void GameUI_DrawFoodAndGold();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
675 void GameUI_DrawLifeManaBars();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
676 void GameUI_DrawHiredNPCs();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
677 void GameUI_DrawPortraits(unsigned int _this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
678 void GameUI_Footer();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
679 void GameUI_Footer_2();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
680 void GameUI_SetFooterString(const char *pStr);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
681 void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned int uZoom, unsigned int bRedrawOdmMinimap);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
682 auto GameUI_GetMinimapHintText() -> const char *;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
683 void GameUI_DrawPartySpells();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
684 void GameUI_DrawTorchlightAndWizardEye();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
685 void GameUI_DrawCharacterSelectionFrame();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
686 void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
687 void GameUI_DrawNPCPopup(void *_this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
688
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
689 void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
690 void GameUI_DrawBranchlessDialogue();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
691 void GameUI_DrawDialogue();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
692
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
693
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
694
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
695
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
696 // character ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
697 const char *CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
698 void CharacterUI_SkillsTab_ShowHint();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
699 void CharacterUI_StatsTab_ShowHint();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
700 void CharacterUI_InventoryTab_Draw(Player *player, bool a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
701 void CharacterUI_DrawPaperdoll(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
702 void CharacterUI_DrawPaperdollWithRingOverlay(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
703 void CharacterUI_ReleaseButtons();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
704
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
705 unsigned int GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
706
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
707
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
708
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
709
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
710
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
711 // book ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
712 void BookUI_Draw(WindowType book);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
713 void BookUI_Questbook_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
714 void BookUI_Autonotes_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
715 void BookUI_Map_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
716 void BookUI_Calendar_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
717 void BookUI_Journal_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
718
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
719 void OnCloseBook();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
720 void InitializeBookTextures();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
721 void InitializeBookFonts();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
722 void DrawSpellBookContent(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
723 unsigned int DrawLloydBeaconsScreen();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
724 void BookUI_DrawTownPortalMap();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
725 void LoadSpellbook(unsigned int uID); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
726 void DrawSpellDescriptionPopup(int spell_index);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
727 void OnCloseSpellBookPage();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
728 void OnCloseSpellBook();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
729
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
730
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
731
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
732 // rest ui
2543
b6140dfeac27 GameOver h/cpp
a.parshin
parents: 2542
diff changeset
733 void PrepareToLoadRestUI();
b6140dfeac27 GameOver h/cpp
a.parshin
parents: 2542
diff changeset
734 GUIWindow *RestUI_Load();
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
735
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
736
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
737
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
738
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
739
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
740
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
741 void UI_OnMouseRightClick(Vec2_int_ *_this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
742
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
743 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
744 void DrawMM7CopyrightWindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
745 //void LoadFonts_and_DrawCopyrightWindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
746 void GUI_UpdateWindows();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
747 int GetConditionDrawColor(unsigned int uConditionIdx); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
748 void FillAwardsData();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
749 void CreateAwardsScrollBar();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
750 void ReleaseAwardsScrollBar();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
751 void Inventory_ItemPopupAndAlchemy();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
752 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
753 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
754 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
755 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb
2544
c674d547cc7c GUIWindow switch logic refactored into behaviour classes
a.parshin
parents: 2543
diff changeset
756 void GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall);
2502
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
757 void DrawBuff_remaining_time_string(int uY, struct GUIWindow *window, __int64 remaining_time, struct GUIFont *Font);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
758 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
759 void MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *window);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
760 void SetUserInterface(enum PartyAlignment alignment, bool bReplace);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
761 void CreateMsgScrollWindow(signed int mscroll_id);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
762 void free_book_subwindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
763 void CreateScrollWindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
764 void OnPaperdollLeftClick();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
765 void DrawJoinGuildWindow(int pEventCode);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
766 void DialogueEnding();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
767 char sub_4637E0_is_there_popup_onscreen();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
768 void sub_4B3E1E();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
769 void __fastcall ClickNPCTopic(signed int uMessageParam);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
770 void __fastcall DrawTextAtStatusBar(const char *Str, int a5);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
771 void _4B3FE5_training_dialogue(int a4);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
772 void OracleDialogue();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
773 void CheckBountyRespawnAndAward();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
774 const char * _4B254D_SkillMasteryTeacher(int trainerInfo);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
775 char *BuildDialogueString(const char *lpsz, unsigned __int8 uPlayerID, struct ItemGen *a3, char *a4, int a5, __int64 *a6);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
776 void __fastcall DrawTextAtStatusBar(const char *Str, int a5);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
777 void ShowStatusBarString(const char *pString, unsigned int uNumSeconds);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
778 void ShowNothingHereStatus();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
779 int const_2();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
780
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
781
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
782 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
783 void __fastcall ZBuffer_DoFill(int *pZBuffer, struct Texture *pTex, int uZValue);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
784 void __fastcall ZBuffer_DoFill2(int *pZBuffer, struct Texture *a2, int a3); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
785
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
786
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
787
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
788
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
789
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
790
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
791
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
792
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
793
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
794
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
795
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
796
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
797
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
798
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
799 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
800 struct GUIButton
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
801 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
802 void DrawLabel(const char *label_text, struct GUIFont *pFont, int a5, int uFontShadowColor);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
803
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
804 void Release();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
805
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
806
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
807 unsigned int uX;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
808 unsigned int uY;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
809 unsigned int uWidth;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
810 unsigned int uHeight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
811 unsigned int uZ;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
812 unsigned int uW;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
813 int uButtonType;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
814 int field_1C;//may be pMessageType
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
815 UIMessageType msg;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
816 unsigned int msg_param;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
817 int field_28;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
818 int field_2C_is_pushed;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
819 GUIButton *pPrev;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
820 GUIButton *pNext;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
821 struct GUIWindow *pParent;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
822 struct Texture *pTextures[5];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
823 unsigned int uNumTextures;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
824 unsigned __int8 uHotkey;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
825 char pButtonName[32];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
826 char field_75[71];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
827 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
828 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
829
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
830
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
831
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
832
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
833 extern struct GUIButton *pBtn_CloseBook;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
834 extern struct GUIButton *pBtn_InstallRemoveSpell;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
835 extern struct GUIButton *pBtn_Autonotes_Instructors;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
836 extern struct GUIButton *pBtn_Autonotes_Misc;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
837 extern struct GUIButton *pBtn_Book_6;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
838 extern struct GUIButton *pBtn_Book_5;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
839 extern struct GUIButton *pBtn_Book_4;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
840 extern struct GUIButton *pBtn_Book_3;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
841 extern struct GUIButton *pBtn_Book_2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
842 extern struct GUIButton *pBtn_Book_1;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
843
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
844
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
845 extern struct GUIButton *pPlayerCreationUI_BtnReset;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
846 extern struct GUIButton *pPlayerCreationUI_BtnOK;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
847 extern struct GUIButton *pBtn_ExitCancel;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
848 extern struct GUIButton *pBtn_YES;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
849 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
850 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
851
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
852
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
853 extern struct GUIButton *pButton_RestUI_Main;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
854 extern struct GUIButton *pButton_RestUI_Exit;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
855 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
856 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
857 extern struct GUIButton *pButton_RestUI_Wait1Hour;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
858
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
859
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
860 extern struct GUIButton *pCharacterScreen_ExitBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
861 extern struct GUIButton *pCharacterScreen_AwardsBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
862 extern struct GUIButton *pCharacterScreen_InventoryBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
863 extern struct GUIButton *pCharacterScreen_SkillsBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
864 extern struct GUIButton *pCharacterScreen_StatsBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
865 extern struct GUIButton *pCharacterScreen_DollBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
866 extern struct GUIButton *pCharacterScreen_DetalizBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
867
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
868
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
869 extern struct GUIButton *pBtn_NPCRight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
870 extern struct GUIButton *pBtn_NPCLeft;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
871 extern struct GUIButton *pBtn_GameSettings;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
872 extern struct GUIButton *pBtn_QuickReference;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
873 extern struct GUIButton *pBtn_CastSpell;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
874 extern struct GUIButton *pBtn_Rest;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
875 extern struct GUIButton *pBtn_History;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
876 extern struct GUIButton *pBtn_Calendar;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
877 extern struct GUIButton *pBtn_Maps;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
878 extern struct GUIButton *pBtn_Autonotes;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
879 extern struct GUIButton *pBtn_Quests;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
880
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
881
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
882 extern struct GUIButton *pMMT_MainMenu_BtnMM6;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
883 extern struct GUIButton *pMMT_MainMenu_BtnMM7;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
884 extern struct GUIButton *pMMT_MainMenu_BtnMM8;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
885 extern struct GUIButton *pMMT_MainMenu_BtnContinue;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
886 extern struct GUIButton *pMMT_MainMenu_BtnExit;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
887
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
888
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
889 extern struct GUIButton *pBtn_Up;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
890 extern struct GUIButton *pBtn_Down;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
891 extern struct GUIButton *ptr_507BA4;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
892
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
893
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
894 extern struct GUIWindow *pPrimaryWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
895 extern struct GUIWindow *pChestWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
896 extern struct GUIWindow *pDialogueWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
897 extern struct GUIWindow *window_SpeakInHouse;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
898 extern struct GUIWindow *pGUIWindow_ScrollWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
899 extern struct GUIWindow *ptr_507BC8;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
900 extern struct GUIWindow *pGUIWindow_CurrentMenu;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
901 extern struct GUIWindow *ptr_507BD0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
902 extern struct GUIWindow *pGUIWindow_Settings;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
903 extern struct GUIWindow *pModalWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
904 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
905 extern struct GUIWindow *pBooksWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
906 extern struct GUIWindow *pGUIWindow2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
907
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
908
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
909 extern struct GUIButton *pBtn_Resume;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
910 extern struct GUIButton *pBtn_QuitGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
911 extern struct GUIButton *pBtn_GameControls;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
912 extern struct GUIButton *pBtn_LoadGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
913 extern struct GUIButton *pBtn_SaveGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
914 extern struct GUIButton *pBtn_NewGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
915
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
916 extern struct GUIButton *pBtn_SliderRight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
917 extern struct GUIButton *pBtn_SliderLeft;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
918
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
919
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
920 extern struct GUIButton *pBtnDownArrow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
921 extern struct GUIButton *pBtnArrowUp;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
922 extern struct GUIButton *pBtnCancel;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
923 extern struct GUIButton *pBtnLoadSlot;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
924
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
925
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
926 extern std::array<GUIButton*, 4> pCreationUI_BtnPressRight2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
927 extern std::array<GUIButton*, 4> pCreationUI_BtnPressLeft2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
928 extern std::array<GUIButton*, 4> pCreationUI_BtnPressLeft;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
929 extern std::array<GUIButton*, 4> pCreationUI_BtnPressRight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
930
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
931 extern int uTextureID_GameUI_CharSelectionFrame; // 50C98C
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
932
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
933 extern unsigned int ui_mainmenu_copyright_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
934 extern unsigned int ui_character_tooltip_header_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
935 extern unsigned int ui_character_default_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
936 extern unsigned int ui_character_skill_highlight_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
937 extern unsigned int ui_character_header_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
938 extern unsigned int ui_character_bonus_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
939 extern unsigned int ui_character_bonus_text_color_neg;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
940 extern unsigned int ui_character_skill_upgradeable_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
941 extern unsigned int ui_character_skill_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
942 extern unsigned int ui_character_stat_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
943 extern unsigned int ui_character_stat_buffed_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
944 extern unsigned int ui_character_stat_debuffed_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
945 extern unsigned int ui_character_skillinfo_can_learn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
946 extern unsigned int ui_character_skillinfo_can_learn_gm;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
947 extern unsigned int ui_character_skillinfo_cant_learn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
948 extern unsigned int ui_character_condition_normal_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
949 extern unsigned int ui_character_condition_light_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
950 extern unsigned int ui_character_condition_moderate_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
951 extern unsigned int ui_character_condition_severe_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
952 extern std::array<unsigned int, 6> ui_character_award_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
953 extern unsigned int ui_game_minimap_outline_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
954 extern unsigned int ui_game_minimap_actor_friendly_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
955 extern unsigned int ui_game_minimap_actor_hostile_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
956 extern unsigned int ui_game_minimap_actor_corpse_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
957 extern unsigned int ui_game_minimap_decoration_color_1;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
958 extern unsigned int ui_game_minimap_projectile_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
959 extern unsigned int ui_game_minimap_treasure_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
960 extern std::array<unsigned int, 24> ui_game_character_record_playerbuff_colors;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
961 extern unsigned int ui_gamemenu_video_gamma_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
962 extern unsigned int ui_gamemenu_keys_action_name_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
963 extern unsigned int ui_gamemenu_keys_key_selection_blink_color_1;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
964 extern unsigned int ui_gamemenu_keys_key_selection_blink_color_2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
965 extern unsigned int ui_gamemenu_keys_key_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
966 extern unsigned int ui_book_quests_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
967 extern unsigned int ui_book_quests_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
968 extern unsigned int ui_book_autonotes_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
969 extern unsigned int ui_book_autonotes_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
970 extern unsigned int ui_book_map_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
971 extern unsigned int ui_book_map_coordinates_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
972 extern unsigned int ui_book_calendar_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
973 extern unsigned int ui_book_calendar_time_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
974 extern unsigned int ui_book_calendar_day_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
975 extern unsigned int ui_book_calendar_month_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
976 extern unsigned int ui_book_calendar_year_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
977 extern unsigned int ui_book_calendar_moon_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
978 extern unsigned int ui_book_calendar_location_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
979 extern unsigned int ui_book_journal_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
980 extern unsigned int ui_book_journal_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
981 extern unsigned int ui_book_journal_text_shadow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
982 extern unsigned int ui_game_dialogue_npc_name_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
983 extern unsigned int ui_game_dialogue_option_highlight_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
984 extern unsigned int ui_game_dialogue_option_normal_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
985 extern unsigned int ui_house_player_cant_interact_color;