annotate Player.h @ 187:4436fa701162

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