annotate GUIWindow.h @ 79:2fd44e5cbe89

Слияние
author Ritor1
date Sun, 28 Oct 2012 09:20:28 +0600
parents 5ec98919c8fd
children f9a33f75bae3
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2 #include "GUIButton.h"
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 /* 251 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9 enum MENU_STATE : __int32
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11 MENU_MAIN = 0x0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12 MENU_NEWGAME = 0x1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 MENU_CREDITS = 0x2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 MENU_SAVELOAD = 0x3,
3
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
15 MENU_FINISHED = 0x4,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 MENU_5 = 0x5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 MENU_CREATEPARTY = 0x6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 MENU_7 = 0x7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 MENU_Credits = 0x8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 MENU_LOAD = 0x9,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 MENU_10 = 0xA,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 /* 298 */
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
33 enum WindowType: unsigned __int32
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 {
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
35 WINDOW_null = 0,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
36 WINDOW_MainMenu = 0x1,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37 WINDOW_CharacterRecord = 0x4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38 WINDOW_Options = 0x6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
39 WINDOW_Book = 0x9,
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
40 WINDOW_A = 10,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
41 WINDOW_11 = 17,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
42 WINDOW_12 = 18,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
43 WINDOW_13 = 19,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 WINDOW_Chest = 0x14,
3
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
45 WINDOW_MainMenu_Load = 0x18,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 WINDOW_HouseInterior = 0x19,
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
47 WINDOW_1A = 26,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
48 WINDOW_1B = 27,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
49 WINDOW_1E = 30,
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
50 WINDOW_1F = 31,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 WINDOW_FinalWindow = 0x46,
3
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
52 WINDOW_5A = 0x5A,
4
4acbadf78023 missing file added
Nomad
parents: 3
diff changeset
53 WINDOW_5E = 0x5E,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
54 WINDOW_KeyMappingOptions = 0x69,
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
55 WINDOW_VideoOptions = 0x6A
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58 /* 155 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
59 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 struct GUIWindow
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 GUIButton *CreateButton(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, int a6, int a7, unsigned int uControlID, unsigned int uControlParam, unsigned __int8 uHotkey, const char *pName, Texture *pTextures, ...);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 void DrawFlashingInputCursor(signed int a3, int a4, struct GUIFont *a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64 int DrawTextInRect(GUIFont *a2, unsigned int uX, unsigned int uY, unsigned int uColor, const char *Str1, int Source, int a8);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65 char DrawText(GUIFont *a2, signed int uX, int uY, unsigned int uFontColor, const char *Str, int a7, int a8, unsigned int uFontShadowColor);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
66 char *DrawText2(GUIFont *a2, unsigned int uHorizontalMargin, unsigned int uVerticalMargin, unsigned __int16 uDefaultColor, const char *pInString, unsigned int uLineSpacing);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 char *_4B1854(__int64 a2);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 void _4B3157();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 GUIButton *_411621();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 void InitializeBookView();
44
916bec351934 22.10.12(pCurrentScreen)
Ritor1
parents: 4
diff changeset
71 void DrawMessageBox(int arg0);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
72 GUIButton *GetControl(unsigned int uID);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73 void Release();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74 void _41D08F(int a2, int a3, int a4, int a5);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
75 char _41D3B7();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
76 char _41D73D_draw_buff_tooltip();
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
77
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
78 static GUIWindow *Create(unsigned int uX, unsigned int uY, unsigned int uWidth, unsigned int uHeight, enum WindowType eType, int a4, int a5);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
79
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
80 unsigned int uFrameX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
81 unsigned int uFrameY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
82 unsigned int uFrameWidth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
83 unsigned int uFrameHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
84 unsigned int uFrameZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
85 unsigned int uFrameW;
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
86 WindowType eWindowType;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87 void *ptr_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 unsigned int uNumControls;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 int field_24;
48
6a62c4005f0e 23.10.12
Ritor1
parents: 44
diff changeset
90 int pNumPresenceButton;
6a62c4005f0e 23.10.12
Ritor1
parents: 44
diff changeset
91 int pCurrentPosActiveItem;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92 int field_30;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93 int field_34;
48
6a62c4005f0e 23.10.12
Ritor1
parents: 44
diff changeset
94 int pStartingPosActiveItem;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
95 int field_3C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 int field_40;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97 int field_44;
44
916bec351934 22.10.12(pCurrentScreen)
Ritor1
parents: 4
diff changeset
98 char *Hint;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
99 GUIButton *pControlsHead;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
100 GUIButton *pControlsTail;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
103
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
107
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
109 /* 296 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
110 enum UIMessageType
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112 UIMSG_00 = 0x0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113 UIMSG_ChangeGameState = 0x5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
114 UIMSG_PlayArcomage = 0x1D,
3
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
115 UIMSG_MainMenu_ShowPartyCreationWnd = 0x36,
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
116 UIMSG_MainMenu_ShowLoadWindow = 0x37,
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
117 UIMSG_ShowCredits = 0x38,
2
2ca04ccb612a NoCD, main menu, various
Nomad
parents: 0
diff changeset
118 UIMSG_ExitToWindows = 0x39,
57
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
119 UIMSG_3C = 0x3C,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
120 UIMSG_PlayerCreationClickPlus = 0x3E,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
121 UIMSG_PlayerCreationClickMinus = 0x3F,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
122 UIMSG_PlayerCreationSelectActiveSkill = 0x40,
66
5ec98919c8fd PlayerCreation 26.10.12
Ritor1
parents: 57
diff changeset
123 UIMSG_PlayerCreationSelectClass = 0x41,
57
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
124 UIMSG_PlayerCreationClickOK = 0x42,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
125 UIMSG_PlayerCreationClickReset = 0x43,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
126 UIMSG_PlayerCreationRemoveUpSkill = 0x4A,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
127 UIMSG_PlayerCreationRemoveDownSkill = 0x4B,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
128 UIMSG_4B = 0x4B,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129 UIMSG_LoadGame = 0x52,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130 UIMSG_SaveGame = 0x53,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 UIMSG_ShowStatus_DateTime = 0x5C,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 UIMSG_ShowStatus_ManaHP = 0x5D,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 UIMSG_ShowStatus_Player = 0x5E,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 UIMSG_ShowStatus_Food = 0x64,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
135 UIMSG_ShowStatus_Funds = 0x65,
57
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
136 UIMSG_6B = 0x6B,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
137 UIMSG_SelectCharacter = 0x6E,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
138 UIMSG_ChangeSoundVolume = 0x6F,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
139 UIMSG_ChangeMusicVolume = 0x70,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
140 UIMSG_CloseBook = 0x71,
57
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
141 UIMSG_PlayerCreationSelectQuality = 0x76,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
142 UIMSG_SkillUp = 0x79,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
143 UIMSG_StartNewGame = 0x7C,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
144 UIMSG_Game_OpenLoadGameDialog = 0x7D,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
145 UIMSG_Game_OpenOptionsDialog = 0x7F,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
146 UIMSG_SetGraphicsMode = 0x83,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
147 UIMSG_Quit = 0x84,
57
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
148 UIMSG_PlayerCreationVoiceBack = 0x90,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
149 UIMSG_PlayerCreationVoiceForward = 0x91,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
150 UIMSG_StartNPCDialogue = 0xA1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
151 UIMSG_A2 = 0xA2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
152 UIMSG_A3 = 0xA3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
153 UIMSG_A4 = 0xA4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
154 UIMSG_A5 = 0xA5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
155 UIMSG_A6 = 0xA6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
156 UIMSG_A7 = 0xA7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
157 UIMSG_A8 = 0xA8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
158 UIMSG_A9 = 0xA9,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
159 UIMSG_AA = 0xAA,
57
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
160 UIMSG_SelectFacePlayerBack = 0xAB,
6b3a5283b107 UIMSG_PlayerCreation
Ritor1
parents: 48
diff changeset
161 UIMSG_SelectFacePlayerForward = 0xAC,
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
162 UIMSG_AD = 0xAD,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
163 UIMSG_AE = 0xAE,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
164 UIMSG_AF = 0xAF,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
165 UIMSG_CycleCharacters = 0xB0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
166 UIMSG_B1 = 0xB1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
167 UIMSG_B2 = 0xB2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
168 UIMSG_B3 = 0xB3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
169 UIMSG_B4 = 0xB4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
170 UIMSG_B5 = 0xB5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
171 UIMSG_B6 = 0xB6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
172 UIMSG_B7 = 0xB7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
173 UIMSG_SetTurnSpeed = 0xB8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
174 UIMSG_ToggleWalkSound = 0xB9,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
175 UIMSG_ChangeVoiceVolume = 0xBA,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
176 UIMSG_ToggleShowDamage = 0xBB,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
177 UIMSG_BC = 0xBC,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
178 UIMSG_BD = 0xBD,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
179 UIMSG_BE = 0xBE,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
180 UIMSG_BF = 0xBF,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
181 UIMSG_C0 = 0xC0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
182 UIMSG_C1 = 0xC1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
183 UIMSG_C2 = 0xC2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
184 UIMSG_C3 = 0xC3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
185 UIMSG_C4 = 0xC4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
186 UIMSG_ShowFinalWindow = 0xC5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
187 UIMSG_C6 = 0xC6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
188 UIMSG_C7 = 0xC7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
189 UIMSG_OpenQuestBook = 0xC8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
190 UIMSG_OpenAutonotes = 0xC9,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
191 UIMSG_OpenMapBook = 0xCA,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
192 UIMSG_OpenCalendar = 0xCB,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
193 UIMSG_CC = 0xCC,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
194 UIMSG_CD = 0xCD,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
195 UIMSG_CE = 0xCE,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
196 UIMSG_CF = 0xCF,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
197 UIMSG_D0 = 0xD0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
198 UIMSG_D1 = 0xD1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
199 UIMSG_D2 = 0xD2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
200 UIMSG_D3 = 0xD3,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
201 UIMSG_D4 = 0xD4,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
202 UIMSG_D5 = 0xD5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
203 UIMSG_D6 = 0xD6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
204 UIMSG_OpenHistoryBook = 0xE0,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
205 UIMSG_ToggleAlwaysRun = 0xE1,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
206 UIMSG_ToggleFlipOnExit = 0xE2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
207 UIMSG_OpenRestUI = 0x199,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
208 UIMSG_OpenKeyMappingOptions = 0x19F,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
209 UIMSG_ResetKeyMapping = 0x1A2,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
210 UIMSG_OpenVideoOptions = 0x1A5,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
211 UIMSG_ToggleBloodsplats = 0x1A6,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
212 UIMSG_ToggleColoredLights = 0x1A7,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
213 UIMSG_ToggleTint = 0x1A8,
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
214 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
215
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
216
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
217
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
218
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
219
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
220
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
221 /* 249 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
222 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
223 struct GUIMessage
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
224 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
225 enum UIMessageType eType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
226 int param;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
227 int field_8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
228 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
229 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
230
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
231
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
232
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
233
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
234
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
235 /* 250 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
236 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
237 struct GUIMessageQueue
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
238 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
239 inline GUIMessageQueue():
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
240 uNumMessages(0)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
241 {}
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
242
4
4acbadf78023 missing file added
Nomad
parents: 3
diff changeset
243 void PopMessage(UIMessageType *pMsg, int *pParam, int *a4);
4acbadf78023 missing file added
Nomad
parents: 3
diff changeset
244 void SendMessage(UIMessageType msg, int param, unsigned int a4);
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
245
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
246 unsigned int uNumMessages;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
247 GUIMessage pMessages[40];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
248 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
249 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
250
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
251 extern struct GUIMessageQueue *pMessageQueue_50CBD0; // idb
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
252
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
253
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
254
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
255
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
256 extern int pWindowList_at_506F50_minus1_indexing_buttons____and_an_int_[]; // idb
3
540178ef9b18 Main menu functionality
Nomad
parents: 2
diff changeset
257 extern struct GUIWindow *pWindow_MainMenu;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
258 extern struct GUIWindow pWindowList[20];