0
|
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;
|
8
|
20 int field_1C;//may be pMessageType
|
0
|
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 *pBtn_CloseBook;
|
|
40 extern struct GUIButton *pBtn_InstallRemoveSpell;
|
|
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 *pBtn_ExitCancel;
|
|
54 extern struct GUIButton *pBtn_YES;
|
|
55 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
|
|
56 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
|
|
57
|
|
58
|
|
59 extern struct GUIButton *pButton_RestUI_Main;
|
|
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 *pCharacterScreen_ExitBtn;
|
|
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 *pCharacterScreen_DollBtn;
|
|
72 extern struct GUIButton *pCharacterScreen_DetalizBtn;
|
|
73
|
|
74
|
|
75 extern struct GUIButton *pBtn_NPCRight;
|
|
76 extern struct GUIButton *pBtn_NPCLeft;
|
|
77 extern struct GUIButton *pBtn_GameSettings;
|
|
78 extern struct GUIButton *pBtn_QuickReference;
|
|
79 extern struct GUIButton *pBtn_CastSpell;
|
|
80 extern struct GUIButton *pBtn_Rest;
|
|
81 extern struct GUIButton *pBtn_History;
|
|
82 extern struct GUIButton *pBtn_Calendar;
|
|
83 extern struct GUIButton *pBtn_Maps;
|
|
84 extern struct GUIButton *pBtn_Autonotes;
|
|
85 extern struct GUIButton *pBtn_Quests;
|
|
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 *pBtn_Up;
|
|
95 extern struct GUIButton *pBtn_Down;
|
|
96 extern struct GUIButton *ptr_507BA4;
|
|
97
|
|
98
|
|
99 extern struct GUIWindow *pPrimaryWindow;
|
|
100 extern struct GUIWindow *pChestWindow;
|
|
101 extern struct GUIWindow *pDialogueWindow;
|
|
102 extern struct GUIWindow *ptr_507BC0;
|
|
103 extern struct GUIWindow *pGUIWindow_ScrollWindow;
|
|
104 extern struct GUIWindow *ptr_507BC8;
|
|
105 extern struct GUIWindow *pGUIWindow_CurrentMenu;
|
|
106 extern struct GUIWindow *ptr_507BD0;
|
|
107 extern struct GUIWindow *pGUIWindow_Settings;
|
|
108 extern struct GUIWindow *ptr_507BDC;
|
|
109 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
|
|
110 extern struct GUIWindow *pBooksWindow;
|
|
111 extern struct GUIWindow *pGUIWindow2;
|
|
112
|
|
113
|
|
114 extern struct GUIButton *pBtn_Resume;
|
|
115 extern struct GUIButton *pBtn_QuitGame;
|
|
116 extern struct GUIButton *pBtn_GameControls;
|
|
117 extern struct GUIButton *pBtn_LoadGame;
|
|
118 extern struct GUIButton *pBtn_SaveGame;
|
|
119 extern struct GUIButton *pBtn_NewGame;
|
|
120
|
|
121 extern struct GUIButton *pBtn_SliderRight;
|
|
122 extern struct GUIButton *pBtn_SliderLeft;
|
|
123
|
|
124
|
2
|
125 extern struct GUIButton *pBtnDownArrow;
|
|
126 extern struct GUIButton *pBtnArrowUp;
|
|
127 extern struct GUIButton *pBtnCancel;
|
|
128 extern struct GUIButton *pBtnLoadSlot;
|
0
|
129
|
|
130
|
|
131 extern GUIButton *pCreationUI_BtnPressRight2[4];
|
|
132 extern GUIButton *pCreationUI_BtnPressLeft2[4];
|
|
133 extern GUIButton *pCreationUI_BtnPressLeft[4];
|
|
134 extern GUIButton *pCreationUI_BtnPressRight[4]; |