Mercurial > might-and-magic-trilogy
comparison GUIButton.h @ 0:8b8875f5b359
Initial commit
author | Nomad |
---|---|
date | Fri, 05 Oct 2012 16:07:14 +0200 |
parents | |
children | 87c503d426e0 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8b8875f5b359 |
---|---|
1 #pragma once | |
2 | |
3 | |
4 /* 156 */ | |
5 #pragma pack(push, 1) | |
6 struct GUIButton | |
7 { | |
8 char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9); | |
9 | |
10 static void _41D0D8(GUIButton *ptr); | |
11 | |
12 | |
13 unsigned int uX; | |
14 unsigned int uY; | |
15 unsigned int uWidth; | |
16 unsigned int uHeight; | |
17 unsigned int uZ; | |
18 unsigned int uW; | |
19 int uButtonType; | |
20 int field_1C; | |
21 unsigned int uControlID; | |
22 unsigned int uControlParam; | |
23 int field_28; | |
24 int field_2C; | |
25 GUIButton *pPrev; | |
26 GUIButton *pNext; | |
27 struct GUIWindow *pParent; | |
28 struct Texture *pTextures[5]; | |
29 unsigned int uNumTextures; | |
30 unsigned __int8 uHotkey; | |
31 char pButtonName[32]; | |
32 char field_75[71]; | |
33 }; | |
34 #pragma pack(pop) | |
35 | |
36 | |
37 | |
38 | |
39 extern struct GUIButton *ptr_5064F4; | |
40 extern struct GUIButton *ptr_5064F8; | |
41 extern struct GUIButton *pBtn_Autonotes_Instructors; | |
42 extern struct GUIButton *pBtn_Autonotes_Misc; | |
43 extern struct GUIButton *pBtn_Book_6; | |
44 extern struct GUIButton *pBtn_Book_5; | |
45 extern struct GUIButton *pBtn_Book_4; | |
46 extern struct GUIButton *pBtn_Book_3; | |
47 extern struct GUIButton *pBtn_Book_2; | |
48 extern struct GUIButton *pBtn_Book_1; | |
49 | |
50 | |
51 extern struct GUIButton *pPlayerCreationUI_BtnReset; | |
52 extern struct GUIButton *pPlayerCreationUI_BtnOK; | |
53 extern struct GUIButton *ptr_5076F4; | |
54 extern struct GUIButton *ptr_5076FC; | |
55 extern struct GUIButton *pPlayerCreationUI_BtnPlus; | |
56 extern struct GUIButton *pPlayerCreationUI_BtnMinus; | |
57 | |
58 | |
59 extern struct GUIButton *pButton_RestUI_507634; | |
60 extern struct GUIButton *pButton_RestUI_Exit; | |
61 extern struct GUIButton *pButton_RestUI_Wait5Minutes; | |
62 extern struct GUIButton *pButton_RestUI_WaitUntilDawn; | |
63 extern struct GUIButton *pButton_RestUI_Wait1Hour; | |
64 | |
65 | |
66 extern struct GUIButton *ptr_50767C; | |
67 extern struct GUIButton *pCharacterScreen_AwardsBtn; | |
68 extern struct GUIButton *pCharacterScreen_InventoryBtn; | |
69 extern struct GUIButton *pCharacterScreen_SkillsBtn; | |
70 extern struct GUIButton *pCharacterScreen_StatsBtn; | |
71 extern struct GUIButton *ptr_507690; | |
72 extern struct GUIButton *ptr_507694; | |
73 | |
74 | |
75 extern struct GUIButton *ptr_5079E8; | |
76 extern struct GUIButton *ptr_5079EC; | |
77 extern struct GUIButton *ptr_5079F0; | |
78 extern struct GUIButton *ptr_5079F4; | |
79 extern struct GUIButton *ptr_5079F8; | |
80 extern struct GUIButton *ptr_5079FC; | |
81 extern struct GUIButton *ptr_507A00; | |
82 extern struct GUIButton *dword_507A04; | |
83 extern struct GUIButton *ptr_507A08; | |
84 extern struct GUIButton *ptr_507A0C; | |
85 extern struct GUIButton *ptr_507A10; | |
86 | |
87 | |
88 extern struct GUIButton *pMainMenu_BtnExit; | |
89 extern struct GUIButton *pMainMenu_BtnCredits; | |
90 extern struct GUIButton *pMainMenu_BtnLoad; | |
91 extern struct GUIButton *pMainMenu_BtnNew; | |
92 | |
93 | |
94 extern struct GUIButton *ptr_507B9C; | |
95 extern struct GUIButton *ptr_507BA0; | |
96 extern struct GUIButton *ptr_507BA4; | |
97 | |
98 | |
99 extern struct GUIWindow *pGUIWindow0; | |
100 extern struct GUIWindow *ptr_507BB8; | |
101 extern struct GUIWindow *pDialogueWindow; | |
102 extern struct GUIWindow *ptr_507BC0; | |
103 extern struct GUIWindow *ptr_507BC4; | |
104 extern struct GUIWindow *ptr_507BC8; | |
105 extern struct GUIWindow *pGUIWindow_CurrentMenu; | |
106 extern struct GUIWindow *ptr_507BD0; | |
107 extern struct GUIWindow *ptr_507BD4; | |
108 extern struct GUIWindow *ptr_507BDC; | |
109 extern struct GUIWindow *ptr_507BE0; | |
110 extern struct GUIWindow *pGUIWindow2; | |
111 | |
112 | |
113 extern struct GUIButton *ptr_50C9B0; | |
114 extern struct GUIButton *ptr_50C9B4; | |
115 extern struct GUIButton *pyt_50C9B8; | |
116 extern struct GUIButton *ptr_50C9BC; | |
117 extern struct GUIButton *ptr_50C9C0; | |
118 extern struct GUIButton *ptr_50C9C4; | |
119 extern struct GUIButton *ptr_50C9C8; | |
120 extern struct GUIButton *ptr_50C9CC; | |
121 | |
122 | |
123 extern struct GUIButton *ptr_69BD58; | |
124 extern struct GUIButton *ptr_69BD5C; | |
125 extern struct GUIButton *ptr_69BD60; | |
126 extern struct GUIButton *ptr_69BD64; | |
127 | |
128 | |
129 extern GUIButton *pCreationUI_BtnPressRight2[4]; | |
130 extern GUIButton *pCreationUI_BtnPressLeft2[4]; | |
131 extern GUIButton *pCreationUI_BtnPressLeft[4]; | |
132 extern GUIButton *pCreationUI_BtnPressRight[4]; |