Mercurial > mm7
comparison Player.h @ 198:e6e348d66a75
Some work on spellbook
author | Nomad |
---|---|
date | Sat, 16 Feb 2013 21:46:07 +0200 |
parents | 207b2492e14b |
children | 30aa44013f7a |
comparison
equal
deleted
inserted
replaced
197:5979fc0de9ae | 198:e6e348d66a75 |
---|---|
193 PLAYER_SKILL_FIRE = 12, | 193 PLAYER_SKILL_FIRE = 12, |
194 PLAYER_SKILL_AIR = 13, | 194 PLAYER_SKILL_AIR = 13, |
195 PLAYER_SKILL_WATER = 14, | 195 PLAYER_SKILL_WATER = 14, |
196 PLAYER_SKILL_EARTH = 15, | 196 PLAYER_SKILL_EARTH = 15, |
197 PLAYER_SKILL_SPIRIT = 16, | 197 PLAYER_SKILL_SPIRIT = 16, |
198 PLAYER_SKILL_MIND = 0x11, | 198 PLAYER_SKILL_MIND = 17, |
199 PLAYER_SKILL_BODY = 18, | 199 PLAYER_SKILL_BODY = 18, |
200 PLAYER_SKILL_LIGHT = 0x13, | 200 PLAYER_SKILL_LIGHT = 19, |
201 PLAYER_SKILL_DARK = 0x14, | 201 PLAYER_SKILL_DARK = 20, |
202 PLAYER_SKILL_ITEM_ID = 0x15, | 202 PLAYER_SKILL_ITEM_ID = 21, |
203 PLAYER_SKILL_MERCHANT = 0x16, | 203 PLAYER_SKILL_MERCHANT = 22, |
204 PLAYER_SKILL_REPAIR = 0x17, | 204 PLAYER_SKILL_REPAIR = 23, |
205 PLAYER_SKILL_BODYBUILDING = 0x18, | 205 PLAYER_SKILL_BODYBUILDING = 24, |
206 PLAYER_SKILL_MEDITATION = 0x19, | 206 PLAYER_SKILL_MEDITATION = 25, |
207 PLAYER_SKILL_PERCEPTION = 0x1A, | 207 PLAYER_SKILL_PERCEPTION = 26, |
208 PLAYER_SKILL_DIPLOMACY = 0x1B, | 208 PLAYER_SKILL_DIPLOMACY = 27, |
209 PLAYER_SKILL_TIEVERY = 0x1C, | 209 PLAYER_SKILL_TIEVERY = 28, |
210 PLAYER_SKILL_TRAP_DISARM = 29, | 210 PLAYER_SKILL_TRAP_DISARM = 29, |
211 PLAYER_SKILL_DODGE = 0x1E, | 211 PLAYER_SKILL_DODGE = 30, |
212 PLAYER_SKILL_UNARMED = 0x1F, | 212 PLAYER_SKILL_UNARMED = 31, |
213 PLAYER_SKILL_MONSTER_ID = 0x20, | 213 PLAYER_SKILL_MONSTER_ID = 32, |
214 PLAYER_SKILL_ARMSMASTER = 33, | 214 PLAYER_SKILL_ARMSMASTER = 33, |
215 PLAYER_SKILL_STEALING = 34, | 215 PLAYER_SKILL_STEALING = 34, |
216 PLAYER_SKILL_ALCHEMY = 35, | 216 PLAYER_SKILL_ALCHEMY = 35, |
217 PLAYER_SKILL_LEARNING = 0x24, | 217 PLAYER_SKILL_LEARNING = 36, |
218 }; | 218 }; |
219 | 219 |
220 /* 329 */ | 220 /* 329 */ |
221 enum PLAYER_CLASS_TYPE: unsigned __int8 | 221 enum PLAYER_CLASS_TYPE: unsigned __int8 |
222 { | 222 { |
253 | 253 |
254 | 254 |
255 #pragma pack(push, 1) | 255 #pragma pack(push, 1) |
256 struct PlayerSpellbookChapter | 256 struct PlayerSpellbookChapter |
257 { | 257 { |
258 unsigned __int8 bIsSpellbookAvailable; | 258 char bIsSpellAvailable[11]; |
259 char bIsSpellAvailable[10]; | |
260 }; | 259 }; |
261 #pragma pack(pop) | 260 #pragma pack(pop) |
262 | 261 |
263 #pragma pack(push, 1) | 262 #pragma pack(push, 1) |
264 struct PlayerSpells | 263 struct PlayerSpells |
664 unsigned int uBirthYear; | 663 unsigned int uBirthYear; |
665 PlayerEquipment pEquipment; | 664 PlayerEquipment pEquipment; |
666 int field_1988[49]; | 665 int field_1988[49]; |
667 char field_1A4C; | 666 char field_1A4C; |
668 char field_1A4D; | 667 char field_1A4D; |
669 char pNumSpellBookPage; | 668 char lastOpenedSpellbookPage; |
670 unsigned __int8 uQuickSpell; | 669 unsigned __int8 uQuickSpell; |
671 char field_1A50[64]; | 670 char field_1A50[64]; |
672 char _some_attack_bonus; | 671 char _some_attack_bonus; |
673 char field_1A91; | 672 char field_1A91; |
674 char _melee_dmg_bonus; | 673 char _melee_dmg_bonus; |