annotate GUIWindow.h @ 994:3431f6abc786

GameUI clean
author Nomad
date Tue, 14 May 2013 12:35:06 +0200
parents 3a3ab572eff5
children 5876a9cafa3e
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,
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
52 UIMSG_CastSpell_SPIRIT_Preservation = 69,
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
53 UIMSG_CastSpell_SmallShot = 70,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
54 UIMSG_AutonotesBook = 71,
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
961
5a12082c803d UIMSG and WINDOW_Type(continue)
Ritor1
parents: 960
diff changeset
117 UIMSG_CastSpell_GreatShot = 140,
987
9e132060ada3 UIMSG_CHEST_ClickItem
Ritor1
parents: 984
diff changeset
118 UIMSG_CastSpell_SPIRIT_Fate = 141,
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
119 UIMSG_CastSpellFromBook = 142,
987
9e132060ada3 UIMSG_CHEST_ClickItem
Ritor1
parents: 984
diff changeset
120 UIMSG_CastSpell_8F = 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,
92
bb06c087cd38 history fixed
zipi
parents: 17
diff changeset
305 WINDOW_HistoryBook = 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);
Ritor1
parents:
diff changeset
325 char 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);
688
c0bfb386b15f some ui cleanup
Gloval
parents: 651
diff changeset
335 void DrawQuickCharRecord();
0
Ritor1
parents:
diff changeset
336 char _41D73D_draw_buff_tooltip();
Ritor1
parents:
diff changeset
337
Ritor1
parents:
diff changeset
338 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
339
Ritor1
parents:
diff changeset
340 unsigned int uFrameX;
Ritor1
parents:
diff changeset
341 unsigned int uFrameY;
Ritor1
parents:
diff changeset
342 unsigned int uFrameWidth;
Ritor1
parents:
diff changeset
343 unsigned int uFrameHeight;
Ritor1
parents:
diff changeset
344 unsigned int uFrameZ;
Ritor1
parents:
diff changeset
345 unsigned int uFrameW;
Ritor1
parents:
diff changeset
346 WindowType eWindowType;
496
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
347 union{
917
ae9e2a339b09 disappear items fix
Ritor1
parents: 910
diff changeset
348 void *ptr_1C;// sometimes BuildID_2Events
496
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
349 unsigned int par1C;
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
350 };
0
Ritor1
parents:
diff changeset
351 unsigned int uNumControls;
Ritor1
parents:
diff changeset
352 int field_24;
Ritor1
parents:
diff changeset
353 int pNumPresenceButton;
Ritor1
parents:
diff changeset
354 int pCurrentPosActiveItem;
Ritor1
parents:
diff changeset
355 int field_30;
Ritor1
parents:
diff changeset
356 int field_34;
Ritor1
parents:
diff changeset
357 int pStartingPosActiveItem;
496
0e20e886365d guilds ....
Gloval
parents: 495
diff changeset
358 int numVisibleWindows;
0
Ritor1
parents:
diff changeset
359 int field_40;
972
c8a0f6d89c70 Some inqury on selecting Knight bug.
Nomad
parents: 962
diff changeset
360 int receives_keyboard_input;
0
Ritor1
parents:
diff changeset
361 char *Hint;
Ritor1
parents:
diff changeset
362 GUIButton *pControlsHead;
Ritor1
parents:
diff changeset
363 GUIButton *pControlsTail;
Ritor1
parents:
diff changeset
364 };
Ritor1
parents:
diff changeset
365 #pragma pack(pop)
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
Ritor1
parents:
diff changeset
371
495
90fdb47bfcba guilds ...
Gloval
parents: 481
diff changeset
372
629
59713bb36033 houses func moved to uihouses
Gloval
parents: 623
diff changeset
373
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
374 enum CURRENT_SCREEN
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
375 {
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
376 SCREEN_GAME = 0x0,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
377 SCREEN_MENU = 0x1,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
378 SCREEN_OPTIONS = 0x2,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
379 SCREEN_BOOKS = 0x3,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
380 SCREEN_NPC_DIALOGUE = 0x4,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
381 SCREEN_REST = 0x5,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
382 SCREEN_CHARACTERS = 0x7,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
383 SCREEN_SPELL_BOOK = 0x8,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
384 SCREEN_CREATORS = 0x9,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
385 SCREEN_CHEST = 0xA,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
386 SCREEN_SAVEGAME = 0xB,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
387 SCREEN_LOADGAME = 0xC,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
388 SCREEN_HOUSE = 0xD,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
389 SCREEN_E = 0xE,
987
9e132060ada3 UIMSG_CHEST_ClickItem
Ritor1
parents: 984
diff changeset
390 SCREEN_CHEST_INVENTORY = 0xF,
151
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
391 SCREEN_VIDEO = 0x10,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
392 SCREEN_CHANGE_LOCATION = 0x11,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
393 SCREEN_INPUT_BLV = 0x12,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
394 SCREEN_BRANCHLESS_NPC_DIALOG = 0x13,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
395 SCREEN_PARTY_CREATION = 0x15,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
396 SCREEN_PRESS_ESCAPE_MESSAGE = 0x16,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
397 SCREEN_CASTING = 0x17,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
398 SCREEN_19 = 0x19,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
399 SCREEN_KEYBOARD_OPTIONS = 0x1A,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
400 SCREEN_1B = 0x1B,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
401 SCREEN_VIDEO_OPTIONS = 0x1C,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
402 SCREEN_63 = 0x63,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
403 SCREEN_64 = 0x64,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
404 SCREEN_67 = 0x67,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
405 SCREEN_QUICK_REFERENCE = 0x68,
9abdd40a107b pCurrentScreen
Ritor1
parents: 111
diff changeset
406 };
0
Ritor1
parents:
diff changeset
407
Ritor1
parents:
diff changeset
408
Ritor1
parents:
diff changeset
409
Ritor1
parents:
diff changeset
410
Ritor1
parents:
diff changeset
411 /* 249 */
Ritor1
parents:
diff changeset
412 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
413 struct GUIMessage
Ritor1
parents:
diff changeset
414 {
Ritor1
parents:
diff changeset
415 enum UIMessageType eType;
Ritor1
parents:
diff changeset
416 int param;
Ritor1
parents:
diff changeset
417 int field_8;
Ritor1
parents:
diff changeset
418 };
Ritor1
parents:
diff changeset
419 #pragma pack(pop)
Ritor1
parents:
diff changeset
420
Ritor1
parents:
diff changeset
421
Ritor1
parents:
diff changeset
422
Ritor1
parents:
diff changeset
423
437
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
424 #define AddMessage(msg, param, a4) AddMessageImpl((msg), (param), (a4), __FILE__, __LINE__)
0
Ritor1
parents:
diff changeset
425 /* 250 */
Ritor1
parents:
diff changeset
426 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
427 struct GUIMessageQueue
Ritor1
parents:
diff changeset
428 {
Ritor1
parents:
diff changeset
429 inline GUIMessageQueue():
Ritor1
parents:
diff changeset
430 uNumMessages(0)
Ritor1
parents:
diff changeset
431 {}
Ritor1
parents:
diff changeset
432
783
b27dd658ea77 Taveling by foot fixed.
Nomad
parents: 762
diff changeset
433 void Flush();
0
Ritor1
parents:
diff changeset
434 void PopMessage(UIMessageType *pMsg, int *pParam, int *a4);
437
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
435 void AddMessageImpl(UIMessageType msg, int param, unsigned int a4, const char *file = nullptr, int line = 0);
0
Ritor1
parents:
diff changeset
436
Ritor1
parents:
diff changeset
437 unsigned int uNumMessages;
Ritor1
parents:
diff changeset
438 GUIMessage pMessages[40];
437
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
439
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
440 const char *files[40];
0a1ea44b4a0a ui mesages & spellcasting
Nomad
parents: 434
diff changeset
441 int lines[40];
0
Ritor1
parents:
diff changeset
442 };
Ritor1
parents:
diff changeset
443 #pragma pack(pop)
Ritor1
parents:
diff changeset
444
Ritor1
parents:
diff changeset
445 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb
Ritor1
parents:
diff changeset
446
Ritor1
parents:
diff changeset
447
Ritor1
parents:
diff changeset
448
Ritor1
parents:
diff changeset
449
248
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
450
651
2bf48d11d742 Training hall UI fixed
Nomad
parents: 629
diff changeset
451 void OnSelectNPCDialogueOption(DIALOGUE_TYPE newDialogueType);
248
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
452
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
453
37dcbe8f3cca Dialogue stuff
Nomad
parents: 201
diff changeset
454
0
Ritor1
parents:
diff changeset
455 extern int pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[]; // idb
Ritor1
parents:
diff changeset
456 extern struct GUIWindow *pWindow_MainMenu;
566
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
457 extern struct GUIWindow pWindowList[20];
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
fcbb3c281217 QuickRef reputation string fix
Nomad
parents: 496
diff changeset
463
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
464
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
465
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
466 void draw_leather();
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
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
471 // game ui
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
472 void GameUI_DrawRightPanel();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
473 void GameUI_DrawRightPanelFrames();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
474 void GameUI_DrawRightPanelItems();
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
475 void GameUI_QuickRef_Draw();
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
476 void GameUI_DrawFoodAndGold();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
477 void GameUI_DrawLifeManaBars();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
478 void GameUI_DrawHiredNPCs();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
479 void GameUI_DrawPortraits(unsigned int _this);
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
480 void GameUI_Footer();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
481 void GameUI_Footer_2();
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
482 void GameUI_SetFooterString(const char *pStr);
816
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
483
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
484
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
485
cfc65feef029 * Player Recovery Times
Nomad
parents: 783
diff changeset
486
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
994
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
493
3431f6abc786 GameUI clean
Nomad
parents: 992
diff changeset
494 // character ui
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
495 unsigned int GetSkillColor(unsigned int uPlayerClass, PLAYER_SKILL_TYPE uPlayerSkillType, signed int skill_level);
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
496 const char *CharacterUI_GetSkillDescText(unsigned int uPlayerID, PLAYER_SKILL_TYPE uPlayerSkillType);
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
497 char CharacterUI_SkillsTab_ShowHint();
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
498 void CharacterUI_StatsTab_ShowHint();
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
499 char CharacterUI_StatsTab_Draw(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
500 void CharacterUI_SkillsTab_CreateButtons();
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
501 void CharacterUI_SkillsTab_Draw(Player *player);
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
502 void CharacterUI_AwardsTab_Draw(Player *player);
984
d982fffb8b96 CharacterUI_InventoryTab_Draw cleaned.
Nomad
parents: 983
diff changeset
503 void CharacterUI_InventoryTab_Draw(Player *player, bool a2);
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
504 void CharacterUI_CharacterScreen_Draw(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
505 void CharacterUI_DrawPaperdoll(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
506 void CharacterUI_DrawPaperdollWithRingOverlay(Player *player);
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
507 void CharacterUI_ReleaseButtons();
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
508
832
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
509
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
510
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
511
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
512
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
513
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
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
519
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
520
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
521
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
522
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
523
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
524
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
525
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
526
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
527
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
528
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
529
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
530
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
531
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
532
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
533
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
534
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
535
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
536
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 #pragma pack(push, 1)
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
542 struct GUIButton
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
543 {
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
544 char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9);
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
545
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
546 void Release();
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 unsigned int uX;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
550 unsigned int uY;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
551 unsigned int uWidth;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
552 unsigned int uHeight;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
553 unsigned int uZ;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
554 unsigned int uW;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
555 int uButtonType;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
556 int field_1C;//may be pMessageType
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
557 UIMessageType msg;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
558 unsigned int msg_param;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
559 int field_28;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
560 int field_2C_is_pushed;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
561 GUIButton *pPrev;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
562 GUIButton *pNext;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
563 struct GUIWindow *pParent;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
564 struct Texture *pTextures[5];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
565 unsigned int uNumTextures;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
566 unsigned __int8 uHotkey;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
567 char pButtonName[32];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
568 char field_75[71];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
569 };
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
570 #pragma pack(pop)
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
571
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
572
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
573
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
574
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
575 extern struct GUIButton *pBtn_CloseBook;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
576 extern struct GUIButton *pBtn_InstallRemoveSpell;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
577 extern struct GUIButton *pBtn_Autonotes_Instructors;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
578 extern struct GUIButton *pBtn_Autonotes_Misc;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
579 extern struct GUIButton *pBtn_Book_6;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
580 extern struct GUIButton *pBtn_Book_5;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
581 extern struct GUIButton *pBtn_Book_4;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
582 extern struct GUIButton *pBtn_Book_3;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
583 extern struct GUIButton *pBtn_Book_2;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
584 extern struct GUIButton *pBtn_Book_1;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
585
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
586
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
587 extern struct GUIButton *pPlayerCreationUI_BtnReset;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
588 extern struct GUIButton *pPlayerCreationUI_BtnOK;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
589 extern struct GUIButton *pBtn_ExitCancel;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
590 extern struct GUIButton *pBtn_YES;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
591 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
592 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
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 extern struct GUIButton *pButton_RestUI_Main;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
596 extern struct GUIButton *pButton_RestUI_Exit;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
597 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
598 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
599 extern struct GUIButton *pButton_RestUI_Wait1Hour;
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 extern struct GUIButton *pCharacterScreen_ExitBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
603 extern struct GUIButton *pCharacterScreen_AwardsBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
604 extern struct GUIButton *pCharacterScreen_InventoryBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
605 extern struct GUIButton *pCharacterScreen_SkillsBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
606 extern struct GUIButton *pCharacterScreen_StatsBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
607 extern struct GUIButton *pCharacterScreen_DollBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
608 extern struct GUIButton *pCharacterScreen_DetalizBtn;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
609
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
610
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
611 extern struct GUIButton *pBtn_NPCRight;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
612 extern struct GUIButton *pBtn_NPCLeft;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
613 extern struct GUIButton *pBtn_GameSettings;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
614 extern struct GUIButton *pBtn_QuickReference;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
615 extern struct GUIButton *pBtn_CastSpell;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
616 extern struct GUIButton *pBtn_Rest;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
617 extern struct GUIButton *pBtn_History;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
618 extern struct GUIButton *pBtn_Calendar;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
619 extern struct GUIButton *pBtn_Maps;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
620 extern struct GUIButton *pBtn_Autonotes;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
621 extern struct GUIButton *pBtn_Quests;
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 *pMainMenu_BtnExit;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
625 extern struct GUIButton *pMainMenu_BtnCredits;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
626 extern struct GUIButton *pMainMenu_BtnLoad;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
627 extern struct GUIButton *pMainMenu_BtnNew;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
628
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
629
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
630 extern struct GUIButton *pBtn_Up;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
631 extern struct GUIButton *pBtn_Down;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
632 extern struct GUIButton *ptr_507BA4;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
633
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
634
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
635 extern struct GUIWindow *pPrimaryWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
636 extern struct GUIWindow *pChestWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
637 extern struct GUIWindow *pDialogueWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
638 extern struct GUIWindow *window_SpeakInHouse;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
639 extern struct GUIWindow *pGUIWindow_ScrollWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
640 extern struct GUIWindow *ptr_507BC8;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
641 extern struct GUIWindow *pGUIWindow_CurrentMenu;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
642 extern struct GUIWindow *ptr_507BD0;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
643 extern struct GUIWindow *pGUIWindow_Settings;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
644 extern struct GUIWindow *ptr_507BDC;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
645 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
646 extern struct GUIWindow *pBooksWindow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
647 extern struct GUIWindow *pGUIWindow2;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
648
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
649
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
650 extern struct GUIButton *pBtn_Resume;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
651 extern struct GUIButton *pBtn_QuitGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
652 extern struct GUIButton *pBtn_GameControls;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
653 extern struct GUIButton *pBtn_LoadGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
654 extern struct GUIButton *pBtn_SaveGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
655 extern struct GUIButton *pBtn_NewGame;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
656
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
657 extern struct GUIButton *pBtn_SliderRight;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
658 extern struct GUIButton *pBtn_SliderLeft;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
659
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
660
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
661 extern struct GUIButton *pBtnDownArrow;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
662 extern struct GUIButton *pBtnArrowUp;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
663 extern struct GUIButton *pBtnCancel;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
664 extern struct GUIButton *pBtnLoadSlot;
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
665
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
666
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
667 extern GUIButton *pCreationUI_BtnPressRight2[4];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
668 extern GUIButton *pCreationUI_BtnPressLeft2[4];
dfd683c4f538 Hotkeys fixed
Nomad
parents: 816
diff changeset
669 extern GUIButton *pCreationUI_BtnPressLeft[4];
983
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
670 extern GUIButton *pCreationUI_BtnPressRight[4];
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
671
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
672
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
673 extern unsigned int ui_color_text_default;
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
674 extern unsigned int ui_color_text_highlight;
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
675 extern unsigned int ui_color_text_header;
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
676 extern unsigned int ui_color_text_bonus;
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
677 extern unsigned int ui_color_text_bonus_neg;
1462a5f12b65 Character Skills tab drawing fixed.
Nomad
parents: 982
diff changeset
678 extern unsigned int ui_color_text_skill_upgradeable;
991
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
679 extern unsigned int ui_color_text_skill_not_upgradeable;
c5d8ea1e6ccb CharacterUI cleanings.
Nomad
parents: 984
diff changeset
680 extern unsigned int ui_color_text_awards[6];