annotate GUIButton.h @ 182:52f2bb358c28

Слияние
author Ritor1
date Wed, 19 Dec 2012 22:11:38 +0600
parents 90a9c828c2a6
children af624eaf2fc5
rev   line source
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
1 #pragma once
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
2
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
3
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
4 /* 156 */
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
5 #pragma pack(push, 1)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
6 struct GUIButton
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
7 {
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
8 char DrawLabel(const char *edx0, struct GUIFont *pFont, int a5, int *a9);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
9
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
10 static void _41D0D8(GUIButton *ptr);
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
11
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
12
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
13 unsigned int uX;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
14 unsigned int uY;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
15 unsigned int uWidth;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
16 unsigned int uHeight;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
17 unsigned int uZ;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
18 unsigned int uW;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
19 int uButtonType;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
20 int field_1C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
21 unsigned int uControlID;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
22 unsigned int uControlParam;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
23 int field_28;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
24 int field_2C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
25 GUIButton *pPrev;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
26 GUIButton *pNext;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
27 struct GUIWindow *pParent;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
28 struct Texture *pTextures[5];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
29 unsigned int uNumTextures;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
30 unsigned __int8 uHotkey;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
31 char pButtonName[32];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
32 char field_75[71];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
33 };
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
34 #pragma pack(pop)
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
35
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
36
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
37
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
38
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
39 extern struct GUIButton *pBtn_CloseBook;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
40 extern struct GUIButton *pBtn_InstallRemoveSpell;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
41 extern struct GUIButton *pBtn_Autonotes_Instructors;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
42 extern struct GUIButton *pBtn_Autonotes_Misc;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
43 extern struct GUIButton *pBtn_Book_6;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
44 extern struct GUIButton *pBtn_Book_5;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
45 extern struct GUIButton *pBtn_Book_4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
46 extern struct GUIButton *pBtn_Book_3;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
47 extern struct GUIButton *pBtn_Book_2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
48 extern struct GUIButton *pBtn_Book_1;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
49
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
50
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
51 extern struct GUIButton *pPlayerCreationUI_BtnReset;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
52 extern struct GUIButton *pPlayerCreationUI_BtnOK;
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
53 extern struct GUIButton *pBtn_ExitCancel;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
54 extern struct GUIButton *pBtn_YES;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
55 extern struct GUIButton *pPlayerCreationUI_BtnPlus;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
56 extern struct GUIButton *pPlayerCreationUI_BtnMinus;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
57
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
58
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
59 extern struct GUIButton *pButton_RestUI_Main;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
60 extern struct GUIButton *pButton_RestUI_Exit;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
61 extern struct GUIButton *pButton_RestUI_Wait5Minutes;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
62 extern struct GUIButton *pButton_RestUI_WaitUntilDawn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
63 extern struct GUIButton *pButton_RestUI_Wait1Hour;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
64
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
65
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
66 extern struct GUIButton *pCharacterScreen_ExitBtn;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
67 extern struct GUIButton *pCharacterScreen_AwardsBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
68 extern struct GUIButton *pCharacterScreen_InventoryBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
69 extern struct GUIButton *pCharacterScreen_SkillsBtn;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
70 extern struct GUIButton *pCharacterScreen_StatsBtn;
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
71 extern struct GUIButton *pCharacterScreen_DollBtn;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
72 extern struct GUIButton *pCharacterScreen_DetalizBtn;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
73
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
74
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
75 extern struct GUIButton *pBtn_NPCRight;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
76 extern struct GUIButton *pBtn_NPCLeft;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
77 extern struct GUIButton *pBtn_GameSettings;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
78 extern struct GUIButton *pBtn_QuickReference;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
79 extern struct GUIButton *pBtn_CastSpell;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
80 extern struct GUIButton *pBtn_Rest;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
81 extern struct GUIButton *pBtn_History;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
82 extern struct GUIButton *pBtn_Calendar;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
83 extern struct GUIButton *pBtn_Maps;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
84 extern struct GUIButton *pBtn_Autonotes;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
85 extern struct GUIButton *pBtn_Quests;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
86
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
87
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
88 extern struct GUIButton *pMainMenu_BtnExit;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
89 extern struct GUIButton *pMainMenu_BtnCredits;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
90 extern struct GUIButton *pMainMenu_BtnLoad;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
91 extern struct GUIButton *pMainMenu_BtnNew;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
92
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
93
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
94 extern struct GUIButton *pBtn_Up;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
95 extern struct GUIButton *pBtn_Down;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
96 extern struct GUIButton *ptr_507BA4;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
97
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
98
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
99 extern struct GUIWindow *pPrimaryWindow;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
100 extern struct GUIWindow *pChestWindow;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
101 extern struct GUIWindow *pDialogueWindow;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
102 extern struct GUIWindow *ptr_507BC0;
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
103 extern struct GUIWindow *pGUIWindow_ScrollWindow;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
104 extern struct GUIWindow *ptr_507BC8;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
105 extern struct GUIWindow *pGUIWindow_CurrentMenu;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
106 extern struct GUIWindow *ptr_507BD0;
166
87c503d426e0 11.12.2012
Ritor1
parents: 0
diff changeset
107 extern struct GUIWindow *pGUIWindow_Settings;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
108 extern struct GUIWindow *ptr_507BDC;
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
109 extern struct GUIWindow *pGUIWindow_EscMessageWindow;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
110 extern struct GUIWindow *pBooksWindow;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
111 extern struct GUIWindow *pGUIWindow2;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
112
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
113
167
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
114 extern struct GUIButton *pBtn_Resume;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
115 extern struct GUIButton *pBtn_QuitGame;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
116 extern struct GUIButton *pBtn_GameControls;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
117 extern struct GUIButton *pBtn_LoadGame;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
118 extern struct GUIButton *pBtn_SaveGame;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
119 extern struct GUIButton *pBtn_NewGame;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
120
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
121 extern struct GUIButton *pBtn_SliderRight;
90a9c828c2a6 pWindow and pBtn
Ritor1
parents: 166
diff changeset
122 extern struct GUIButton *pBtn_SliderLeft;
0
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
123
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
124
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
125 extern struct GUIButton *ptr_69BD58;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
126 extern struct GUIButton *ptr_69BD5C;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
127 extern struct GUIButton *ptr_69BD60;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
128 extern struct GUIButton *ptr_69BD64;
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
129
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
130
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
131 extern GUIButton *pCreationUI_BtnPressRight2[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
132 extern GUIButton *pCreationUI_BtnPressLeft2[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
133 extern GUIButton *pCreationUI_BtnPressLeft[4];
8b8875f5b359 Initial commit
Nomad
parents:
diff changeset
134 extern GUIButton *pCreationUI_BtnPressRight[4];