annotate Arcomage.h @ 2106:b52c09e01e7e

PlaySound() blv_door and other sounds
author Ritor1
date Fri, 20 Dec 2013 00:37:39 +0600
parents 4da5644df18f
children 20995bb8895a
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
Ritor1
parents:
diff changeset
6
Ritor1
parents:
diff changeset
7
Ritor1
parents:
diff changeset
8
Ritor1
parents:
diff changeset
9 /* 272 */
Ritor1
parents:
diff changeset
10 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
11 struct ArcomageCard
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
12 {
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
13 char pCardName[32];
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
14 int slot;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
15 char field_24;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
16 char needed_quarry_level;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
17 char needed_magic_level;
1679
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
18 char needed_zoo_level;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
19 char needed_bricks;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
20 char needed_gems;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
21 char needed_beasts;
1679
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
22 bool can_be_discarded;
1245
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
23 int compare_param;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
24 char field_30;
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
25 char draw_extra_card_count;
1245
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
26 char to_player_quarry_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
27 char to_player_magic_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
28 char to_player_zoo_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
29 char to_player_bricks;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
30 char to_player_gems;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
31 char to_player_beasts;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
32 char to_player_buildings;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
33 char to_player_wall;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
34 char to_player_tower;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
35 char to_enemy_quarry_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
36 char to_enemy_magic_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
37 char to_enemy_zoo_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
38 char to_enemy_bricks;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
39 char to_enemy_gems;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
40 char to_enemy_beasts;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
41 char to_enemy_buildings;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
42 char to_enemy_wall;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
43 char to_enemy_tower;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
44 char to_pl_enm_quarry_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
45 char to_pl_enm_magic_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
46 char to_pl_enm_zoo_lvl;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
47 char to_pl_enm_bricks;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
48 char to_pl_enm_gems;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
49 char to_pl_enm_beasts;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
50 char to_pl_enm_buildings;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
51 char to_pl_enm_wall;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
52 char to_pl_enm_tower;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
53 char field_4D;
1245
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
54 char can_draw_extra_card2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
55 char to_player_quarry_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
56 char to_player_magic_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
57 char to_player_zoo_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
58 char to_player_bricks2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
59 char to_player_gems2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
60 char to_player_beasts2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
61 char to_player_buildings2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
62 char to_player_wall2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
63 char to_player_tower2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
64 char to_enemy_quarry_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
65 char to_enemy_magic_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
66 char to_enemy_zoo_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
67 char to_enemy_bricks2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
68 char to_enemy_gems2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
69 char to_enemy_beasts2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
70 char to_enemy_buildings2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
71 char to_enemy_wall2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
72 char to_enemy_tower2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
73 char to_pl_enm_quarry_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
74 char to_pl_enm_magic_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
75 char to_pl_enm_zoo_lvl2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
76 char to_pl_enm_bricks2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
77 char to_pl_enm_gems2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
78 char to_pl_enm_beasts2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
79 char to_pl_enm_buildings2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
80 char to_pl_enm_wall2;
e161d8a5a529 acromage - apply card
Gloval
parents: 1241
diff changeset
81 char to_pl_enm_tower2;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
82 char field_6A;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
83 char field_6B;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
84 };
0
Ritor1
parents:
diff changeset
85 #pragma pack(pop)
Ritor1
parents:
diff changeset
86
Ritor1
parents:
diff changeset
87
1679
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
88 /* 401 */
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
89 #pragma pack(push, 1)
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
90 struct AcromageCardOnTable
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
91 {
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
92 int uCardId;
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
93 int field_4;
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
94 POINT field_8;
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
95 int field_10_xplus;
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
96 int field_14_y_plus;
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
97 POINT field_18_point;
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
98 };
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
99 #pragma pack(pop)
0
Ritor1
parents:
diff changeset
100
Ritor1
parents:
diff changeset
101
Ritor1
parents:
diff changeset
102 #pragma pack(push, 1)
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
103 struct ArcomagePlayer
0
Ritor1
parents:
diff changeset
104 {
Ritor1
parents:
diff changeset
105 char pPlayerName[32];
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
106 int IsHisTurn;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
107 int tower_height;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
108 int wall_height;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
109 int quarry_level;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
110 int magic_level;
1200
c42f255ce1dc Cards drawn
Gloval
parents: 1198
diff changeset
111 int zoo_level;
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
112 int resource_bricks;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
113 int resource_gems;
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
114 int resource_beasts;
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
115 int cards_at_hand[10];
1256
236d39ae8f6e arcomage playable
Gloval
parents: 1245
diff changeset
116 POINT card_shift[10];
0
Ritor1
parents:
diff changeset
117 };
Ritor1
parents:
diff changeset
118 #pragma pack(pop)
Ritor1
parents:
diff changeset
119
Ritor1
parents:
diff changeset
120
Ritor1
parents:
diff changeset
121
Ritor1
parents:
diff changeset
122 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
123 struct ArcomageGame_stru1
Ritor1
parents:
diff changeset
124 {
Ritor1
parents:
diff changeset
125 int field_0;
Ritor1
parents:
diff changeset
126 int field_4;
Ritor1
parents:
diff changeset
127 int field_8;
Ritor1
parents:
diff changeset
128 };
Ritor1
parents:
diff changeset
129 #pragma pack(pop)
Ritor1
parents:
diff changeset
130
Ritor1
parents:
diff changeset
131
Ritor1
parents:
diff changeset
132
Ritor1
parents:
diff changeset
133
Ritor1
parents:
diff changeset
134 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
135 struct ArcomageGame
Ritor1
parents:
diff changeset
136 {
Ritor1
parents:
diff changeset
137 ArcomageGame();
Ritor1
parents:
diff changeset
138
Ritor1
parents:
diff changeset
139 static bool LoadBackground();
Ritor1
parents:
diff changeset
140 static bool LoadSprites();
Ritor1
parents:
diff changeset
141 static bool MsgLoop(int a1, ArcomageGame_stru1 *a2);
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
142 static void PlaySound(unsigned int event_id);
0
Ritor1
parents:
diff changeset
143 static void OnMouseClick(char right_left, bool bDown);
1532
3c33f3e44f71 Fix and clean aWinProc and related
yoctozepto
parents: 1303
diff changeset
144 static void OnMouseMove(int x, int y);
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
145 static void GetCardRect(unsigned int uCardID, RECT *pCardRect);
0
Ritor1
parents:
diff changeset
146
Ritor1
parents:
diff changeset
147 static void Loop();
Ritor1
parents:
diff changeset
148
Ritor1
parents:
diff changeset
149 char field_0;
Ritor1
parents:
diff changeset
150 char field_1;
Ritor1
parents:
diff changeset
151 char field_2;
Ritor1
parents:
diff changeset
152 char field_3;
Ritor1
parents:
diff changeset
153 int field_4;
Ritor1
parents:
diff changeset
154 ArcomageGame_stru1 stru1;
Ritor1
parents:
diff changeset
155 tagMSG msg;
Ritor1
parents:
diff changeset
156 int mouse_x;
Ritor1
parents:
diff changeset
157 int mouse_y;
Ritor1
parents:
diff changeset
158 char mouse_left;
Ritor1
parents:
diff changeset
159 char field_39;
Ritor1
parents:
diff changeset
160 char mouse_right;
Ritor1
parents:
diff changeset
161 char field_3B;
Ritor1
parents:
diff changeset
162 unsigned __int16 *pBackgroundPixels;
Ritor1
parents:
diff changeset
163 unsigned __int16 *pSpritesPixels;
Ritor1
parents:
diff changeset
164 unsigned __int16 *pBlit_Copy_pixels;
1183
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
165 struct GUIFont *pfntComic;//ptr_48;
fa30ea497e94 arcomage refactoring started
Gloval
parents: 935
diff changeset
166 struct GUIFont *pfntArrus;//ptr_4C;
0
Ritor1
parents:
diff changeset
167 int field_50;
1267
33e360a9b4bf some fixes in normals
Gloval
parents: 1263
diff changeset
168 int field_54;
0
Ritor1
parents:
diff changeset
169 RGBTexture pGameBackground;
Ritor1
parents:
diff changeset
170 RGBTexture pSprites;
Ritor1
parents:
diff changeset
171 int event_timer_time;
Ritor1
parents:
diff changeset
172 int uGameResult;
Ritor1
parents:
diff changeset
173 int field_B0;
Ritor1
parents:
diff changeset
174 char pPlayer1Name[32];
Ritor1
parents:
diff changeset
175 char pPlayer2Name[32];
Ritor1
parents:
diff changeset
176 char field_F4;
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
177 char GameOver;
0
Ritor1
parents:
diff changeset
178 char field_F6;
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
179 char prev_mouse_left;
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
180 char prev_mouse_right;
0
Ritor1
parents:
diff changeset
181 char field_F9;
Ritor1
parents:
diff changeset
182 char bGameInProgress;
Ritor1
parents:
diff changeset
183 };
Ritor1
parents:
diff changeset
184 #pragma pack(pop)
Ritor1
parents:
diff changeset
185
Ritor1
parents:
diff changeset
186
Ritor1
parents:
diff changeset
187
Ritor1
parents:
diff changeset
188
Ritor1
parents:
diff changeset
189 extern ArcomageGame *pArcomageGame;
Ritor1
parents:
diff changeset
190 extern ArcomageCard pCards[87];
1303
Ritor1
parents: 1267
diff changeset
191 extern void set_stru1_field_8_InArcomage(int inValue);
1197
2b950844f2d6 mostly arcomage structs renaming.
Gloval
parents: 1194
diff changeset
192
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
193
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
194
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
195 #pragma pack(push, 1)
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
196 struct stru272_stru1
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
197 {
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
198 int have_spark;
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
199 POINT spark_position;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
200 int field_C;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
201 int field_10;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
202 int field_14;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
203 int field_18;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
204 };
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
205 #pragma pack(pop)
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
206
1186
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
207 /* 404 */
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
208 #pragma pack(push, 1)
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
209 struct stru272_stru2
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
210 {
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
211 /*int field_0;
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
212 int field_4;
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
213 int field_8;
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
214 int field_C;*/
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
215 RECT effect_area;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
216 int field_10;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
217 int field_14;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
218 int field_18;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
219 float field_1Cf;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
220 int field_20;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
221 float field_24f;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
222 float field_28f;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
223 float field_2Cf;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
224 int field_30;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
225 int field_34;
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
226 stru272_stru1* sparks_array;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
227 };
1186
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
228 #pragma pack(pop)
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
229
569216b4f54d more on arcomage 2
Gloval
parents: 1185
diff changeset
230
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
231 /* 270 */
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
232 #pragma pack(push, 1)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
233 struct stru272_stru0 // ARCOMAGE stuff
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
234 {
1679
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
235 static stru272_stru0 *New();
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
236
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
237 int Free();
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
238 int StartFill(stru272_stru2* a2);
1679
4da5644df18f Cosmetics
Nomad
parents: 1532
diff changeset
239 int Clear(char a2, char a3);
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
240 int DrawEffect();
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
241 int _40E2A7();
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
242
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
243 int signature;
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
244 int field_4;
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
245 int position_in_sparks_arr;
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
246 int field_C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
247 int field_10;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
248 int field_14;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
249 int field_18;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
250 int field_1C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
251 int field_20;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
252 int field_24;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
253 float field_28;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
254 float field_2C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
255 float field_30;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
256 int field_34;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
257 int field_38;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
258 int field_3C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
259 int field_40;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
260 int field_44;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
261 int field_48;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
262 int field_4C;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
263 int field_50;
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
264 stru272_stru1 * field_54;
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
265 char field_58;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
266 char field_59;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
267 char field_5A;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
268 char field_5B;
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
269 };
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
270 #pragma pack(pop)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
271
1194
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
272 #define DECK_SIZE 108
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
273
1194
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
274 #pragma pack(push, 1)
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
275 struct ArcomageDeck
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
276 {
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
277 char name[32];
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
278 char cardsInUse[DECK_SIZE];
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
279 int cards_IDs[DECK_SIZE];
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
280 };
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
281
1194
9baf16113199 arcomage ui partialy drawn
Gloval
parents: 1186
diff changeset
282 #pragma pack(pop)
1184
a90dc4aee8f4 arcomage refactoring continued
Gloval
parents: 1183
diff changeset
283
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
284 #pragma pack(push, 1)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
285 struct stru272
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
286 {
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
287 char have_effect;
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
288 char effect_sign;
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
289 char _pad_2;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
290 char _pad_3;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
291 stru272_stru2 field_4;
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
292 stru272_stru0 *field_40;
1263
73269755dd89 arcomage renaming&cleaning
Gloval
parents: 1256
diff changeset
293 stru272_stru1 effect_sparks[150];
1204
832f09144726 hopefully correct merge
Grumpy7
parents: 1203
diff changeset
294 };
935
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
295 #pragma pack(pop)
b462b598b97a stru272.h removed, stuff moved to arcomage
Nomad
parents: 0
diff changeset
296