annotate GUIWindow.h @ 1007:7e4045b6f191

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