annotate Player.h @ 181:1860917d953f

14.02.13
author Ritor1
date Thu, 14 Feb 2013 22:38:44 +0600
parents 9b0d651821f1
children 49728858c35e
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "Items.h"
Ritor1
parents:
diff changeset
3 #include "Spells.h"
Ritor1
parents:
diff changeset
4
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 /* 339 */
Ritor1
parents:
diff changeset
10 enum CHARACTER_RACE
Ritor1
parents:
diff changeset
11 {
Ritor1
parents:
diff changeset
12 CHARACTER_RACE_HUMAN = 0x0,
Ritor1
parents:
diff changeset
13 CHARACTER_RACE_ELF = 0x1,
Ritor1
parents:
diff changeset
14 CHARACTER_RACE_GOBLIN = 0x2,
Ritor1
parents:
diff changeset
15 CHARACTER_RACE_DWARF = 0x3,
Ritor1
parents:
diff changeset
16 };
Ritor1
parents:
diff changeset
17 enum CHARACTER_ATTRIBUTE
Ritor1
parents:
diff changeset
18 {
Ritor1
parents:
diff changeset
19 CHARACTER_MIGHT = 0x0,
Ritor1
parents:
diff changeset
20 CHARACTER_INTELLIGANCE = 0x1,
Ritor1
parents:
diff changeset
21 CHARACTER_WILLPOWER = 0x2,
Ritor1
parents:
diff changeset
22 CHARACTER_ENDURANCE = 0x3,
Ritor1
parents:
diff changeset
23 CHARACTER_ACCURACY = 0x4,
Ritor1
parents:
diff changeset
24 CHARACTER_SPEED = 0x5,
Ritor1
parents:
diff changeset
25 CHARACTER_LUCK = 0x6,
Ritor1
parents:
diff changeset
26 };
Ritor1
parents:
diff changeset
27
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
28
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
29
0
Ritor1
parents:
diff changeset
30 /* 332 */
Ritor1
parents:
diff changeset
31 enum CHARACTER_ATTRIBUTE_TYPE
Ritor1
parents:
diff changeset
32 {
Ritor1
parents:
diff changeset
33 CHARACTER_ATTRIBUTE_STRENGTH = 0x0,
Ritor1
parents:
diff changeset
34 CHARACTER_ATTRIBUTE_INTELLIGENCE = 0x1,
Ritor1
parents:
diff changeset
35 CHARACTER_ATTRIBUTE_WILLPOWER = 0x2,
Ritor1
parents:
diff changeset
36 CHARACTER_ATTRIBUTE_ENDURANCE = 0x3,
Ritor1
parents:
diff changeset
37 CHARACTER_ATTRIBUTE_ACCURACY = 0x4,
Ritor1
parents:
diff changeset
38 CHARACTER_ATTRIBUTE_SPEED = 0x5,
Ritor1
parents:
diff changeset
39 CHARACTER_ATTRIBUTE_LUCK = 0x6,
Ritor1
parents:
diff changeset
40 CHARACTER_ATTRIBUTE_HEALTH = 0x7,
Ritor1
parents:
diff changeset
41 CHARACTER_ATTRIBUTE_MANA = 0x8,
Ritor1
parents:
diff changeset
42 CHARACTER_ATTRIBUTE_AC_BONUS = 0x9,
Ritor1
parents:
diff changeset
43 CHARACTER_ATTRIBUTE_RESIST_FIRE = 0xA,
Ritor1
parents:
diff changeset
44 CHARACTER_ATTRIBUTE_RESIST_AIR = 0xB,
Ritor1
parents:
diff changeset
45 CHARACTER_ATTRIBUTE_RESIST_WATER = 0xC,
Ritor1
parents:
diff changeset
46 CHARACTER_ATTRIBUTE_RESIST_EARTH = 0xD,
Ritor1
parents:
diff changeset
47 CHARACTER_ATTRIBUTE_RESIST_MIND = 0xE,
Ritor1
parents:
diff changeset
48 CHARACTER_ATTRIBUTE_RESIST_BODY = 0xF,
Ritor1
parents:
diff changeset
49 CHARACTER_ATTRIBUTE_LEVEL = 0x18,
Ritor1
parents:
diff changeset
50 CHARACTER_ATTRIBUTE_ATTACK = 0x19,
Ritor1
parents:
diff changeset
51 CHARACTER_ATTRIBUTE_MELEE_DMG_BONUS = 0x1A,
Ritor1
parents:
diff changeset
52 CHARACTER_ATTRIBUTE_MELEE_DMG_MIN = 0x1B,
Ritor1
parents:
diff changeset
53 CHARACTER_ATTRIBUTE_MELEE_DMG_MAX = 0x1C,
Ritor1
parents:
diff changeset
54 CHARACTER_ATTRIBUTE_RANGED_ATTACK = 0x1D,
Ritor1
parents:
diff changeset
55 CHARACTER_ATTRIBUTE_RANGED_DAMAGE_BONUS = 0x1E,
Ritor1
parents:
diff changeset
56 CHARACTER_ATTRIBUTE_RANGED_DAMAGE_MIN = 0x1F,
Ritor1
parents:
diff changeset
57 CHARACTER_ATTRIBUTE_RANGED_DAMAGE_MAX = 0x20,
Ritor1
parents:
diff changeset
58 };
Ritor1
parents:
diff changeset
59
Ritor1
parents:
diff changeset
60 /* 328 */
Ritor1
parents:
diff changeset
61 enum PLAYER_SKILL_TYPE
Ritor1
parents:
diff changeset
62 {
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
63 PLAYER_SKILL_STAFF = 0,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
64 PLAYER_SKILL_SWORD = 1,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
65 PLAYER_SKILL_DAGGER = 2,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
66 PLAYER_SKILL_AXE = 3,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
67 PLAYER_SKILL_SPEAR = 4,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
68 PLAYER_SKILL_BOW = 5,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
69 PLAYER_SKILL_MACE = 6,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
70 PLAYER_SKILL_BLASTER = 7,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
71 PLAYER_SKILL_SHIELD = 8,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
72 PLAYER_SKILL_LEATHER = 9,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
73 PLAYER_SKILL_CHAIN = 10,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
74 PLAYER_SKILL_PLATE = 11,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
75 PLAYER_SKILL_FIRE = 12,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
76 PLAYER_SKILL_AIR = 13,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
77 PLAYER_SKILL_WATER = 14,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
78 PLAYER_SKILL_EARTH = 15,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
79 PLAYER_SKILL_SPIRIT = 16,
0
Ritor1
parents:
diff changeset
80 PLAYER_SKILL_MIND = 0x11,
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
81 PLAYER_SKILL_BODY = 18,
0
Ritor1
parents:
diff changeset
82 PLAYER_SKILL_LIGHT = 0x13,
Ritor1
parents:
diff changeset
83 PLAYER_SKILL_DARK = 0x14,
Ritor1
parents:
diff changeset
84 PLAYER_SKILL_ITEM_ID = 0x15,
Ritor1
parents:
diff changeset
85 PLAYER_SKILL_MERCHANT = 0x16,
Ritor1
parents:
diff changeset
86 PLAYER_SKILL_REPAIR = 0x17,
Ritor1
parents:
diff changeset
87 PLAYER_SKILL_BODYBUILDING = 0x18,
Ritor1
parents:
diff changeset
88 PLAYER_SKILL_MEDITATION = 0x19,
Ritor1
parents:
diff changeset
89 PLAYER_SKILL_PERCEPTION = 0x1A,
Ritor1
parents:
diff changeset
90 PLAYER_SKILL_DIPLOMACY = 0x1B,
Ritor1
parents:
diff changeset
91 PLAYER_SKILL_TIEVERY = 0x1C,
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
92 PLAYER_SKILL_TRAP_DISARM = 29,
0
Ritor1
parents:
diff changeset
93 PLAYER_SKILL_DODGE = 0x1E,
Ritor1
parents:
diff changeset
94 PLAYER_SKILL_UNARMED = 0x1F,
Ritor1
parents:
diff changeset
95 PLAYER_SKILL_MONSTER_ID = 0x20,
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
96 PLAYER_SKILL_ARMSMASTER = 33,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
97 PLAYER_SKILL_STEALING = 34,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
98 PLAYER_SKILL_ALCHEMY = 35,
0
Ritor1
parents:
diff changeset
99 PLAYER_SKILL_LEARNING = 0x24,
Ritor1
parents:
diff changeset
100 };
Ritor1
parents:
diff changeset
101
Ritor1
parents:
diff changeset
102 /* 329 */
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
103 enum PLAYER_CLASS_TYPE: unsigned __int8
0
Ritor1
parents:
diff changeset
104 {
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
105 PLAYER_CLASS_KNIGHT = 0,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
106 PLAYER_CLASS_THEIF = 4,
0
Ritor1
parents:
diff changeset
107 PLAYER_CLASS_BOUNTY_HUNTER = 0x7,
Ritor1
parents:
diff changeset
108 PLAYER_CLASS_MONK = 0x8,
Ritor1
parents:
diff changeset
109 PLAYER_CLASS_PALADIN = 0xC,
Ritor1
parents:
diff changeset
110 PLAYER_CLASS_SHOOTER = 0x10,
Ritor1
parents:
diff changeset
111 PLAYER_CLASS_RANGER = 0x14,
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
112 PLAYER_CLASS_CLERIC = 24,
0
Ritor1
parents:
diff changeset
113 PLAYER_CLASS_PRIEST_OF_MOON = 0x1B,
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
114 PLAYER_CLASS_DRUID = 28,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
115 PLAYER_CLASS_31 = 31,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
116 PLAYER_CLASS_SORCERER = 32,
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
117 PLAYER_CLASS_LICH = 35,
0
Ritor1
parents:
diff changeset
118 };
Ritor1
parents:
diff changeset
119
Ritor1
parents:
diff changeset
120
Ritor1
parents:
diff changeset
121
Ritor1
parents:
diff changeset
122
Ritor1
parents:
diff changeset
123 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
124 struct LloydBeacon
Ritor1
parents:
diff changeset
125 {
Ritor1
parents:
diff changeset
126 unsigned __int64 uBeaconTime;
Ritor1
parents:
diff changeset
127 int field_8;
Ritor1
parents:
diff changeset
128 int field_C;
Ritor1
parents:
diff changeset
129 int field_10;
Ritor1
parents:
diff changeset
130 int field_14;
Ritor1
parents:
diff changeset
131 int field_18;
Ritor1
parents:
diff changeset
132 };
Ritor1
parents:
diff changeset
133 #pragma pack(pop)
Ritor1
parents:
diff changeset
134
Ritor1
parents:
diff changeset
135
Ritor1
parents:
diff changeset
136
Ritor1
parents:
diff changeset
137 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
138 struct PlayerSpellbookChapter
Ritor1
parents:
diff changeset
139 {
Ritor1
parents:
diff changeset
140 unsigned __int8 bIsSpellbookAvailable;
Ritor1
parents:
diff changeset
141 char bIsSpellAvailable[10];
Ritor1
parents:
diff changeset
142 };
Ritor1
parents:
diff changeset
143 #pragma pack(pop)
Ritor1
parents:
diff changeset
144
Ritor1
parents:
diff changeset
145 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
146 struct PlayerSpells
Ritor1
parents:
diff changeset
147 {
Ritor1
parents:
diff changeset
148 union
Ritor1
parents:
diff changeset
149 {
Ritor1
parents:
diff changeset
150 struct
Ritor1
parents:
diff changeset
151 {
Ritor1
parents:
diff changeset
152 PlayerSpellbookChapter pFireSpellbook;
Ritor1
parents:
diff changeset
153 PlayerSpellbookChapter pAirSpellbook;
Ritor1
parents:
diff changeset
154 PlayerSpellbookChapter pWaterSpellbook;
Ritor1
parents:
diff changeset
155 PlayerSpellbookChapter pEarthSpellbook;
Ritor1
parents:
diff changeset
156 PlayerSpellbookChapter pSpiritSpellbook;
Ritor1
parents:
diff changeset
157 PlayerSpellbookChapter pMindSpellbook;
Ritor1
parents:
diff changeset
158 PlayerSpellbookChapter pBodySpellbook;
Ritor1
parents:
diff changeset
159 PlayerSpellbookChapter pLightSpellbook;
Ritor1
parents:
diff changeset
160 PlayerSpellbookChapter pDarkSpellbook;
Ritor1
parents:
diff changeset
161 char _pad_0;
Ritor1
parents:
diff changeset
162 };
Ritor1
parents:
diff changeset
163 struct
Ritor1
parents:
diff changeset
164 {
Ritor1
parents:
diff changeset
165 PlayerSpellbookChapter pChapters[9];
Ritor1
parents:
diff changeset
166 char _pad_1;
Ritor1
parents:
diff changeset
167 };
Ritor1
parents:
diff changeset
168 };
Ritor1
parents:
diff changeset
169 };
Ritor1
parents:
diff changeset
170 #pragma pack(pop)
Ritor1
parents:
diff changeset
171
Ritor1
parents:
diff changeset
172
Ritor1
parents:
diff changeset
173
Ritor1
parents:
diff changeset
174 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
175 union PlayerEquipment
Ritor1
parents:
diff changeset
176 {
Ritor1
parents:
diff changeset
177 union
Ritor1
parents:
diff changeset
178 {
Ritor1
parents:
diff changeset
179 struct
Ritor1
parents:
diff changeset
180 {
Ritor1
parents:
diff changeset
181 unsigned int uOffHand;
Ritor1
parents:
diff changeset
182 unsigned int uMainHand;
Ritor1
parents:
diff changeset
183 unsigned int uBow;
Ritor1
parents:
diff changeset
184 unsigned int uBody;
Ritor1
parents:
diff changeset
185 unsigned int uHelm;
Ritor1
parents:
diff changeset
186 unsigned int uBelt;
Ritor1
parents:
diff changeset
187 unsigned int uCloak;
Ritor1
parents:
diff changeset
188 unsigned int field_1C;
Ritor1
parents:
diff changeset
189 unsigned int field_20;
Ritor1
parents:
diff changeset
190 unsigned int field_24;
Ritor1
parents:
diff changeset
191 unsigned int field_28;
Ritor1
parents:
diff changeset
192 unsigned int field_2C;
Ritor1
parents:
diff changeset
193 unsigned int field_30;
Ritor1
parents:
diff changeset
194 unsigned int field_34;
Ritor1
parents:
diff changeset
195 unsigned int field_38;
Ritor1
parents:
diff changeset
196 unsigned int field_3C;
Ritor1
parents:
diff changeset
197 };
Ritor1
parents:
diff changeset
198 unsigned int pIndices[16];
Ritor1
parents:
diff changeset
199 };
Ritor1
parents:
diff changeset
200 };
Ritor1
parents:
diff changeset
201 #pragma pack(pop)
Ritor1
parents:
diff changeset
202
Ritor1
parents:
diff changeset
203
Ritor1
parents:
diff changeset
204
Ritor1
parents:
diff changeset
205
Ritor1
parents:
diff changeset
206
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
207 enum CHARACTER_EXPRESSION_ID: unsigned __int16
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
208 {
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
209 CHARACTER_EXPRESSION_INVALID = 0,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
210 CHARACTER_EXPRESSION_1 = 1,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
211 CHARACTER_EXPRESSION_CURSED = 2,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
212 CHARACTER_EXPRESSION_WEAK = 3,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
213 CHARACTER_EXPRESSION_SLEEP = 4,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
214 CHARACTER_EXPRESSION_FEAR = 5,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
215 CHARACTER_EXPRESSION_DRUNK = 6,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
216 CHARACTER_EXPRESSION_INSANE = 7,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
217 CHARACTER_EXPRESSION_POISONED = 8,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
218 CHARACTER_EXPRESSION_DISEASED = 9,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
219 CHARACTER_EXPRESSION_PARALYZED = 10,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
220 CHARACTER_EXPRESSION_UNCONCIOUS = 11,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
221 CHARACTER_EXPRESSION_PERTIFIED = 12,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
222 CHARACTER_EXPRESSION_13 = 13,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
223 CHARACTER_EXPRESSION_14 = 14,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
224 CHARACTER_EXPRESSION_15 = 15,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
225 CHARACTER_EXPRESSION_16 = 16,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
226 CHARACTER_EXPRESSION_17 = 17,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
227 CHARACTER_EXPRESSION_18 = 18,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
228 CHARACTER_EXPRESSION_19 = 19,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
229 CHARACTER_EXPRESSION_20 = 20,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
230 CHARACTER_EXPRESSION_21 = 21,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
231 CHARACTER_EXPRESSION_22 = 22,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
232 CHARACTER_EXPRESSION_23 = 23,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
233 CHARACTER_EXPRESSION_24 = 24,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
234 CHARACTER_EXPRESSION_25 = 25,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
235 CHARACTER_EXPRESSION_26 = 26,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
236 CHARACTER_EXPRESSION_27 = 27,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
237 CHARACTER_EXPRESSION_28 = 28,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
238 CHARACTER_EXPRESSION_29 = 29,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
239 CHARACTER_EXPRESSION_30 = 30,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
240 CHARACTER_EXPRESSION_31 = 31,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
241 CHARACTER_EXPRESSION_32 = 32,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
242 CHARACTER_EXPRESSION_33 = 33,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
243 CHARACTER_EXPRESSION_34 = 34,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
244 CHARACTER_EXPRESSION_35 = 35,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
245 CHARACTER_EXPRESSION_36 = 36,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
246 CHARACTER_EXPRESSION_37 = 37,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
247 CHARACTER_EXPRESSION_38 = 38,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
248 CHARACTER_EXPRESSION_39 = 39,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
249
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
250 // ?
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
251
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
252 CHARACTER_EXPRESSION_46 = 46,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
253
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
254 CHARACTER_EXPRESSION_54 = 54,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
255 CHARACTER_EXPRESSION_55 = 55,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
256 CHARACTER_EXPRESSION_56 = 56,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
257 CHARACTER_EXPRESSION_57 = 57,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
258
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
259 // ?
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
260
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
261 CHARACTER_EXPRESSION_DEAD = 98,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
262 CHARACTER_EXPRESSION_ERADICATED = 99,
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
263 };
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
264
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
265
0
Ritor1
parents:
diff changeset
266 enum PLAYER_SEX: unsigned __int8
Ritor1
parents:
diff changeset
267 {
Ritor1
parents:
diff changeset
268 SEX_MALE = 0,
Ritor1
parents:
diff changeset
269 SEX_FEMALE = 1
Ritor1
parents:
diff changeset
270 };
Ritor1
parents:
diff changeset
271
Ritor1
parents:
diff changeset
272 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
273 struct Player
Ritor1
parents:
diff changeset
274 {
Ritor1
parents:
diff changeset
275 enum Condition: unsigned __int32
Ritor1
parents:
diff changeset
276 {
Ritor1
parents:
diff changeset
277 Condition_Cursed = 0,
Ritor1
parents:
diff changeset
278 Condition_Weak = 1,
Ritor1
parents:
diff changeset
279 Condition_Sleep = 2,
Ritor1
parents:
diff changeset
280 Condition_Fear = 3,
Ritor1
parents:
diff changeset
281 Condition_Drunk = 4,
Ritor1
parents:
diff changeset
282 Condition_Insane = 5,
Ritor1
parents:
diff changeset
283 Condition_Poison1 = 6,
Ritor1
parents:
diff changeset
284 Condition_Disease1 = 7,
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
285 Condition_Poison2 = 8,
0
Ritor1
parents:
diff changeset
286 Condition_Disease2 = 9,
Ritor1
parents:
diff changeset
287 Condition_Poison3 = 10,
Ritor1
parents:
diff changeset
288 Condition_Disease3 = 11,
Ritor1
parents:
diff changeset
289 Condition_Paralyzed = 12,
Ritor1
parents:
diff changeset
290 Condition_Unconcious = 13,
Ritor1
parents:
diff changeset
291 Condition_Dead = 14,
Ritor1
parents:
diff changeset
292 Condition_Pertified = 15,
Ritor1
parents:
diff changeset
293 Condition_Eradicated = 16,
Ritor1
parents:
diff changeset
294 Condition_Zombie = 17,
Ritor1
parents:
diff changeset
295 Condition_Good = 18
Ritor1
parents:
diff changeset
296 };
Ritor1
parents:
diff changeset
297
Ritor1
parents:
diff changeset
298 Player();
Ritor1
parents:
diff changeset
299
Ritor1
parents:
diff changeset
300 void SetVariable(enum VariableType var, signed int a3);
Ritor1
parents:
diff changeset
301 void AddVariable(enum VariableType var, signed int val);
Ritor1
parents:
diff changeset
302 void SubtractVariable(enum VariableType var, void *a3);
Ritor1
parents:
diff changeset
303 char CompareVariable(enum VariableType var, signed int a1);
Ritor1
parents:
diff changeset
304 void UseItem_DrinkPotion_etc(signed int a2, int a3);
Ritor1
parents:
diff changeset
305 bool AddItem(struct ItemGen *pItem);
Ritor1
parents:
diff changeset
306 int GetBaseStrength();
Ritor1
parents:
diff changeset
307 int GetBaseIntelligence();
Ritor1
parents:
diff changeset
308 int GetBaseWillpower();
Ritor1
parents:
diff changeset
309 int GetBaseEndurance();
Ritor1
parents:
diff changeset
310 int GetBaseAccuracy();
Ritor1
parents:
diff changeset
311 int GetBaseSpeed();
Ritor1
parents:
diff changeset
312 int GetBaseLuck();
Ritor1
parents:
diff changeset
313 int GetBaseLevel();
Ritor1
parents:
diff changeset
314 int GetActualLevel();
Ritor1
parents:
diff changeset
315 int GetActualMight();
Ritor1
parents:
diff changeset
316 int GetActualIntelligence();
Ritor1
parents:
diff changeset
317 int GetActualWillpower();
Ritor1
parents:
diff changeset
318 int GetActualEndurance();
Ritor1
parents:
diff changeset
319 int GetActualAccuracy();
Ritor1
parents:
diff changeset
320 int GetActualSpeed();
Ritor1
parents:
diff changeset
321 int GetActualLuck();
Ritor1
parents:
diff changeset
322 int GetActualAttack(int a2);
Ritor1
parents:
diff changeset
323 int GetMeleeDamageMinimal();
Ritor1
parents:
diff changeset
324 int GetMeleeDamageMaximal();
Ritor1
parents:
diff changeset
325 int CalculateMeleeDamageTo(int a2, int a3, unsigned int uTargetActorID);
Ritor1
parents:
diff changeset
326 int GetRangedAttack();
Ritor1
parents:
diff changeset
327 int GetRangedDamageMin();
Ritor1
parents:
diff changeset
328 int GetRangedDamageMax();
Ritor1
parents:
diff changeset
329 bool CalculateRangedDamageTo(int a2);
Ritor1
parents:
diff changeset
330 char *GetMeleeDamageString();
Ritor1
parents:
diff changeset
331 char *GetRangedDamageString();
Ritor1
parents:
diff changeset
332 bool CanTrainToNextLevel();
Ritor1
parents:
diff changeset
333 unsigned int GetExperienceDisplayColor();
Ritor1
parents:
diff changeset
334 int CalculateIncommingDamage(int resistance, signed int type);
Ritor1
parents:
diff changeset
335 int GetEquippedItemEquipType(unsigned int uEquipSlot);
Ritor1
parents:
diff changeset
336 int GetEquippedItemSkillType(enum ITEM_EQUIP_TYPE uEquipSlot);
Ritor1
parents:
diff changeset
337 bool IsUnarmed();
Ritor1
parents:
diff changeset
338 bool HasItemEquipped(enum ITEM_EQUIP_TYPE uEquipIndex);
Ritor1
parents:
diff changeset
339 bool HasEnchantedItemEquipped(int uEnchantment);
Ritor1
parents:
diff changeset
340 bool WearsItem(int a1, signed int a2);
Ritor1
parents:
diff changeset
341 bool StealFromShop(struct ItemGen *a2, int a3, int a4, int a5, int *a6);
Ritor1
parents:
diff changeset
342 int StealFromActor(unsigned int uActorID, int _steal_perm, int reputation);
Ritor1
parents:
diff changeset
343 void Heal(int amount);
Ritor1
parents:
diff changeset
344 int ReceiveDamage(signed int type, int resistance);
Ritor1
parents:
diff changeset
345 int _48DCF6(int a2, struct Actor *pActor);
Ritor1
parents:
diff changeset
346 unsigned int GetSpellSchool(unsigned int uSpellID);
Ritor1
parents:
diff changeset
347 int GetAttackRecoveryTime(int a2);
Ritor1
parents:
diff changeset
348 int GetMaxHealth();
Ritor1
parents:
diff changeset
349 int GetMaxMana();
Ritor1
parents:
diff changeset
350 int GetBaseAC();
Ritor1
parents:
diff changeset
351 int GetActualAC();
Ritor1
parents:
diff changeset
352 unsigned int GetBaseAge();
Ritor1
parents:
diff changeset
353 unsigned int GetActualAge();
Ritor1
parents:
diff changeset
354 int GetBaseResistance(enum CHARACTER_ATTRIBUTE_TYPE a2);
Ritor1
parents:
diff changeset
355 int GetActualResistance(enum CHARACTER_ATTRIBUTE_TYPE a2);
Ritor1
parents:
diff changeset
356 void SetRecoveryTime(signed int sRecoveryTime);
Ritor1
parents:
diff changeset
357 void RandomizeName();
Ritor1
parents:
diff changeset
358 unsigned int GetMajorConditionIdx();
Ritor1
parents:
diff changeset
359 int _48EA1B_get_static_effect(int a2);
Ritor1
parents:
diff changeset
360 int _48EA46_calc_special_bonus_by_items(int a2);
Ritor1
parents:
diff changeset
361 int GetItemsBonus(enum CHARACTER_ATTRIBUTE_TYPE attr, int a3);
Ritor1
parents:
diff changeset
362 int GetMagicalBonus(enum CHARACTER_ATTRIBUTE_TYPE a2);
Ritor1
parents:
diff changeset
363 char GetActualSkillLevel(enum PLAYER_SKILL_TYPE uSkillType);
Ritor1
parents:
diff changeset
364 int GetSkillBonus(enum CHARACTER_ATTRIBUTE_TYPE a2);
Ritor1
parents:
diff changeset
365 enum CHARACTER_RACE GetRace();
Ritor1
parents:
diff changeset
366 int GetSexByVoice();
Ritor1
parents:
diff changeset
367 void SetInitialStats();
Ritor1
parents:
diff changeset
368 int SetSexByVoice();
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
369 void Reset(PLAYER_CLASS_TYPE classType);
0
Ritor1
parents:
diff changeset
370 enum PLAYER_SKILL_TYPE GetSkillIdxByOrder(signed int order);
Ritor1
parents:
diff changeset
371 void DecreaseAttribute(int eAttribute);
Ritor1
parents:
diff changeset
372 int IncreaseAttribute(int eAttribute);
Ritor1
parents:
diff changeset
373 void Player::Zero();
Ritor1
parents:
diff changeset
374 __int16 GetStatColor(unsigned int uStat);
Ritor1
parents:
diff changeset
375 bool DiscardConditionIfLastsLongerThan(unsigned int uCondition, unsigned __int64 uTime);
Ritor1
parents:
diff changeset
376 int _490EEE(ItemGen *pItem, int a3, int a4, int a5);
Ritor1
parents:
diff changeset
377 int GetBodybuilding();
Ritor1
parents:
diff changeset
378 int GetMediatation();
Ritor1
parents:
diff changeset
379 int CanIdentify(ItemGen *pItem);
Ritor1
parents:
diff changeset
380 int CanRepair(ItemGen *);
Ritor1
parents:
diff changeset
381 int GetMerchant();
Ritor1
parents:
diff changeset
382 int GetPerception();
Ritor1
parents:
diff changeset
383 int GetDisarmTrap();
Ritor1
parents:
diff changeset
384 char GetLearningPercent();
Ritor1
parents:
diff changeset
385 bool CanFitItem(unsigned int uSlot, unsigned int uItemID);
Ritor1
parents:
diff changeset
386 unsigned int FindFreeInventorySlot();
Ritor1
parents:
diff changeset
387 int CreateItemInInventory(unsigned int uSlot, unsigned int uItemID);
Ritor1
parents:
diff changeset
388 int HasSkill(unsigned int uSkillType);
Ritor1
parents:
diff changeset
389 int WearItem(unsigned int uItemID);
Ritor1
parents:
diff changeset
390 int AddItem(unsigned int uSlot, unsigned int uItemID);
Ritor1
parents:
diff changeset
391 int AddItem2(unsigned int uSlot, ItemGen *Src);
Ritor1
parents:
diff changeset
392 int CreateItemInInventory2(unsigned int uSlot, ItemGen *Src);
Ritor1
parents:
diff changeset
393 bool _49298B(ItemGen *a2, int a3, int a4);
Ritor1
parents:
diff changeset
394 unsigned int RemoveItemAtInventoryIndex(unsigned int uSlot);
Ritor1
parents:
diff changeset
395 bool CanAct();
Ritor1
parents:
diff changeset
396 bool CanSteal();
Ritor1
parents:
diff changeset
397 bool CanEquip_RaceAndAlignmentCheck(unsigned int uItemID);
Ritor1
parents:
diff changeset
398 int SetCondition(unsigned int uConditionIdx, int a3);
Ritor1
parents:
diff changeset
399 int _49327B(unsigned int uClass, int a3);
Ritor1
parents:
diff changeset
400 __int16 PlaySound(int a2, int a3);
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
401 __int16 PlayEmotion(CHARACTER_EXPRESSION_ID expression, int a3);
0
Ritor1
parents:
diff changeset
402 char _4160CA(int a2);
Ritor1
parents:
diff changeset
403 unsigned int GetItemIDAtInventoryIndex(int *a2);
Ritor1
parents:
diff changeset
404 int _4B6FF9();
Ritor1
parents:
diff changeset
405 int _4B824B(float a2);
Ritor1
parents:
diff changeset
406 int _4B8265(int a2, float a3);
Ritor1
parents:
diff changeset
407 int _4B8233(int a2, float a3);
Ritor1
parents:
diff changeset
408 int _4B8213(int a2, float a3);
Ritor1
parents:
diff changeset
409 int _4B81C3(int a2, float a3);
Ritor1
parents:
diff changeset
410 int _4B8179(float a2);
Ritor1
parents:
diff changeset
411 int _4B8142(int a2, float a3);
Ritor1
parents:
diff changeset
412 int _4B8102(int a2, float a3);
Ritor1
parents:
diff changeset
413 int _4B807C(float a2);
Ritor1
parents:
diff changeset
414 int _4B8040_condition_time(unsigned int uCondition);
Ritor1
parents:
diff changeset
415 bool _43EEF3();
Ritor1
parents:
diff changeset
416 void _4BE2DD(unsigned int a2, int a3, int _2devent_idx);
Ritor1
parents:
diff changeset
417 bool Recover(signed int a2);
Ritor1
parents:
diff changeset
418 bool CanCastSpell(unsigned int uRequiredMana);
Ritor1
parents:
diff changeset
419
Ritor1
parents:
diff changeset
420 inline bool Dead() {return pConditions[Condition::Condition_Dead] != 0;}
Ritor1
parents:
diff changeset
421 inline bool Eradicated() {return pConditions[Condition::Condition_Eradicated] != 0;}
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
422 inline bool Zombie() {return pConditions[Condition::Condition_Zombie] != 0;}
0
Ritor1
parents:
diff changeset
423
Ritor1
parents:
diff changeset
424
Ritor1
parents:
diff changeset
425
Ritor1
parents:
diff changeset
426 __int64 pConditions[20];
Ritor1
parents:
diff changeset
427 unsigned __int64 uExperience;
Ritor1
parents:
diff changeset
428 char pName[16];
Ritor1
parents:
diff changeset
429 PLAYER_SEX uSex;
135
9b0d651821f1 Party creation screen: sorcerer class icon fixed
Nomad
parents: 130
diff changeset
430 PLAYER_CLASS_TYPE classType;
0
Ritor1
parents:
diff changeset
431 unsigned __int8 uFace;
Ritor1
parents:
diff changeset
432 char field_BB;
Ritor1
parents:
diff changeset
433 unsigned __int16 uMight;
Ritor1
parents:
diff changeset
434 unsigned __int16 uMightBonus;
Ritor1
parents:
diff changeset
435 unsigned __int16 uIntelligence;
Ritor1
parents:
diff changeset
436 unsigned __int16 uIntelligenceBonus;
Ritor1
parents:
diff changeset
437 unsigned __int16 uWillpower;
Ritor1
parents:
diff changeset
438 unsigned __int16 uWillpowerBonus;
Ritor1
parents:
diff changeset
439 unsigned __int16 uEndurance;
Ritor1
parents:
diff changeset
440 unsigned __int16 uEnduranceBonus;
Ritor1
parents:
diff changeset
441 unsigned __int16 uSpeed;
Ritor1
parents:
diff changeset
442 unsigned __int16 uSpeedBonus;
Ritor1
parents:
diff changeset
443 unsigned __int16 uAccuracy;
Ritor1
parents:
diff changeset
444 unsigned __int16 uAccuracyBonus;
Ritor1
parents:
diff changeset
445 unsigned __int16 uLuck;
Ritor1
parents:
diff changeset
446 unsigned __int16 uLuckBonus;
Ritor1
parents:
diff changeset
447 __int16 sACModifier;
Ritor1
parents:
diff changeset
448 unsigned __int16 uLevel;
Ritor1
parents:
diff changeset
449 __int16 sLevelModifier;
Ritor1
parents:
diff changeset
450 __int16 sAgeModifier;
Ritor1
parents:
diff changeset
451 int field_E0;
Ritor1
parents:
diff changeset
452 int field_E4;
Ritor1
parents:
diff changeset
453 int field_E8;
Ritor1
parents:
diff changeset
454 int field_EC;
Ritor1
parents:
diff changeset
455 int field_F0;
Ritor1
parents:
diff changeset
456 int field_F4;
Ritor1
parents:
diff changeset
457 int field_F8;
Ritor1
parents:
diff changeset
458 int field_FC;
Ritor1
parents:
diff changeset
459 int field_100;
Ritor1
parents:
diff changeset
460 int field_104;
Ritor1
parents:
diff changeset
461 union
Ritor1
parents:
diff changeset
462 {
Ritor1
parents:
diff changeset
463 struct
Ritor1
parents:
diff changeset
464 {
Ritor1
parents:
diff changeset
465 unsigned __int16 skillStaff;
Ritor1
parents:
diff changeset
466 unsigned __int16 skillSword;
Ritor1
parents:
diff changeset
467 unsigned __int16 skillDagger;
Ritor1
parents:
diff changeset
468 unsigned __int16 skillAxe;
Ritor1
parents:
diff changeset
469 unsigned __int16 skillSpear;
Ritor1
parents:
diff changeset
470 unsigned __int16 skillBow;
Ritor1
parents:
diff changeset
471 unsigned __int16 skillMace;
Ritor1
parents:
diff changeset
472 unsigned __int16 skillBlaster;
Ritor1
parents:
diff changeset
473 unsigned __int16 skillShield;
Ritor1
parents:
diff changeset
474 unsigned __int16 skillLeather;
Ritor1
parents:
diff changeset
475 unsigned __int16 skillChain;
Ritor1
parents:
diff changeset
476 unsigned __int16 skillPlate;
Ritor1
parents:
diff changeset
477 unsigned __int16 skillFire;
Ritor1
parents:
diff changeset
478 unsigned __int16 skillAir;
Ritor1
parents:
diff changeset
479 unsigned __int16 skillWater;
Ritor1
parents:
diff changeset
480 unsigned __int16 skillEarth;
Ritor1
parents:
diff changeset
481 unsigned __int16 skillSpirit;
Ritor1
parents:
diff changeset
482 unsigned __int16 skillMind;
Ritor1
parents:
diff changeset
483 unsigned __int16 skillBody;
Ritor1
parents:
diff changeset
484 unsigned __int16 skillLight;
Ritor1
parents:
diff changeset
485 unsigned __int16 skillDark;
Ritor1
parents:
diff changeset
486 unsigned __int16 skillItemId;
Ritor1
parents:
diff changeset
487 unsigned __int16 skillMerchant;
Ritor1
parents:
diff changeset
488 unsigned __int16 skillRepair;
Ritor1
parents:
diff changeset
489 unsigned __int16 skillBodybuilding;
Ritor1
parents:
diff changeset
490 unsigned __int16 skillMeditation;
Ritor1
parents:
diff changeset
491 unsigned __int16 skillPerception;
Ritor1
parents:
diff changeset
492 unsigned __int16 skillDiplomacy;
Ritor1
parents:
diff changeset
493 unsigned __int16 skillThievery;
Ritor1
parents:
diff changeset
494 unsigned __int16 skillDisarmTrap;
Ritor1
parents:
diff changeset
495 unsigned __int16 skillDodge;
Ritor1
parents:
diff changeset
496 unsigned __int16 skillUnarmed;
Ritor1
parents:
diff changeset
497 unsigned __int16 skillMonsterId;
Ritor1
parents:
diff changeset
498 unsigned __int16 skillArmsmaster;
Ritor1
parents:
diff changeset
499 unsigned __int16 skillStealing;
Ritor1
parents:
diff changeset
500 unsigned __int16 skillAlchemy;
Ritor1
parents:
diff changeset
501 unsigned __int16 skillLearning;
Ritor1
parents:
diff changeset
502 };
Ritor1
parents:
diff changeset
503 unsigned __int16 pActiveSkills[37];
Ritor1
parents:
diff changeset
504 };
Ritor1
parents:
diff changeset
505 char field_152[64];
Ritor1
parents:
diff changeset
506 PlayerSpells spellbook;
Ritor1
parents:
diff changeset
507 char field_1F5[30]; // used to be [31]
Ritor1
parents:
diff changeset
508 ItemGen pInventoryItems[126];
Ritor1
parents:
diff changeset
509 ItemGen pEquippedItems[12];
Ritor1
parents:
diff changeset
510 int pInventoryIndices[126];
Ritor1
parents:
diff changeset
511 __int16 sResFireBase;
Ritor1
parents:
diff changeset
512 __int16 sResAirBase;
Ritor1
parents:
diff changeset
513 __int16 sResWaterBase;
Ritor1
parents:
diff changeset
514 __int16 sResEarthBase;
Ritor1
parents:
diff changeset
515 __int16 field_177C;
Ritor1
parents:
diff changeset
516 __int16 sResMagicBase;
Ritor1
parents:
diff changeset
517 __int16 sResSpiritBase;
Ritor1
parents:
diff changeset
518 __int16 sResMindBase;
Ritor1
parents:
diff changeset
519 __int16 sResBodyBase;
Ritor1
parents:
diff changeset
520 __int16 sResLightBase;
Ritor1
parents:
diff changeset
521 __int16 sResDarkBase;
Ritor1
parents:
diff changeset
522 __int16 sResFireBonus;
Ritor1
parents:
diff changeset
523 __int16 sResAirBonus;
Ritor1
parents:
diff changeset
524 __int16 sResWaterBonus;
Ritor1
parents:
diff changeset
525 __int16 sResEarthBonus;
Ritor1
parents:
diff changeset
526 __int16 field_1792;
Ritor1
parents:
diff changeset
527 __int16 sResMagicBonus;
Ritor1
parents:
diff changeset
528 __int16 sResSpiritBonus;
Ritor1
parents:
diff changeset
529 __int16 sResMindBonus;
Ritor1
parents:
diff changeset
530 __int16 sResBodyBonus;
Ritor1
parents:
diff changeset
531 __int16 sResLightBonus;
Ritor1
parents:
diff changeset
532 __int16 sResDarkBonus;
Ritor1
parents:
diff changeset
533 SpellBuff pPlayerBuffs[24];
Ritor1
parents:
diff changeset
534 unsigned int uVoiceID;
Ritor1
parents:
diff changeset
535 int field_1924;
Ritor1
parents:
diff changeset
536 int field_1928;
Ritor1
parents:
diff changeset
537 int field_192C;
Ritor1
parents:
diff changeset
538 int field_1930;
Ritor1
parents:
diff changeset
539 unsigned __int16 uTimeToRecovery;
Ritor1
parents:
diff changeset
540 char field_1936;
Ritor1
parents:
diff changeset
541 char field_1937;
Ritor1
parents:
diff changeset
542 unsigned int uSkillPoints;
Ritor1
parents:
diff changeset
543 int sHealth;
Ritor1
parents:
diff changeset
544 int sMana;
Ritor1
parents:
diff changeset
545 unsigned int uBirthYear;
Ritor1
parents:
diff changeset
546 PlayerEquipment pEquipment;
Ritor1
parents:
diff changeset
547 int field_1988[49];
Ritor1
parents:
diff changeset
548 char field_1A4C;
Ritor1
parents:
diff changeset
549 char field_1A4D;
Ritor1
parents:
diff changeset
550 char pNumSpellBookPage;
Ritor1
parents:
diff changeset
551 unsigned __int8 uQuickSpell;
Ritor1
parents:
diff changeset
552 char field_1A50[64];
Ritor1
parents:
diff changeset
553 char _some_attack_bonus;
Ritor1
parents:
diff changeset
554 char field_1A91;
Ritor1
parents:
diff changeset
555 char _melee_dmg_bonus;
Ritor1
parents:
diff changeset
556 char field_1A93;
Ritor1
parents:
diff changeset
557 char _ranged_atk_bonus;
Ritor1
parents:
diff changeset
558 char field_1A95;
Ritor1
parents:
diff changeset
559 char _ranged_dmg_bonus;
Ritor1
parents:
diff changeset
560 char field_1A97;
Ritor1
parents:
diff changeset
561 char uFullHealthBonus;
Ritor1
parents:
diff changeset
562 char _health_related;
Ritor1
parents:
diff changeset
563 char uFullManaBonus;
Ritor1
parents:
diff changeset
564 char _mana_related;
130
1c471f3629fb Party expressions update
Nomad
parents: 0
diff changeset
565 CHARACTER_EXPRESSION_ID expression;
0
Ritor1
parents:
diff changeset
566 unsigned __int16 uExpressionTimePassed;
Ritor1
parents:
diff changeset
567 unsigned __int16 uExpressionTimeLength;
Ritor1
parents:
diff changeset
568 __int16 field_1AA2;
Ritor1
parents:
diff changeset
569 int field_1AA4;
Ritor1
parents:
diff changeset
570 int field_1AA8;
Ritor1
parents:
diff changeset
571 LloydBeacon pInstalledBeacons[5];
Ritor1
parents:
diff changeset
572 char uNumDivineInterventionCastsThisDay;
Ritor1
parents:
diff changeset
573 char uNumArmageddonCasts;
Ritor1
parents:
diff changeset
574 char uNumFireSpikeCasts;
Ritor1
parents:
diff changeset
575 char field_1B3B;
Ritor1
parents:
diff changeset
576 };
Ritor1
parents:
diff changeset
577 #pragma pack(pop)