annotate GUI/GUIWindow.h @ 2529:dbaf6fc71525

GUIWindow::DrawText: cleaned
author a.parshin
date Mon, 13 Oct 2014 17:18:55 +0300
parents e72e62ec9273
children a902abdfc7f2
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,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
270 WINDOW_OptionsButtons = 3,
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,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
275 WINDOW_Dialogue = 10,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
276 WINDOW_QuickReference = 12,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
277 WINDOW_F = 15,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
278 WINDOW_Rest = 16,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
279 WINDOW_ChangeLocation = 17,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
280 WINDOW_SpellBook = 18,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
281 WINDOW_GreetingNPC = 19,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
282 WINDOW_Chest = 20,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
283 WINDOW_22 = 0x16,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
284 WINDOW_SaveLoadButtons = 23,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
285 WINDOW_MainMenu_Load = 0x18,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
286 WINDOW_HouseInterior = 0x19,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
287 WINDOW_Transition = 26,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
288 WINDOW_CastSpell = 27,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
289 WINDOW_Scroll = 0x1E,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
290 WINDOW_CastSpell_InInventory = 31,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
291 WINDOW_ModalWindow = 70,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
292 WINDOW_50 = 80,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
293 WINDOW_59 = 89,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
294 WINDOW_PressedButton2 = 90,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
295 WINDOW_CharactersPressedButton = 91,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
296 WINDOW_PressedButton = 92,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
297 WINDOW_5D = 93,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
298 WINDOW_SaveLoadBtn = 94,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
299 WINDOW_LoadGame_CancelBtn = 95,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
300 WINDOW_CloseRestWindowBtn = 96,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
301 WINDOW_ExitCharacterWindow = 97,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
302 WINDOW_RestWindow = 0x62,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
303 WINDOW_BooksWindow = 99,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
304 WINDOW_CharacterWindow_Stats = 0x64,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
305 WINDOW_CharacterWindow_Skills = 0x65,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
306 WINDOW_CharacterWindow_Awards = 0x66,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
307 WINDOW_CharacterWindow_Inventory = 0x67,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
308 WINDOW_68 = 104,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
309 WINDOW_KeyMappingOptions = 0x69,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
310 WINDOW_VideoOptions = 0x6A,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
311 WINDOW_LloydsBeacon = 177,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
312 WINDOW_TownPortal = 195,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
313 WINDOW_QuestBook = 200,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
314 WINDOW_AutonotesBook = 0xC9,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
315 WINDOW_MapsBook = 0xCA,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
316 WINDOW_CalendarBook = 0xCB,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
317 WINDOW_JournalBook = 0xE0,
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 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
333 inline GUIWindow()
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
334 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
335 pControlsHead = pControlsTail = nullptr;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
336 eWindowType = WINDOW_null;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
337 }
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
338
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
339 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
340 UIMessageType msg, unsigned int msg_param, unsigned __int8 uHotkey, const char *pName, struct Texture *pTextures, ...);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
341 void DrawFlashingInputCursor(signed int uX, int uY, struct GUIFont *a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
342 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
343 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
344 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
345 void DrawShops_next_generation_time_string(__int64 next_generation_time);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
346 void HouseDialogManager();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
347 void OpenSpellBook();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
348 void InitializeBookView();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
349 void DrawMessageBox(int arg0);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
350 GUIButton *GetControl(unsigned int uID);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
351 void Release();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
352 void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
353 void _41D73D_draw_buff_tooltip();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
354
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
355 static GUIWindow *Create(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, enum WindowType eWindowType, int pButton, const char* hint);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
356
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
357 unsigned int uFrameX;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
358 unsigned int uFrameY;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
359 unsigned int uFrameWidth;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
360 unsigned int uFrameHeight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
361 unsigned int uFrameZ;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
362 unsigned int uFrameW;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
363 WindowType eWindowType;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
364 union{
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
365 void *ptr_1C;// sometimes BuildID_2Events
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
366 unsigned int par1C;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
367 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
368 unsigned int uNumControls;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
369 int field_24;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
370 int pNumPresenceButton;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
371 int pCurrentPosActiveItem;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
372 int field_30;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
373 int field_34;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
374 int pStartingPosActiveItem;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
375 int numVisibleWindows;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
376 int receives_keyboard_input_2; // 0 no input 1 currently typing 2 enter pressed 3 escape pressed
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
377 int receives_keyboard_input;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
378 const char *Hint;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
379 GUIButton *pControlsHead;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
380 GUIButton *pControlsTail;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
381 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
382 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
383
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
384
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
385
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
386
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
387
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
388
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
389
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
390
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
391 enum CURRENT_SCREEN
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
392 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
393 SCREEN_GAME = 0x0,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
394 SCREEN_MENU = 0x1,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
395 SCREEN_OPTIONS = 0x2,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
396 SCREEN_BOOKS = 0x3,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
397 SCREEN_NPC_DIALOGUE = 0x4,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
398 SCREEN_REST = 0x5,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
399 SCREEN_CHARACTERS = 0x7,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
400 SCREEN_SPELL_BOOK = 0x8,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
401 SCREEN_CREATORS = 0x9,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
402 SCREEN_CHEST = 0xA,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
403 SCREEN_SAVEGAME = 0xB,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
404 SCREEN_LOADGAME = 0xC,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
405 SCREEN_HOUSE = 0xD,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
406 SCREEN_E = 0xE,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
407 SCREEN_CHEST_INVENTORY = 0xF,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
408 SCREEN_VIDEO = 0x10,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
409 SCREEN_CHANGE_LOCATION = 0x11,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
410 SCREEN_INPUT_BLV = 0x12,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
411 SCREEN_BRANCHLESS_NPC_DIALOG = 0x13,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
412 SCREEN_PARTY_CREATION = 0x15,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
413 SCREEN_MODAL_WINDOW = 0x16,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
414 SCREEN_CASTING = 0x17,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
415 SCREEN_19 = 0x19,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
416 SCREEN_KEYBOARD_OPTIONS = 0x1A,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
417 SCREEN_1B = 0x1B,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
418 SCREEN_VIDEO_OPTIONS = 0x1C,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
419 SCREEN_63 = 0x63,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
420 SCREEN_64 = 0x64,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
421 SCREEN_67 = 0x67,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
422 SCREEN_QUICK_REFERENCE = 0x68,
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
423 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
424
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
425
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
426
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
427
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
428 /* 249 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
429 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
430 struct GUIMessage
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
431 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
432 enum UIMessageType eType;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
433 int param;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
434 int field_8;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
435 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
436 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
437
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
438
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
439
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
440
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
441 #define AddGUIMessage(msg, param, a4) AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
442 /* 250 */
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
443 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
444 struct GUIMessageQueue
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
445 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
446 inline GUIMessageQueue():
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
447 uNumMessages(0)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
448 {}
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
449
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
450 void Flush();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
451 void PopMessage(UIMessageType *pMsg, int *pParam, int *a4);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
452 void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file = nullptr, int line = 0);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
453
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
454 unsigned int uNumMessages;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
455 GUIMessage pMessages[40];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
456
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
457 const char *files[40];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
458 int lines[40];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
459 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
460 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
461
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
462 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
463
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
464 extern struct GUIMessageQueue *pMessageQueue_50C9E8; // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
465
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
466
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
467
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
468 void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
469
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
470
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
471
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
472 extern int pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[]; // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
473 extern struct GUIWindow *pWindow_MMT_MainMenu;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
474 extern struct GUIWindow *pWindow_MainMenu;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
475 extern std::array<struct GUIWindow, 20> pWindowList;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
476
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
477
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
478
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
479
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
480 void ModalWindow(const char *pStrHint, UIMessageType OnRelease_message);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
481 void ModalWindow_ShowHint();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
482 void ModalWindow_Release();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
483
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
484
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
485
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
486 void draw_leather();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
487
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
488
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
489 // main menu ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
490 void MainMenuUI_LoadFontsAndSomeStuff();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
491 void MainMenuUI_Create();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
492 MENU_STATE MainMenuUI_Credits_Loop();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
493
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
494 // save & load ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
495 void SaveUI_Load();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
496 void SaveUI_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
497
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
498 void LoadUI_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
499 void LoadUI_Load(unsigned int uDialogueType); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
500
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
501 // game ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
502 void GameUI_DrawRightPanel();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
503 void GameUI_DrawRightPanelFrames();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
504 void GameUI_DrawRightPanelItems();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
505 void GameUI_QuickRef_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
506 void GameUI_DrawFoodAndGold();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
507 void GameUI_DrawLifeManaBars();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
508 void GameUI_DrawHiredNPCs();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
509 void GameUI_DrawPortraits(unsigned int _this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
510 void GameUI_Footer();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
511 void GameUI_Footer_2();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
512 void GameUI_SetFooterString(const char *pStr);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
513 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
514 auto GameUI_GetMinimapHintText() -> const char *;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
515 void GameUI_DrawPartySpells();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
516 void GameUI_DrawTorchlightAndWizardEye();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
517 void GameUI_DrawCharacterSelectionFrame();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
518 void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
519 void GameUI_DrawNPCPopup(void *_this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
520
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
521 void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
522 void GameUI_DrawBranchlessDialogue();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
523 void GameUI_DrawDialogue();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
524
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
525
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
526 // game menu ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
527 void GameMenuUI_DrawKeyBindings();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
528 void GameMenuUI_DrawVideoOptions();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
529 void GameMenuUI_Options_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
530
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
531
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
532
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
533
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
534 // character ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
535 struct GUIWindow *CharacterUI_Initialize(unsigned int _this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
536 const char *CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
537 void CharacterUI_SkillsTab_ShowHint();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
538 void CharacterUI_StatsTab_ShowHint();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
539 void CharacterUI_StatsTab_Draw(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
540 void CharacterUI_SkillsTab_CreateButtons();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
541 void CharacterUI_SkillsTab_Draw(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
542 void CharacterUI_AwardsTab_Draw(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
543 void CharacterUI_InventoryTab_Draw(Player *player, bool a2);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
544 void CharacterUI_CharacterScreen_Draw(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
545 void CharacterUI_DrawPaperdoll(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
546 void CharacterUI_DrawPaperdollWithRingOverlay(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
547 void CharacterUI_ReleaseButtons();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
548
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
549 unsigned int GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
550
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
551
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
552
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
553
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
554
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
555 // book ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
556 void BookUI_Draw(WindowType book);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
557 void BookUI_Questbook_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
558 void BookUI_Autonotes_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
559 void BookUI_Map_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
560 void BookUI_Calendar_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
561 void BookUI_Journal_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
562
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
563 void OnCloseBook();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
564 void InitializeBookTextures();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
565 void InitializeBookFonts();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
566 void DrawSpellBookContent(Player *player);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
567 unsigned int DrawLloydBeaconsScreen();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
568 void BookUI_DrawTownPortalMap();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
569 void LoadSpellbook(unsigned int uID); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
570 void DrawSpellDescriptionPopup(int spell_index);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
571 void OnCloseSpellBookPage();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
572 void OnCloseSpellBook();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
573
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
574
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
575
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
576 // rest ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
577 void RestUI_Load();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
578 void RestUI_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
579
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
580
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
581 // transition & travel ui
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
582 void TransitionUI_Load(uint32_t anim_id, uint32_t exit_pic_id, int x, int y, int z, int directiony, int directionx, int a8, const char *pLocationName);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
583 void TransitionUI_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
584
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
585 void TravelUI_Load();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
586 void TravelUI_Draw();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
587
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
588
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
589
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
590
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
591
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
592 void UI_OnMouseRightClick(Vec2_int_ *_this);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
593
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
594 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
595 void DrawMM7CopyrightWindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
596 //void LoadFonts_and_DrawCopyrightWindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
597 void GUI_UpdateWindows();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
598 int GetConditionDrawColor(unsigned int uConditionIdx); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
599 void FillAwardsData();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
600 void CreateAwardsScrollBar();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
601 void ReleaseAwardsScrollBar();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
602 void Inventory_ItemPopupAndAlchemy();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
603 void __fastcall LoadThumbnailLloydTexture(unsigned int uSlot, unsigned int uPlayer);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
604 unsigned int UI_GetHealthManaAndOtherQualitiesStringColor(signed int current_pos, signed int base_pos);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
605 unsigned int __fastcall GetSizeInInventorySlots(unsigned int uNumPixels);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
606 struct GUIButton *__fastcall GUI_HandleHotkey(unsigned __int8 uHotkey); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
607 int __fastcall GUI_ReplaceHotkey(unsigned __int8 uOldHotkey, unsigned __int8 uNewHotkey, char bFirstCall);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
608 void DrawBuff_remaining_time_string(int uY, struct GUIWindow *window, __int64 remaining_time, struct GUIFont *Font);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
609 void GameUI_DrawItemInfo(struct ItemGen* inspect_item); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
610 void MonsterPopup_Draw(unsigned int uActorID, struct GUIWindow *window);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
611 void SetUserInterface(enum PartyAlignment alignment, bool bReplace);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
612 void CreateMsgScrollWindow(signed int mscroll_id);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
613 void free_book_subwindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
614 void CreateScrollWindow();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
615 void OnPaperdollLeftClick();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
616 void DrawJoinGuildWindow(int pEventCode);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
617 void DialogueEnding();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
618 char sub_4637E0_is_there_popup_onscreen();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
619 void sub_4B3E1E();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
620 void __fastcall ClickNPCTopic(signed int uMessageParam);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
621 void __fastcall DrawTextAtStatusBar(const char *Str, int a5);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
622 void _4B3FE5_training_dialogue(int a4);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
623 void OracleDialogue();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
624 void CheckBountyRespawnAndAward();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
625 const char * _4B254D_SkillMasteryTeacher(int trainerInfo);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
626 char *BuildDialogueString(const char *lpsz, unsigned __int8 uPlayerID, struct ItemGen *a3, char *a4, int a5, __int64 *a6);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
627 void __fastcall DrawTextAtStatusBar(const char *Str, int a5);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
628 void ShowStatusBarString(const char *pString, unsigned int uNumSeconds);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
629 void ShowNothingHereStatus();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
630 int const_2();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
631
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
632
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
633 void __fastcall ZBuffer_Fill(int *pZBuffer, int uTextureId, int iZValue);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
634 void __fastcall ZBuffer_DoFill(int *pZBuffer, struct Texture *pTex, int uZValue);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
635 void __fastcall ZBuffer_DoFill2(int *pZBuffer, struct Texture *a2, int a3); // idb
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
636
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
637
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
638
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
639
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
640
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
641
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
642
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
643
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
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
648
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
649
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
650 #pragma pack(push, 1)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
651 struct GUIButton
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
652 {
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
653 void DrawLabel(const char *label_text, struct GUIFont *pFont, int a5, int uFontShadowColor);
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
654
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
655 void Release();
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
656
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
657
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
658 unsigned int uX;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
659 unsigned int uY;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
660 unsigned int uWidth;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
661 unsigned int uHeight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
662 unsigned int uZ;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
663 unsigned int uW;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
664 int uButtonType;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
665 int field_1C;//may be pMessageType
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
666 UIMessageType msg;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
667 unsigned int msg_param;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
668 int field_28;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
669 int field_2C_is_pushed;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
670 GUIButton *pPrev;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
671 GUIButton *pNext;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
672 struct GUIWindow *pParent;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
673 struct Texture *pTextures[5];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
674 unsigned int uNumTextures;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
675 unsigned __int8 uHotkey;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
676 char pButtonName[32];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
677 char field_75[71];
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
678 };
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
679 #pragma pack(pop)
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
680
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
681
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
682
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
683
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
684 extern struct GUIButton *pBtn_CloseBook;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
685 extern struct GUIButton *pBtn_InstallRemoveSpell;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
686 extern struct GUIButton *pBtn_Autonotes_Instructors;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
687 extern struct GUIButton *pBtn_Autonotes_Misc;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
688 extern struct GUIButton *pBtn_Book_6;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
689 extern struct GUIButton *pBtn_Book_5;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
690 extern struct GUIButton *pBtn_Book_4;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
691 extern struct GUIButton *pBtn_Book_3;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
692 extern struct GUIButton *pBtn_Book_2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
693 extern struct GUIButton *pBtn_Book_1;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
694
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
695
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
696 extern struct GUIButton *pPlayerCreationUI_BtnReset;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
697 extern struct GUIButton *pPlayerCreationUI_BtnOK;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
698 extern struct GUIButton *pBtn_ExitCancel;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
699 extern struct GUIButton *pBtn_YES;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
700 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
701 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
702
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
703
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
704 extern struct GUIButton *pButton_RestUI_Main;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
705 extern struct GUIButton *pButton_RestUI_Exit;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
706 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
707 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
708 extern struct GUIButton *pButton_RestUI_Wait1Hour;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
709
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
710
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
711 extern struct GUIButton *pCharacterScreen_ExitBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
712 extern struct GUIButton *pCharacterScreen_AwardsBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
713 extern struct GUIButton *pCharacterScreen_InventoryBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
714 extern struct GUIButton *pCharacterScreen_SkillsBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
715 extern struct GUIButton *pCharacterScreen_StatsBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
716 extern struct GUIButton *pCharacterScreen_DollBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
717 extern struct GUIButton *pCharacterScreen_DetalizBtn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
718
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
719
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
720 extern struct GUIButton *pBtn_NPCRight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
721 extern struct GUIButton *pBtn_NPCLeft;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
722 extern struct GUIButton *pBtn_GameSettings;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
723 extern struct GUIButton *pBtn_QuickReference;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
724 extern struct GUIButton *pBtn_CastSpell;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
725 extern struct GUIButton *pBtn_Rest;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
726 extern struct GUIButton *pBtn_History;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
727 extern struct GUIButton *pBtn_Calendar;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
728 extern struct GUIButton *pBtn_Maps;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
729 extern struct GUIButton *pBtn_Autonotes;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
730 extern struct GUIButton *pBtn_Quests;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
731
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
732
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
733 extern struct GUIButton *pMMT_MainMenu_BtnMM6;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
734 extern struct GUIButton *pMMT_MainMenu_BtnMM7;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
735 extern struct GUIButton *pMMT_MainMenu_BtnMM8;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
736 extern struct GUIButton *pMMT_MainMenu_BtnContinue;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
737 extern struct GUIButton *pMMT_MainMenu_BtnExit;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
738
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
739 extern struct GUIButton *pMainMenu_BtnExit;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
740 extern struct GUIButton *pMainMenu_BtnCredits;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
741 extern struct GUIButton *pMainMenu_BtnLoad;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
742 extern struct GUIButton *pMainMenu_BtnNew;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
743
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
744
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
745 extern struct GUIButton *pBtn_Up;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
746 extern struct GUIButton *pBtn_Down;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
747 extern struct GUIButton *ptr_507BA4;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
748
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
749
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
750 extern struct GUIWindow *pPrimaryWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
751 extern struct GUIWindow *pChestWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
752 extern struct GUIWindow *pDialogueWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
753 extern struct GUIWindow *window_SpeakInHouse;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
754 extern struct GUIWindow *pGUIWindow_ScrollWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
755 extern struct GUIWindow *ptr_507BC8;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
756 extern struct GUIWindow *pGUIWindow_CurrentMenu;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
757 extern struct GUIWindow *ptr_507BD0;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
758 extern struct GUIWindow *pGUIWindow_Settings;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
759 extern struct GUIWindow *pModalWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
760 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
761 extern struct GUIWindow *pBooksWindow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
762 extern struct GUIWindow *pGUIWindow2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
763
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
764
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
765 extern struct GUIButton *pBtn_Resume;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
766 extern struct GUIButton *pBtn_QuitGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
767 extern struct GUIButton *pBtn_GameControls;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
768 extern struct GUIButton *pBtn_LoadGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
769 extern struct GUIButton *pBtn_SaveGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
770 extern struct GUIButton *pBtn_NewGame;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
771
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
772 extern struct GUIButton *pBtn_SliderRight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
773 extern struct GUIButton *pBtn_SliderLeft;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
774
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
775
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
776 extern struct GUIButton *pBtnDownArrow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
777 extern struct GUIButton *pBtnArrowUp;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
778 extern struct GUIButton *pBtnCancel;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
779 extern struct GUIButton *pBtnLoadSlot;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
780
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
781
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
782 extern std::array<GUIButton*, 4> pCreationUI_BtnPressRight2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
783 extern std::array<GUIButton*, 4> pCreationUI_BtnPressLeft2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
784 extern std::array<GUIButton*, 4> pCreationUI_BtnPressLeft;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
785 extern std::array<GUIButton*, 4> pCreationUI_BtnPressRight;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
786
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
787 extern int uTextureID_GameUI_CharSelectionFrame; // 50C98C
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
788
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
789 extern unsigned int ui_mainmenu_copyright_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
790 extern unsigned int ui_character_tooltip_header_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
791 extern unsigned int ui_character_default_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
792 extern unsigned int ui_character_skill_highlight_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
793 extern unsigned int ui_character_header_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
794 extern unsigned int ui_character_bonus_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
795 extern unsigned int ui_character_bonus_text_color_neg;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
796 extern unsigned int ui_character_skill_upgradeable_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
797 extern unsigned int ui_character_skill_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
798 extern unsigned int ui_character_stat_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
799 extern unsigned int ui_character_stat_buffed_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
800 extern unsigned int ui_character_stat_debuffed_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
801 extern unsigned int ui_character_skillinfo_can_learn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
802 extern unsigned int ui_character_skillinfo_can_learn_gm;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
803 extern unsigned int ui_character_skillinfo_cant_learn;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
804 extern unsigned int ui_character_condition_normal_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
805 extern unsigned int ui_character_condition_light_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
806 extern unsigned int ui_character_condition_moderate_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
807 extern unsigned int ui_character_condition_severe_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
808 extern std::array<unsigned int, 6> ui_character_award_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
809 extern unsigned int ui_game_minimap_outline_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
810 extern unsigned int ui_game_minimap_actor_friendly_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
811 extern unsigned int ui_game_minimap_actor_hostile_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
812 extern unsigned int ui_game_minimap_actor_corpse_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
813 extern unsigned int ui_game_minimap_decoration_color_1;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
814 extern unsigned int ui_game_minimap_projectile_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
815 extern unsigned int ui_game_minimap_treasure_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
816 extern std::array<unsigned int, 24> ui_game_character_record_playerbuff_colors;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
817 extern unsigned int ui_gamemenu_video_gamma_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
818 extern unsigned int ui_gamemenu_keys_action_name_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
819 extern unsigned int ui_gamemenu_keys_key_selection_blink_color_1;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
820 extern unsigned int ui_gamemenu_keys_key_selection_blink_color_2;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
821 extern unsigned int ui_gamemenu_keys_key_default_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
822 extern unsigned int ui_book_quests_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
823 extern unsigned int ui_book_quests_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
824 extern unsigned int ui_book_autonotes_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
825 extern unsigned int ui_book_autonotes_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
826 extern unsigned int ui_book_map_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
827 extern unsigned int ui_book_map_coordinates_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
828 extern unsigned int ui_book_calendar_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
829 extern unsigned int ui_book_calendar_time_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
830 extern unsigned int ui_book_calendar_day_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
831 extern unsigned int ui_book_calendar_month_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
832 extern unsigned int ui_book_calendar_year_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
833 extern unsigned int ui_book_calendar_moon_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
834 extern unsigned int ui_book_calendar_location_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
835 extern unsigned int ui_book_journal_title_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
836 extern unsigned int ui_book_journal_text_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
837 extern unsigned int ui_book_journal_text_shadow;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
838 extern unsigned int ui_game_dialogue_npc_name_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
839 extern unsigned int ui_game_dialogue_option_highlight_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
840 extern unsigned int ui_game_dialogue_option_normal_color;
a77c34acdbc9 Media folder
Ritor1
parents:
diff changeset
841 extern unsigned int ui_house_player_cant_interact_color;