annotate GUIWindow.h @ 2159:67a83bc1a7de

uDefaultPartyHeight = 192
author Ritor1
date Mon, 13 Jan 2014 14:31:25 +0600
parents d44b7775fc06
children 1fc4223bddf6
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1458
diff changeset
2
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1458
diff changeset
3 #include <cstdint>
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
4 #include <array>
0
Ritor1
parents:
diff changeset
5
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1458
diff changeset
6 #include "Player.h"
1254
b9747d9e9b4e more included header cleanup
Grumpy7
parents: 1202
diff changeset
7
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
8 enum UIMessageType: unsigned __int32
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
9 {
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
10 UIMSG_0 = 0,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
11
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
12 UIMSG_ChangeGameState = 5,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
13
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
14 UIMSG_MouseLeftClickInGame = 10,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
15
987
9e132060ada3 UIMSG_CHEST_ClickItem
Ritor1
parents: 984
diff changeset
16 UIMSG_CHEST_ClickItem = 12,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
17
990
087a9af8e0ec MessageParam
Ritor1
parents: 987
diff changeset
18 UIMSG_MouseLeftClickInScreen = 14,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
19 UIMSG_F = 15,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
20
1412
182d58b2a34c Harmondale falling under terrain fixed
Nomad
parents: 1411
diff changeset
21 UIMSG_ChangeCursor = 17,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
22
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
23 UIMSG_Attack = 23,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
24
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
25 UIMSG_CastQuickSpell = 25,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
26
1687
5f01f1ed97f4 Player::StealFromActor cleanup, renamed UIMSG_1B to UIMSG_STEALFROMACTOR
Grumpy7
parents: 1512
diff changeset
27 UIMSG_STEALFROMACTOR = 27,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
28 UIMSG_1C = 28,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
29 UIMSG_PlayArcomage = 29,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
30
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
31 UIMSG_31 = 49,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
32 UIMSG_32 = 50,
1118
ca415f6bac1c UIMSG_SpellBook_PressTab
zipi
parents: 1101
diff changeset
33 UIMSG_SpellBook_PressTab = 51,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
34 UIMSG_34 = 52,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
35 UIMSG_35 = 53,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
36 UIMSG_MainMenu_ShowPartyCreationWnd = 54,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
37 UIMSG_MainMenu_ShowLoadWindow = 55,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
38 UIMSG_ShowCredits = 56,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
39 UIMSG_ExitToWindows = 57,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
40 UIMSG_3A = 58,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
41
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
42 UIMSG_PlayerCreationChangeName = 60,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
43
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
44 UIMSG_PlayerCreationClickPlus = 62,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
45 UIMSG_PlayerCreationClickMinus = 63,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
46 UIMSG_PlayerCreationSelectActiveSkill = 64,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
47 UIMSG_PlayerCreationSelectClass = 65,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
48 UIMSG_PlayerCreationClickOK = 66,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
49 UIMSG_PlayerCreationClickReset = 67,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
50 UIMSG_44 = 68,
998
e4383e6dfbef ProcessInput
Ritor1
parents: 997
diff changeset
51 UIMSG_CastSpell_Character_Big_Improvement = 69,
e4383e6dfbef ProcessInput
Ritor1
parents: 997
diff changeset
52 UIMSG_CastSpell_Shoot_Monster = 70,
996
bdbbdfa77ea6 UIMSG_ClickBooksBtn
Ritor1
parents: 990
diff changeset
53 UIMSG_ClickBooksBtn = 71,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
54 UIMSG_48 = 72,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
55 UIMSG_49 = 73,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
56 UIMSG_PlayerCreationRemoveUpSkill = 74,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
57 UIMSG_PlayerCreationRemoveDownSkill = 75,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
58
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
59 UIMSG_HintSelectRemoveQuickSpellBtn = 78,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
60 UIMSG_SPellbook_ShowHightlightedSpellInfo = 79,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
61
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
62 UIMSG_BuyInShop_Identify_Repair = 81,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
63 UIMSG_LoadGame = 82,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
64 UIMSG_SaveGame = 83,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
65 UIMSG_54 = 84,
910
Ritor1
parents: 907
diff changeset
66 UIMSG_ChangeDetaliz = 85,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
67 UIMSG_SelectSpell = 86,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
68 UIMSG_OpenSpellbookPage = 87,
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
69 UIMSG_ClickInstallRemoveQuickSpellBtn = 88,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
70
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
71 UIMSG_OnTravelByFoot = 90,
987
9e132060ada3 UIMSG_CHEST_ClickItem
Ritor1
parents: 984
diff changeset
72 UIMSG_CHANGE_LOCATION_ClickCencelBtn = 91,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
73 UIMSG_ShowStatus_DateTime = 92,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
74 UIMSG_ShowStatus_ManaHP = 93,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
75 UIMSG_ShowStatus_Player = 94,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
76 UIMSG_Wait5Minutes = 95,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
77 UIMSG_Wait1Hour = 96,
907
f3ccfc765502 RentRoom
Ritor1
parents: 900
diff changeset
78 UIMSG_Rest8Hour = 97,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
79
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
80 UIMSG_ShowStatus_Food = 100,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
81 UIMSG_ShowStatus_Funds = 101,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
82
907
f3ccfc765502 RentRoom
Ritor1
parents: 900
diff changeset
83 UIMSG_RestWindow = 104,
f3ccfc765502 RentRoom
Ritor1
parents: 900
diff changeset
84 UIMSG_SpellBookWindow = 105,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
85 UIMSG_QuickReference = 106,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
86 UIMSG_GameMenuButton = 107,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
87
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
88 UIMSG_AlreadyResting = 109,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
89 UIMSG_SelectCharacter = 110,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
90 UIMSG_ChangeSoundVolume = 111,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
91 UIMSG_ChangeMusicVolume = 112,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
92 UIMSG_Escape = 113,
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
93 UIMSG_ClickSkillsBtn = 114,
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
94 UIMSG_ClickStatsBtn = 115,
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
95 UIMSG_ClickInventoryBtn = 116,
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
96 UIMSG_ClickAwardsBtn = 117,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
97 UIMSG_PlayerCreation_SelectAttribute = 118,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
98
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
99 UIMSG_InventoryLeftClick = 120,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
100 UIMSG_SkillUp = 121,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
101 UIMSG_7A = 122,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
102 UIMSG_GameMenu_ReturnToGame = 123,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
103 UIMSG_StartNewGame = 124,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
104 UIMSG_Game_OpenLoadGameDialog = 125,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
105 UIMSG_Game_OpenSaveGameDialog = 126,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
106 UIMSG_Game_OpenOptionsDialog = 127,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
107 UIMSG_80 = 128,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
108
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
109 UIMSG_SetGraphicsMode = 131,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
110 UIMSG_Quit = 132,
910
Ritor1
parents: 907
diff changeset
111 UIMSG_ClickPaperdoll = 133,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
112 UIMSG_StartHireling1Dialogue = 134,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
113 UIMSG_StartHireling2Dialogue = 135,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
114 UIMSG_SelectNPCDialogueOption = 136,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
115
998
e4383e6dfbef ProcessInput
Ritor1
parents: 997
diff changeset
116 UIMSG_CastSpell_Monster_Improvement = 140,
e4383e6dfbef ProcessInput
Ritor1
parents: 997
diff changeset
117 UIMSG_CastSpell_Character_Small_Improvement = 141,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
118 UIMSG_CastSpellFromBook = 142,
998
e4383e6dfbef ProcessInput
Ritor1
parents: 997
diff changeset
119 UIMSG_HiredNPC_CastSpell = 143,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
120 UIMSG_PlayerCreation_VoicePrev = 144,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
121 UIMSG_PlayerCreation_VoiceNext = 145,
1019
32ec62bbaa2c player use item part cleanup
Gloval
parents: 1012
diff changeset
122 UIMSG_SpellScrollUse = 146,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
123
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
124 UIMSG_StartNPCDialogue = 161,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
125 UIMSG_ArrowUp = 162,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
126 UIMSG_DownArrow = 163,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
127 UIMSG_SaveLoadBtn = 164,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
128 UIMSG_SelectLoadSlot = 165,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
129 UIMSG_Cancel = 166,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
130 UIMSG_ExitRest = 167,
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
131 UIMSG_ClickExitCharacterWindowBtn = 168,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
132 UIMSG_ClickAwardsUpBtn = 169,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
133 UIMSG_ClickAwardsDownBtn = 170,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
134 UIMSG_PlayerCreation_FacePrev = 171,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
135 UIMSG_PlayerCreation_FaceNext = 172,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
136 UIMSG_AD = 173,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
137 UIMSG_AE = 174,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
138 UIMSG_ClickNPCTopic = 175,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
139 UIMSG_CycleCharacters = 176,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
140 UIMSG_OnCastLloydsBeacon = 177,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
141 UIMSG_LloydsBeacon_FlippingBtn = 178,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
142 UIMSG_InstallBeacon = 179,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
143 UIMSG_HintBeaconSlot = 180,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
144 UIMSG_CloseAfterInstallBeacon = 181,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
145 UIMSG_HintTownPortal = 182,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
146 UIMSG_ClickTownInTP = 183,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
147 UIMSG_SetTurnSpeed = 184,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
148 UIMSG_ToggleWalkSound = 185,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
149 UIMSG_ChangeVoiceVolume = 186,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
150 UIMSG_ToggleShowDamage = 187,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
151 UIMSG_ScrollNPCPanel = 188,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
152 UIMSG_BD = 189,
1326
e70fe5d77928 UIMSG_CastSpell_Telekinesis
Ritor1
parents: 1268
diff changeset
153 UIMSG_CastSpell_Telekinesis = 190,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
154 UIMSG_BF = 191,
1101
3e5d70cfe20e Award order fix, changed UIMSG_C0 to UIMSG_ClickAwardScrollBar
Grumpy7
parents: 1038
diff changeset
155 UIMSG_ClickAwardScrollBar = 192,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
156 UIMSG_C1 = 192,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
157 UIMSG_C2 = 192,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
158
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
159 UIMSG_OnCastTownPortal = 195,
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
160 UIMSG_OnFinalWindowClose = 196,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
161 UIMSG_ShowFinalWindow = 197,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
162 UIMSG_C6 = 198,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
163 UIMSG_C7 = 199,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
164 UIMSG_OpenQuestBook = 200,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
165 UIMSG_OpenAutonotes = 201,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
166 UIMSG_OpenMapBook = 202,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
167 UIMSG_OpenCalendar = 203,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
168 UIMSG_CC = 204,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
169 UIMSG_CD = 205,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
170 UIMSG_CE = 206,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
171 UIMSG_CF = 207,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
172 UIMSG_D0 = 208,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
173 UIMSG_D1 = 209,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
174 UIMSG_D2 = 210,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
175 UIMSG_D3 = 211,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
176 UIMSG_D4 = 212,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
177 UIMSG_D5 = 213,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
178 UIMSG_D6 = 214,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
179
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
180 UIMSG_DD = 221,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
181
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
182 UIMSG_OpenHistoryBook = 224,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
183 UIMSG_ToggleAlwaysRun = 225,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
184 UIMSG_ToggleFlipOnExit = 226,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
185
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
186 UIMSG_ClickZoomOutBtn = 367,
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
187 UIMSG_ClickZoomInBtn = 368,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
188
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
189 UIMSG_Game_Action = 404,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
190 UIMSG_SelectShopDialogueOption = 405,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
191
907
f3ccfc765502 RentRoom
Ritor1
parents: 900
diff changeset
192 UIMSG_RentRoom = 409,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
193 UIMSG_ClickHouseNPCPortrait = 410,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
194 UIMSG_TransitionUI_Confirm = 411,
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
195 UIMSG_TransitionWindowCloseBtn = 412,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
196
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
197 UIMSG_OpenKeyMappingOptions = 415,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
198 UIMSG_SelectKeyPage1 = 416,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
199 UIMSG_SelectKeyPage2 = 417,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
200 UIMSG_ResetKeyMapping = 418,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
201 UIMSG_ChangeKeyButton = 419,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
202
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
203 UIMSG_OpenVideoOptions = 421,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
204 UIMSG_ToggleBloodsplats = 422,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
205 UIMSG_ToggleColoredLights = 423,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
206 UIMSG_ToggleTint = 424,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
207 UIMSG_1A9 = 425,
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
208 };
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
209
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
210
0
Ritor1
parents:
diff changeset
211 /* 251 */
Ritor1
parents:
diff changeset
212 enum MENU_STATE : __int32
Ritor1
parents:
diff changeset
213 {
982
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
214 MENU_MAIN = 0,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
215 MENU_NEWGAME = 1,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
216 MENU_CREDITS = 2,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
217 MENU_SAVELOAD = 3,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
218 MENU_EXIT_GAME = 4,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
219 MENU_5 = 5,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
220 MENU_CREATEPARTY = 6,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
221 MENU_NAMEPANELESC = 7,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
222 MENU_CREDITSPROC = 8,
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
223 MENU_LoadingProcInMainMenu = 9,
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
224 MENU_DebugBLVLevel = 10,
982
08fd1436ef35 enums & lod
Nomad
parents: 972
diff changeset
225 MENU_CREDITSCLOSE = 11,
0
Ritor1
parents:
diff changeset
226 };
Ritor1
parents:
diff changeset
227
Ritor1
parents:
diff changeset
228
167
90521fb9766c NPCDialogue fix
Ritor1
parents: 165
diff changeset
229 enum DIALOGUE_TYPE
90521fb9766c NPCDialogue fix
Ritor1
parents: 165
diff changeset
230 {
1413
3881d2f94eb1 UseNPCSkill
Nomad
parents: 1412
diff changeset
231 DIALOGUE_USE_NPC_ABILITY = 9,
179
f102bbff6fd8 15.02.13 Water
Ritor1
parents: 174
diff changeset
232 DIALOGUE_13 = 0xD,
f102bbff6fd8 15.02.13 Water
Ritor1
parents: 174
diff changeset
233 DIALOGUE_18 = 0x12,
2102
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
234 DIALOGUE_EVT_A = 19,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
235 DIALOGUE_EVT_B = 20,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
236 DIALOGUE_EVT_C = 21,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
237 DIALOGUE_EVT_D = 22,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
238 DIALOGUE_EVT_E = 23,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
239 DIALOGUE_EVT_F = 0x18,
248
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
240 DIALOGUE_76 = 76,
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
241 DIALOGUE_PROFESSION_DETAILS = 77,
2102
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
242 DIALOGUE_84 = 84,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
243 DIALOGUE_ARENA_SELECT_PAGE = 85,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
244 DIALOGUE_ARENA_SELECT_SQUIRE = 86,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
245 DIALOGUE_ARENA_SELECT_KNIGHT = 87,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
246 DIALOGUE_ARENA_SELECT_CHAMPION = 88,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
247 DIALOGUE_ARENA_WELCOME = 89,
0db53678ff48 RasterLine2D, DIALOGUE_EVT_A etc.
Ritor1
parents: 2006
diff changeset
248 DIALOGUE_ARENA_FIGHT_NOT_OVER_YET = 90,
179
f102bbff6fd8 15.02.13 Water
Ritor1
parents: 174
diff changeset
249 DIALOGUE_ARENA_REWARD = 0x5B,
f102bbff6fd8 15.02.13 Water
Ritor1
parents: 174
diff changeset
250 DIALOGUE_ARENA_ALREADY_WON = 0x5C,
167
90521fb9766c NPCDialogue fix
Ritor1
parents: 165
diff changeset
251 };
0
Ritor1
parents:
diff changeset
252
Ritor1
parents:
diff changeset
253
Ritor1
parents:
diff changeset
254
Ritor1
parents:
diff changeset
255
Ritor1
parents:
diff changeset
256
Ritor1
parents:
diff changeset
257 /* 298 */
Ritor1
parents:
diff changeset
258 enum WindowType: unsigned __int32
Ritor1
parents:
diff changeset
259 {
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
260 WINDOW_null = 0,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
261 WINDOW_MainMenu = 1,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
262 WINDOW_OptionsButtons = 3,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
263 WINDOW_CharacterRecord = 4,
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
264 WINDOW_Options = 6,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
265 WINDOW_8 = 8,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
266 WINDOW_Book = 9,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
267 WINDOW_Dialogue = 10,
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
268 WINDOW_QuickReference = 12,
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
269 WINDOW_F = 15,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
270 WINDOW_Rest = 16,
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
271 WINDOW_ChangeLocation = 17,
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
272 WINDOW_SpellBook = 18,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
273 WINDOW_GreetingNPC = 19,
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
274 WINDOW_Chest = 20,
990
087a9af8e0ec MessageParam
Ritor1
parents: 987
diff changeset
275 WINDOW_22 = 0x16,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
276 WINDOW_SaveLoadButtons = 23,
0
Ritor1
parents:
diff changeset
277 WINDOW_MainMenu_Load = 0x18,
Ritor1
parents:
diff changeset
278 WINDOW_HouseInterior = 0x19,
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
279 WINDOW_Transition = 26,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
280 WINDOW_CastSpell = 27,
158
f4ebd13c2a8e 13.02.13
Ritor1
parents: 151
diff changeset
281 WINDOW_Scroll = 0x1E,
898
10fa7dad1391 DrawPaperdoll clean
Ritor1
parents: 832
diff changeset
282 WINDOW_CastSpell_InInventory = 31,
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
283 WINDOW_ModalWindow = 70,
962
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
284 WINDOW_50 = 80,
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
285 WINDOW_59 = 89,
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
286 WINDOW_PressedButton2 = 90,
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
287 WINDOW_CharactersPressedButton = 91,
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
288 WINDOW_PressedButton = 92,
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
289 WINDOW_5D = 93,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
290 WINDOW_SaveLoadBtn = 94,
962
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
291 WINDOW_LoadGame_CancelBtn = 95,
0423c40d7e88 UpdateWindows and pWindow->Release
Ritor1
parents: 961
diff changeset
292 WINDOW_CloseRestWindowBtn = 96,
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
293 WINDOW_ExitCharacterWindow = 97,
17
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
294 WINDOW_RestWindow = 0x62,
960
9a5db2cf999a UIMSG and WINDOW_Type
Ritor1
parents: 959
diff changeset
295 WINDOW_BooksWindow = 99,
17
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
296 WINDOW_CharacterWindow_Stats = 0x64,
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
297 WINDOW_CharacterWindow_Skills = 0x65,
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
298 WINDOW_CharacterWindow_Awards = 0x66,
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
299 WINDOW_CharacterWindow_Inventory = 0x67,
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
300 WINDOW_68 = 104,
0
Ritor1
parents:
diff changeset
301 WINDOW_KeyMappingOptions = 0x69,
17
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
302 WINDOW_VideoOptions = 0x6A,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
303 WINDOW_LloydsBeacon = 177,
710
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
304 WINDOW_TownPortal = 195,
735dab8d3c9a Town portal screen + misc gui const replacements
Nomad
parents: 688
diff changeset
305 WINDOW_QuestBook = 200,
17
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
306 WINDOW_AutonotesBook = 0xC9,
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
307 WINDOW_MapsBook = 0xCA,
fe0d9a98213f 17.01.13 (fix Hint error)
Ritor1
parents: 11
diff changeset
308 WINDOW_CalendarBook = 0xCB,
1004
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
309 WINDOW_JournalBook = 0xE0,
0
Ritor1
parents:
diff changeset
310 };
Ritor1
parents:
diff changeset
311
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
312 struct GUIButton;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
313 struct Texture;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
314
1038
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
315
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
316 #define WINDOW_INPUT_NONE 0
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
317 #define WINDOW_INPUT_IN_PROGRESS 1
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
318 #define WINDOW_INPUT_CONFIRMED 2
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
319 #define WINDOW_INPUT_CANCELLED 3
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
320
0
Ritor1
parents:
diff changeset
321 /* 155 */
Ritor1
parents:
diff changeset
322 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
323 struct GUIWindow
Ritor1
parents:
diff changeset
324 {
200
1527f66fd81b Buffer overflow in credits window
Nomad
parents: 199
diff changeset
325 inline GUIWindow()
1527f66fd81b Buffer overflow in credits window
Nomad
parents: 199
diff changeset
326 {
1527f66fd81b Buffer overflow in credits window
Nomad
parents: 199
diff changeset
327 pControlsHead = pControlsTail = nullptr;
1527f66fd81b Buffer overflow in credits window
Nomad
parents: 199
diff changeset
328 eWindowType = WINDOW_null;
1527f66fd81b Buffer overflow in credits window
Nomad
parents: 199
diff changeset
329 }
1527f66fd81b Buffer overflow in credits window
Nomad
parents: 199
diff changeset
330
189
038a4d09406f new texts file, fix text rendender error
Gloval
parents: 179
diff changeset
331 GUIButton *CreateButton(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int a6, int a7,
1262
0aeac0b9ca30 included header cleanup
Grumpy7
parents: 1254
diff changeset
332 UIMessageType msg, unsigned int msg_param, unsigned __int8 uHotkey, const char *pName, struct Texture *pTextures, ...);
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
333 void DrawFlashingInputCursor(signed int uX, int uY, struct GUIFont *a2);
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
334 int DrawTextInRect(GUIFont *pFont, unsigned int uX, unsigned int uY, unsigned int uColor, const char *text, int rect_width, int reverse_text);
2006
30c2b575d25c signed fixes
zipi
parents: 1758
diff changeset
335 void DrawText(GUIFont *a2, signed int uX, int uY, unsigned int uFontColor, const char *Str, int a7, int a8, signed int uFontShadowColor);
762
cf2fbac6edc9 Misc cleaning
Nomad
parents: 735
diff changeset
336 void DrawTitleText(GUIFont *a2, signed int uHorizontalMargin, unsigned int uVerticalMargin, unsigned __int16 uDefaultColor, const char *pInString, unsigned int uLineSpacing);
1758
24e756a50073 DrawBuff_remaind_time_string and DrawShops_next_generation_time_string fix and cleared
Ritor1
parents: 1687
diff changeset
337 void DrawShops_next_generation_time_string(__int64 next_generation_time);
405
c0700eaabeb8 AnimatedRooms fix and change name of function
Ritor1
parents: 371
diff changeset
338 void HouseDialogManager();
198
e6e348d66a75 Some work on spellbook
Nomad
parents: 190
diff changeset
339 void OpenSpellBook();
0
Ritor1
parents:
diff changeset
340 void InitializeBookView();
Ritor1
parents:
diff changeset
341 void DrawMessageBox(int arg0);
Ritor1
parents:
diff changeset
342 GUIButton *GetControl(unsigned int uID);
Ritor1
parents:
diff changeset
343 void Release();
1411
2423bc2af692 +InitializaDialogueOptions
Nomad
parents: 1402
diff changeset
344 void _41D08F_set_keyboard_control_group(int num_buttons, int a3, int a4, int a5);
1006
e865f349aa41 ui cleanup
Gloval
parents: 1004
diff changeset
345 void _41D73D_draw_buff_tooltip();
0
Ritor1
parents:
diff changeset
346
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
347 static GUIWindow *Create(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, enum WindowType eWindowType, int pButton, const char* hint);
0
Ritor1
parents:
diff changeset
348
Ritor1
parents:
diff changeset
349 unsigned int uFrameX;
Ritor1
parents:
diff changeset
350 unsigned int uFrameY;
Ritor1
parents:
diff changeset
351 unsigned int uFrameWidth;
Ritor1
parents:
diff changeset
352 unsigned int uFrameHeight;
Ritor1
parents:
diff changeset
353 unsigned int uFrameZ;
Ritor1
parents:
diff changeset
354 unsigned int uFrameW;
Ritor1
parents:
diff changeset
355 WindowType eWindowType;
496
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
356 union{
917
ae9e2a339b09 disappear items fix
Ritor1
parents: 910
diff changeset
357 void *ptr_1C;// sometimes BuildID_2Events
496
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
358 unsigned int par1C;
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
359 };
0
Ritor1
parents:
diff changeset
360 unsigned int uNumControls;
Ritor1
parents:
diff changeset
361 int field_24;
Ritor1
parents:
diff changeset
362 int pNumPresenceButton;
Ritor1
parents:
diff changeset
363 int pCurrentPosActiveItem;
Ritor1
parents:
diff changeset
364 int field_30;
Ritor1
parents:
diff changeset
365 int field_34;
Ritor1
parents:
diff changeset
366 int pStartingPosActiveItem;
496
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
367 int numVisibleWindows;
1038
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
368 int receives_keyboard_input_2; // 0 no input 1 currently typing 2 enter pressed 3 escape pressed
972
c8a0f6d89c70 Some inqury on selecting Knight bug.
Nomad
parents: 962
diff changeset
369 int receives_keyboard_input;
1268
2929c4406d2c guiwindow funcs cleanup
Gloval
parents: 1262
diff changeset
370 const char *Hint;
0
Ritor1
parents:
diff changeset
371 GUIButton *pControlsHead;
Ritor1
parents:
diff changeset
372 GUIButton *pControlsTail;
Ritor1
parents:
diff changeset
373 };
Ritor1
parents:
diff changeset
374 #pragma pack(pop)
Ritor1
parents:
diff changeset
375
Ritor1
parents:
diff changeset
376
Ritor1
parents:
diff changeset
377
Ritor1
parents:
diff changeset
378
Ritor1
parents:
diff changeset
379
Ritor1
parents:
diff changeset
380
495
90fdb47bfcba guilds ...
Gloval
parents: 481
diff changeset
381
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 623
diff changeset
382
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
383 enum CURRENT_SCREEN
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
384 {
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
385 SCREEN_GAME = 0x0,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
386 SCREEN_MENU = 0x1,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
387 SCREEN_OPTIONS = 0x2,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
388 SCREEN_BOOKS = 0x3,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
389 SCREEN_NPC_DIALOGUE = 0x4,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
390 SCREEN_REST = 0x5,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
391 SCREEN_CHARACTERS = 0x7,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
392 SCREEN_SPELL_BOOK = 0x8,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
393 SCREEN_CREATORS = 0x9,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
394 SCREEN_CHEST = 0xA,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
395 SCREEN_SAVEGAME = 0xB,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
396 SCREEN_LOADGAME = 0xC,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
397 SCREEN_HOUSE = 0xD,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
398 SCREEN_E = 0xE,
987
9e132060ada3 UIMSG_CHEST_ClickItem
Ritor1
parents: 984
diff changeset
399 SCREEN_CHEST_INVENTORY = 0xF,
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
400 SCREEN_VIDEO = 0x10,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
401 SCREEN_CHANGE_LOCATION = 0x11,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
402 SCREEN_INPUT_BLV = 0x12,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
403 SCREEN_BRANCHLESS_NPC_DIALOG = 0x13,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
404 SCREEN_PARTY_CREATION = 0x15,
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
405 SCREEN_MODAL_WINDOW = 0x16,
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
406 SCREEN_CASTING = 0x17,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
407 SCREEN_19 = 0x19,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
408 SCREEN_KEYBOARD_OPTIONS = 0x1A,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
409 SCREEN_1B = 0x1B,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
410 SCREEN_VIDEO_OPTIONS = 0x1C,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
411 SCREEN_63 = 0x63,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
412 SCREEN_64 = 0x64,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
413 SCREEN_67 = 0x67,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
414 SCREEN_QUICK_REFERENCE = 0x68,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
415 };
0
Ritor1
parents:
diff changeset
416
Ritor1
parents:
diff changeset
417
Ritor1
parents:
diff changeset
418
Ritor1
parents:
diff changeset
419
Ritor1
parents:
diff changeset
420 /* 249 */
Ritor1
parents:
diff changeset
421 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
422 struct GUIMessage
Ritor1
parents:
diff changeset
423 {
Ritor1
parents:
diff changeset
424 enum UIMessageType eType;
Ritor1
parents:
diff changeset
425 int param;
Ritor1
parents:
diff changeset
426 int field_8;
Ritor1
parents:
diff changeset
427 };
Ritor1
parents:
diff changeset
428 #pragma pack(pop)
Ritor1
parents:
diff changeset
429
Ritor1
parents:
diff changeset
430
Ritor1
parents:
diff changeset
431
Ritor1
parents:
diff changeset
432
437
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
433 #define AddMessage(msg, param, a4) AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__)
0
Ritor1
parents:
diff changeset
434 /* 250 */
Ritor1
parents:
diff changeset
435 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
436 struct GUIMessageQueue
Ritor1
parents:
diff changeset
437 {
Ritor1
parents:
diff changeset
438 inline GUIMessageQueue():
Ritor1
parents:
diff changeset
439 uNumMessages(0)
Ritor1
parents:
diff changeset
440 {}
Ritor1
parents:
diff changeset
441
783
b27dd658ea77 Taveling by foot fixed.
Nomad
parents: 762
diff changeset
442 void Flush();
0
Ritor1
parents:
diff changeset
443 void PopMessage(UIMessageType *pMsg, int *pParam, int *a4);
437
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
444 void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file = nullptr, int line = 0);
0
Ritor1
parents:
diff changeset
445
Ritor1
parents:
diff changeset
446 unsigned int uNumMessages;
Ritor1
parents:
diff changeset
447 GUIMessage pMessages[40];
437
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
448
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
449 const char *files[40];
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
450 int lines[40];
0
Ritor1
parents:
diff changeset
451 };
Ritor1
parents:
diff changeset
452 #pragma pack(pop)
Ritor1
parents:
diff changeset
453
Ritor1
parents:
diff changeset
454 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb
Ritor1
parents:
diff changeset
455
1012
9e823ad5eaa6 second msg_queue returned
Gloval
parents: 1006
diff changeset
456 extern struct GUIMessageQueue *pMessageQueue_50C9E8; // idb
0
Ritor1
parents:
diff changeset
457
Ritor1
parents:
diff changeset
458
248
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
459
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 629
diff changeset
460 void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType);
248
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
461
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
462
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
463
0
Ritor1
parents:
diff changeset
464 extern int pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[]; // idb
Ritor1
parents:
diff changeset
465 extern struct GUIWindow *pWindow_MainMenu;
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
466 extern std::array<struct GUIWindow, 20> pWindowList;
566
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
467
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
468
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
469
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
470
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
471 void ModalWindow(const char *pStrHint, UIMessageType OnRelease_message);
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
472 void ModalWindow_ShowHint();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
473 void ModalWindow_Release();
566
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
474
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
475
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
476
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
477 void draw_leather();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
478
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
479
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
480 // main menu ui
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
481 void MainMenuUI_LoadFontsAndSomeStuff();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
482 void MainMenuUI_Create();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
483 MENU_STATE MainMenuUI_Credits_Loop();
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
484
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
485 // save & load ui
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
486 void SaveUI_Load();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
487 void SaveUI_Draw();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
488
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
489 void LoadUI_Draw();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
490 void LoadUI_Load(unsigned int uDialogueType); // idb
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
491
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
492 // game ui
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
493 void GameUI_DrawRightPanel();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
494 void GameUI_DrawRightPanelFrames();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
495 void GameUI_DrawRightPanelItems();
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
496 void GameUI_QuickRef_Draw();
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
497 void GameUI_DrawFoodAndGold();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
498 void GameUI_DrawLifeManaBars();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
499 void GameUI_DrawHiredNPCs();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
500 void GameUI_DrawPortraits(unsigned int _this);
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
501 void GameUI_Footer();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
502 void GameUI_Footer_2();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
503 void GameUI_SetFooterString(const char *pStr);
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
504 void GameUI_DrawMinimap(unsigned int uX, unsigned int uY, unsigned int uZ, unsigned int uW, unsigned int uZoom, unsigned int bRedrawOdmMinimap);
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
505 auto GameUI_GetMinimapHintText() -> const char *;
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
506 void GameUI_DrawPartySpells();
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
507 void GameUI_DrawTorchlightAndWizardEye();
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
508 void GameUI_DrawCharacterSelectionFrame();
1004
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
509 void GameUI_CharacterQuickRecord_Draw(GUIWindow *window, Player *player);
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
510 void GameUI_DrawNPCPopup(void *_this);
816
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
511
2152
d44b7775fc06 Removed DirectDraw2 compatibility.
Nomad
parents: 2102
diff changeset
512 void GameUI_InitializeDialogue(struct Actor *actor, int bPlayerSaysHello);
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
513 void GameUI_DrawBranchlessDialogue();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
514 void GameUI_DrawDialogue();
816
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
515
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
516
1031
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
517 // game menu ui
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
518 void GameMenuUI_DrawKeyBindings();
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
519 void GameMenuUI_DrawVideoOptions();
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
520 void GameMenuUI_Options_Draw();
816
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
521
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
522
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
523
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
524
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
525 // character ui
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
526 struct GUIWindow *CharacterUI_Initialize(unsigned int _this);
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
527 const char *CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType);
1006
e865f349aa41 ui cleanup
Gloval
parents: 1004
diff changeset
528 void CharacterUI_SkillsTab_ShowHint();
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
529 void CharacterUI_StatsTab_ShowHint();
1006
e865f349aa41 ui cleanup
Gloval
parents: 1004
diff changeset
530 void CharacterUI_StatsTab_Draw(Player *player);
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
531 void CharacterUI_SkillsTab_CreateButtons();
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
532 void CharacterUI_SkillsTab_Draw(Player *player);
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
533 void CharacterUI_AwardsTab_Draw(Player *player);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
534 void CharacterUI_InventoryTab_Draw(Player *player, bool a2);
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
535 void CharacterUI_CharacterScreen_Draw(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
536 void CharacterUI_DrawPaperdoll(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
537 void CharacterUI_DrawPaperdollWithRingOverlay(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
538 void CharacterUI_ReleaseButtons();
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
539
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
540 unsigned int GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level);
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
541
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
542
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
543
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
544
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
545
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
546 // book ui
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
547 void BookUI_Draw(WindowType book);
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
548 void BookUI_Questbook_Draw();
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
549 void BookUI_Autonotes_Draw();
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
550 void BookUI_Map_Draw();
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
551 void BookUI_Calendar_Draw();
1004
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
552 void BookUI_Journal_Draw();
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
553
1402
a519a6a412d0 CloseSpellBook and close SpellBookPage
Ritor1
parents: 1393
diff changeset
554 void OnCloseBook();
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
555 void InitializeBookTextures();
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
556 void InitializeBookFonts();
1004
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
557 void DrawSpellBookContent(Player *player);
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
558 unsigned int DrawLloydBeaconsScreen();
1038
39f42990698f Cleanings
Nomad
parents: 1033
diff changeset
559 void BookUI_DrawTownPortalMap();
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
560 void LoadSpellbook(unsigned int uID); // idb
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
561 void DrawSpellDescriptionPopup(int spell_index);
1402
a519a6a412d0 CloseSpellBook and close SpellBookPage
Ritor1
parents: 1393
diff changeset
562 void OnCloseSpellBookPage();
a519a6a412d0 CloseSpellBook and close SpellBookPage
Ritor1
parents: 1393
diff changeset
563 void OnCloseSpellBook();
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
564
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
565
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
566
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
567 // rest ui
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
568 void RestUI_Load();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
569 void RestUI_Draw();
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
570
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
571
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
572 // transition & travel ui
1512
af57b3b76fe4 Clean and decouple. (1)
yoctozepto
parents: 1458
diff changeset
573 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);
1033
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
574 void TransitionUI_Draw();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
575
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
576 void TravelUI_Load();
3a5c8df8381d * UI cleans and moves
Nomad
parents: 1031
diff changeset
577 void TravelUI_Draw();
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
578
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
579
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
580
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
581
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
582
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
583
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
584 void __fastcall DrawPopupWindow(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight); // idb
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
585 void DrawCopyrightWindow();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
586 void LoadFonts_and_DrawCopyrightWindow();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
587 void GUI_UpdateWindows();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
588 int GetConditionDrawColor(unsigned int uConditionIdx); // idb
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
589 void FillAwardsData();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
590 void CreateAwardsScrollBar();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
591 void ReleaseAwardsScrollBar();
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
592
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
593
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
594
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
595
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
596
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
597
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
598
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
599
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
600
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
601
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
602
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
603
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
604
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
605
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
606
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
607
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
608 #pragma pack(push, 1)
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
609 struct GUIButton
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
610 {
1006
e865f349aa41 ui cleanup
Gloval
parents: 1004
diff changeset
611 void DrawLabel(const char *label_text, struct GUIFont *pFont, int a5, int uFontShadowColor);
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
612
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
613 void Release();
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
614
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
615
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
616 unsigned int uX;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
617 unsigned int uY;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
618 unsigned int uWidth;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
619 unsigned int uHeight;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
620 unsigned int uZ;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
621 unsigned int uW;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
622 int uButtonType;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
623 int field_1C;//may be pMessageType
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
624 UIMessageType msg;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
625 unsigned int msg_param;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
626 int field_28;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
627 int field_2C_is_pushed;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
628 GUIButton *pPrev;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
629 GUIButton *pNext;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
630 struct GUIWindow *pParent;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
631 struct Texture *pTextures[5];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
632 unsigned int uNumTextures;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
633 unsigned __int8 uHotkey;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
634 char pButtonName[32];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
635 char field_75[71];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
636 };
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
637 #pragma pack(pop)
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
638
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
639
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
640
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
641
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
642 extern struct GUIButton *pBtn_CloseBook;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
643 extern struct GUIButton *pBtn_InstallRemoveSpell;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
644 extern struct GUIButton *pBtn_Autonotes_Instructors;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
645 extern struct GUIButton *pBtn_Autonotes_Misc;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
646 extern struct GUIButton *pBtn_Book_6;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
647 extern struct GUIButton *pBtn_Book_5;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
648 extern struct GUIButton *pBtn_Book_4;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
649 extern struct GUIButton *pBtn_Book_3;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
650 extern struct GUIButton *pBtn_Book_2;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
651 extern struct GUIButton *pBtn_Book_1;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
652
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
653
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
654 extern struct GUIButton *pPlayerCreationUI_BtnReset;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
655 extern struct GUIButton *pPlayerCreationUI_BtnOK;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
656 extern struct GUIButton *pBtn_ExitCancel;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
657 extern struct GUIButton *pBtn_YES;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
658 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
659 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
660
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
661
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
662 extern struct GUIButton *pButton_RestUI_Main;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
663 extern struct GUIButton *pButton_RestUI_Exit;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
664 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
665 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
666 extern struct GUIButton *pButton_RestUI_Wait1Hour;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
667
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
668
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
669 extern struct GUIButton *pCharacterScreen_ExitBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
670 extern struct GUIButton *pCharacterScreen_AwardsBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
671 extern struct GUIButton *pCharacterScreen_InventoryBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
672 extern struct GUIButton *pCharacterScreen_SkillsBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
673 extern struct GUIButton *pCharacterScreen_StatsBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
674 extern struct GUIButton *pCharacterScreen_DollBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
675 extern struct GUIButton *pCharacterScreen_DetalizBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
676
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
677
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
678 extern struct GUIButton *pBtn_NPCRight;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
679 extern struct GUIButton *pBtn_NPCLeft;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
680 extern struct GUIButton *pBtn_GameSettings;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
681 extern struct GUIButton *pBtn_QuickReference;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
682 extern struct GUIButton *pBtn_CastSpell;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
683 extern struct GUIButton *pBtn_Rest;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
684 extern struct GUIButton *pBtn_History;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
685 extern struct GUIButton *pBtn_Calendar;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
686 extern struct GUIButton *pBtn_Maps;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
687 extern struct GUIButton *pBtn_Autonotes;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
688 extern struct GUIButton *pBtn_Quests;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
689
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
690
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
691 extern struct GUIButton *pMainMenu_BtnExit;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
692 extern struct GUIButton *pMainMenu_BtnCredits;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
693 extern struct GUIButton *pMainMenu_BtnLoad;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
694 extern struct GUIButton *pMainMenu_BtnNew;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
695
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
696
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
697 extern struct GUIButton *pBtn_Up;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
698 extern struct GUIButton *pBtn_Down;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
699 extern struct GUIButton *ptr_507BA4;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
700
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
701
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
702 extern struct GUIWindow *pPrimaryWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
703 extern struct GUIWindow *pChestWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
704 extern struct GUIWindow *pDialogueWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
705 extern struct GUIWindow *window_SpeakInHouse;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
706 extern struct GUIWindow *pGUIWindow_ScrollWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
707 extern struct GUIWindow *ptr_507BC8;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
708 extern struct GUIWindow *pGUIWindow_CurrentMenu;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
709 extern struct GUIWindow *ptr_507BD0;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
710 extern struct GUIWindow *pGUIWindow_Settings;
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
711 extern struct GUIWindow *pModalWindow;
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
712 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
713 extern struct GUIWindow *pBooksWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
714 extern struct GUIWindow *pGUIWindow2;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
715
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
716
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
717 extern struct GUIButton *pBtn_Resume;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
718 extern struct GUIButton *pBtn_QuitGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
719 extern struct GUIButton *pBtn_GameControls;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
720 extern struct GUIButton *pBtn_LoadGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
721 extern struct GUIButton *pBtn_SaveGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
722 extern struct GUIButton *pBtn_NewGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
723
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
724 extern struct GUIButton *pBtn_SliderRight;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
725 extern struct GUIButton *pBtn_SliderLeft;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
726
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
727
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
728 extern struct GUIButton *pBtnDownArrow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
729 extern struct GUIButton *pBtnArrowUp;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
730 extern struct GUIButton *pBtnCancel;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
731 extern struct GUIButton *pBtnLoadSlot;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
732
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
733
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
734 extern std::array<GUIButton*, 4> pCreationUI_BtnPressRight2;
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
735 extern std::array<GUIButton*, 4> pCreationUI_BtnPressLeft2;
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
736 extern std::array<GUIButton*, 4> pCreationUI_BtnPressLeft;
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
737 extern std::array<GUIButton*, 4> pCreationUI_BtnPressRight;
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
738
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
739 extern int uTextureID_GameUI_CharSelectionFrame; // 50C98C
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
740
1004
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
741 extern unsigned int ui_mainmenu_copyright_color;
1393
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
742 extern unsigned int ui_character_tooltip_header_default_color;
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
743 extern unsigned int ui_character_default_text_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
744 extern unsigned int ui_character_skill_highlight_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
745 extern unsigned int ui_character_header_text_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
746 extern unsigned int ui_character_bonus_text_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
747 extern unsigned int ui_character_bonus_text_color_neg;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
748 extern unsigned int ui_character_skill_upgradeable_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
749 extern unsigned int ui_character_skill_default_color;
1393
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
750 extern unsigned int ui_character_stat_default_color;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
751 extern unsigned int ui_character_stat_buffed_color;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
752 extern unsigned int ui_character_stat_debuffed_color;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
753 extern unsigned int ui_character_skillinfo_can_learn;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
754 extern unsigned int ui_character_skillinfo_can_learn_gm;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
755 extern unsigned int ui_character_skillinfo_cant_learn;
1458
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
756 extern unsigned int ui_character_condition_normal_color;
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
757 extern unsigned int ui_character_condition_light_color;
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
758 extern unsigned int ui_character_condition_moderate_color;
934074e7fcc1 ModalWindow
Nomad
parents: 1413
diff changeset
759 extern unsigned int ui_character_condition_severe_color;
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
760 extern std::array<unsigned int, 6> ui_character_award_color;
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
761 extern unsigned int ui_game_minimap_outline_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
762 extern unsigned int ui_game_minimap_actor_friendly_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
763 extern unsigned int ui_game_minimap_actor_hostile_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
764 extern unsigned int ui_game_minimap_actor_corpse_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
765 extern unsigned int ui_game_minimap_decoration_color_1;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
766 extern unsigned int ui_game_minimap_projectile_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
767 extern unsigned int ui_game_minimap_treasure_color;
1202
0dbf6c4dd029 arrays to std::arrays phase 1
Grumpy7
parents: 1183
diff changeset
768 extern std::array<unsigned int, 24> ui_game_character_record_playerbuff_colors;
1031
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
769 extern unsigned int ui_gamemenu_video_gamma_title_color;
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
770 extern unsigned int ui_gamemenu_keys_action_name_color;
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
771 extern unsigned int ui_gamemenu_keys_key_selection_blink_color_1;
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
772 extern unsigned int ui_gamemenu_keys_key_selection_blink_color_2;
f93d17337113 UI stuff.
Nomad
parents: 1020
diff changeset
773 extern unsigned int ui_gamemenu_keys_key_default_color;
995
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
774 extern unsigned int ui_book_quests_title_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
775 extern unsigned int ui_book_quests_text_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
776 extern unsigned int ui_book_autonotes_title_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
777 extern unsigned int ui_book_autonotes_text_color;
5876a9cafa3e Various UIs, autonotes title fixed
Nomad
parents: 994
diff changeset
778 extern unsigned int ui_book_map_title_color;
1004
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
779 extern unsigned int ui_book_map_coordinates_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
780 extern unsigned int ui_book_calendar_title_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
781 extern unsigned int ui_book_calendar_time_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
782 extern unsigned int ui_book_calendar_day_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
783 extern unsigned int ui_book_calendar_month_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
784 extern unsigned int ui_book_calendar_year_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
785 extern unsigned int ui_book_calendar_moon_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
786 extern unsigned int ui_book_calendar_location_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
787 extern unsigned int ui_book_journal_title_color;
eac5af72b614 UI cleans
Nomad
parents: 999
diff changeset
788 extern unsigned int ui_book_journal_text_color;
1393
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
789 extern unsigned int ui_book_journal_text_shadow;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
790 extern unsigned int ui_game_dialogue_npc_name_color;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
791 extern unsigned int ui_game_dialogue_option_highlight_color;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
792 extern unsigned int ui_game_dialogue_option_normal_color;
28f87f5234a1 More hardcoded UI colors moved to varibables.
Nomad
parents: 1326
diff changeset
793 extern unsigned int ui_house_player_cant_interact_color;