annotate Arcomage.h @ 1199:9ddeeb7dfe64

m
author Gloval
date Sat, 08 Jun 2013 22:48:38 +0400
parents 98a70229c271
children c42f255ce1dc 1eed3e0ab666
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "OSAPI.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 #include "Texture.h"
Ritor1
parents:
diff changeset
5
1185
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
6 #pragma pack(push, 1)
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
7 struct am_st1
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
8 {
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
9 int field_0;
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
10 int field_4;
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
11 };
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
12 #pragma pack(pop)
0
Ritor1
parents:
diff changeset
13
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
14 /* 401 */
0
Ritor1
parents:
diff changeset
15 #pragma pack(push, 1)
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
16 struct Acromage_st1
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
17 {
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
18 int uCardId;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
19 int field_4;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
20 POINT field_8;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
21 int field_10_xplus;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
22 int field_14_y_plus;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
23 POINT field_18_point;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
24 };
0
Ritor1
parents:
diff changeset
25 #pragma pack(pop)
Ritor1
parents:
diff changeset
26
Ritor1
parents:
diff changeset
27
Ritor1
parents:
diff changeset
28 /* 272 */
Ritor1
parents:
diff changeset
29 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
30 struct ArcomageCard
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
31 {
1185
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
32 char pCardName[32];
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
33 int slot;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
34 char field_24;
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
35 char needed_quarry_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
36 char needed_magic_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
37 char needed_might_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
38 char needed_bricks;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
39 char needed_gems;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
40 char needed_beasts;
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
41 char field_2B;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
42 char field_2C;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
43 char field_2D;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
44 char field_2E;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
45 char field_2F;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
46 char field_30;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
47 char field_31;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
48 char field_32;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
49 char field_33;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
50 char field_34;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
51 char field_35;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
52 char field_36;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
53 char field_37;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
54 char field_38;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
55 char field_39;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
56 char field_3A;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
57 char field_3B;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
58 char field_3C;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
59 char field_3D;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
60 char field_3E;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
61 char field_3F;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
62 char field_40;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
63 char field_41;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
64 char field_42;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
65 char field_43;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
66 char field_44;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
67 char field_45;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
68 char field_46;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
69 char field_47;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
70 char field_48;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
71 char field_49;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
72 char field_4A;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
73 char field_4B;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
74 char field_4C;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
75 char field_4D;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
76 char field_4E;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
77 char field_4F;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
78 char field_50;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
79 char field_51;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
80 char field_52;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
81 char field_53;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
82 char field_54;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
83 char field_55;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
84 char field_56;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
85 char field_57;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
86 char field_58;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
87 char field_59;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
88 char field_5A;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
89 char field_5B;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
90 char field_5C;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
91 char field_5D;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
92 char field_5E;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
93 char field_5F;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
94 char field_60;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
95 char field_61;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
96 char field_62;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
97 char field_63;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
98 char field_64;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
99 char field_65;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
100 char field_66;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
101 char field_67;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
102 char field_68;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
103 char field_69;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
104 char field_6A;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
105 char field_6B;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
106 };
0
Ritor1
parents:
diff changeset
107 #pragma pack(pop)
Ritor1
parents:
diff changeset
108
Ritor1
parents:
diff changeset
109
Ritor1
parents:
diff changeset
110
Ritor1
parents:
diff changeset
111
Ritor1
parents:
diff changeset
112 #pragma pack(push, 1)
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
113 struct ArcomagePlayer
0
Ritor1
parents:
diff changeset
114 {
Ritor1
parents:
diff changeset
115 char pPlayerName[32];
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
116 int IsHisTurn;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
117 int tower_height;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
118 int wall_height;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
119 int quarry_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
120 int magic_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
121 int might_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
122 int resource_bricks;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
123 int resource_gems;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
124 int resource_beasts;
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
125 int cards_at_hand[10];
1185
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
126 am_st1 arr_6C[10];
0
Ritor1
parents:
diff changeset
127 };
Ritor1
parents:
diff changeset
128 #pragma pack(pop)
Ritor1
parents:
diff changeset
129
Ritor1
parents:
diff changeset
130
Ritor1
parents:
diff changeset
131
Ritor1
parents:
diff changeset
132 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
133 struct ArcomageGame_stru1
Ritor1
parents:
diff changeset
134 {
Ritor1
parents:
diff changeset
135 int field_0;
Ritor1
parents:
diff changeset
136 int field_4;
Ritor1
parents:
diff changeset
137 int field_8;
Ritor1
parents:
diff changeset
138 };
Ritor1
parents:
diff changeset
139 #pragma pack(pop)
Ritor1
parents:
diff changeset
140
Ritor1
parents:
diff changeset
141
Ritor1
parents:
diff changeset
142
Ritor1
parents:
diff changeset
143
Ritor1
parents:
diff changeset
144 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
145 struct ArcomageGame
Ritor1
parents:
diff changeset
146 {
Ritor1
parents:
diff changeset
147 ArcomageGame();
Ritor1
parents:
diff changeset
148
Ritor1
parents:
diff changeset
149 static bool LoadBackground();
Ritor1
parents:
diff changeset
150 static bool LoadSprites();
Ritor1
parents:
diff changeset
151 static bool MsgLoop(int a1, ArcomageGame_stru1 *a2);
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
152 static void PlaySound(unsigned int event_id);
0
Ritor1
parents:
diff changeset
153 static void OnMouseClick(char right_left, bool bDown);
Ritor1
parents:
diff changeset
154 static void OnMouseMove(POINT *pXY);
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
155 static void GetCardRect(unsigned int uCardID, RECT *pCardRect);
0
Ritor1
parents:
diff changeset
156
Ritor1
parents:
diff changeset
157 static void Loop();
Ritor1
parents:
diff changeset
158
Ritor1
parents:
diff changeset
159 char field_0;
Ritor1
parents:
diff changeset
160 char field_1;
Ritor1
parents:
diff changeset
161 char field_2;
Ritor1
parents:
diff changeset
162 char field_3;
Ritor1
parents:
diff changeset
163 int field_4;
Ritor1
parents:
diff changeset
164 ArcomageGame_stru1 stru1;
Ritor1
parents:
diff changeset
165 tagMSG msg;
Ritor1
parents:
diff changeset
166 int mouse_x;
Ritor1
parents:
diff changeset
167 int mouse_y;
Ritor1
parents:
diff changeset
168 char mouse_left;
Ritor1
parents:
diff changeset
169 char field_39;
Ritor1
parents:
diff changeset
170 char mouse_right;
Ritor1
parents:
diff changeset
171 char field_3B;
Ritor1
parents:
diff changeset
172 unsigned __int16 *pBackgroundPixels;
Ritor1
parents:
diff changeset
173 unsigned __int16 *pSpritesPixels;
Ritor1
parents:
diff changeset
174 unsigned __int16 *pBlit_Copy_pixels;
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
175 struct GUIFont *pfntComic;//ptr_48;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
176 struct GUIFont *pfntArrus;//ptr_4C;
0
Ritor1
parents:
diff changeset
177 int field_50;
Ritor1
parents:
diff changeset
178 __int16 field_54;
Ritor1
parents:
diff changeset
179 __int16 field_56;
Ritor1
parents:
diff changeset
180 RGBTexture pGameBackground;
Ritor1
parents:
diff changeset
181 RGBTexture pSprites;
Ritor1
parents:
diff changeset
182 int event_timer_time;
Ritor1
parents:
diff changeset
183 int uGameResult;
Ritor1
parents:
diff changeset
184 int field_B0;
Ritor1
parents:
diff changeset
185 char pPlayer1Name[32];
Ritor1
parents:
diff changeset
186 char pPlayer2Name[32];
Ritor1
parents:
diff changeset
187 char field_F4;
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
188 char GameOver;
0
Ritor1
parents:
diff changeset
189 char field_F6;
Ritor1
parents:
diff changeset
190 char field_F7;
Ritor1
parents:
diff changeset
191 char field_F8;
Ritor1
parents:
diff changeset
192 char field_F9;
Ritor1
parents:
diff changeset
193 char bGameInProgress;
Ritor1
parents:
diff changeset
194 };
Ritor1
parents:
diff changeset
195 #pragma pack(pop)
Ritor1
parents:
diff changeset
196
Ritor1
parents:
diff changeset
197
Ritor1
parents:
diff changeset
198
Ritor1
parents:
diff changeset
199
Ritor1
parents:
diff changeset
200 extern ArcomageGame *pArcomageGame;
Ritor1
parents:
diff changeset
201 extern ArcomageCard pCards[87];
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
202
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
203
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
204
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
205 #pragma pack(push, 1)
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
206 struct stru272_stru1
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
207 {
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
208 int field_0;
1185
24454b5c9268 more on acromage
Gloval
parents: 1184
diff changeset
209 POINT field_4;
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
210 int field_C;
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
211 int field_10;
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
212 int field_14;
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
213 int field_18;
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
214 };
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
215 #pragma pack(pop)
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
216
1186
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
217 /* 404 */
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
218 #pragma pack(push, 1)
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
219 struct stru272_stru2
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
220 {
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
221 int field_0;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
222 int field_4;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
223 int field_8;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
224 int field_C;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
225 int field_10;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
226 int field_14;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
227 int field_18;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
228 float field_1Cf;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
229 int field_20;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
230 float field_24f;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
231 float field_28f;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
232 float field_2Cf;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
233 int field_30;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
234 int field_34;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
235 stru272_stru1* field_38;
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
236 };
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
237 #pragma pack(pop)
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
238
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
239
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
240 /* 270 */
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
241 #pragma pack(push, 1)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
242 struct stru272_stru0 // ARCOMAGE stuff
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
243 {
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
244 static void _40DFD1(stru272_stru0 *a1);
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
245 int _40DFFE();
1186
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
246 int _40E01A(stru272_stru2* a2);
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
247 int _40E0F5(char a2, char a3);
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
248 int _40E133();
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
249 int _40E2A7();
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
250
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
251 int signature;
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
252 int field_4;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
253 int field_8;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
254 int field_C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
255 int field_10;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
256 int field_14;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
257 int field_18;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
258 int field_1C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
259 int field_20;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
260 int field_24;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
261 float field_28;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
262 float field_2C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
263 float field_30;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
264 int field_34;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
265 int field_38;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
266 int field_3C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
267 int field_40;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
268 int field_44;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
269 int field_48;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
270 int field_4C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
271 int field_50;
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
272 stru272_stru1 * field_54;
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
273 char field_58;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
274 char field_59;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
275 char field_5A;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
276 char field_5B;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
277 };
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
278 #pragma pack(pop)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
279
1194
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
280 #define DECK_SIZE 108
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
281
1194
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
282 #pragma pack(push, 1)
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
283 struct ArcomageDeck
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
284 {
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
285 char name[32];
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
286 char cardsInUse[DECK_SIZE];
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
287 int cards_IDs[DECK_SIZE];
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
288 };
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
289
1194
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
290 #pragma pack(pop)
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
291
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
292 #pragma pack(push, 1)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
293 struct stru272
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
294 {
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
295 char field_0;
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
296 char field_1;
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
297 char _pad_2;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
298 char _pad_3;
1186
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
299 stru272_stru2 field_4;
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
300 stru272_stru0 *field_40;
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
301 stru272_stru1 field_44[150];
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
302 };
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
303 #pragma pack(pop)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
304