comparison Player.h @ 1160:502b8b2e36b4

font cleaning
author Gloval
date Tue, 04 Jun 2013 01:37:23 +0400
parents 9c7eb4037567
children eb1a22f7dfef
comparison
equal deleted inserted replaced
1154:8ce08eea96ed 1160:502b8b2e36b4
199 CHARACTER_ATTRIBUTE_SKILL_SHIELD = 45, 199 CHARACTER_ATTRIBUTE_SKILL_SHIELD = 45,
200 CHARACTER_ATTRIBUTE_SKILL_LEARNING = 46 200 CHARACTER_ATTRIBUTE_SKILL_LEARNING = 46
201 }; 201 };
202 202
203 /* 328 */ 203 /* 328 */
204 enum PLAYER_SKILL_TYPE: __int8 204 enum PLAYER_SKILL_TYPE: signed __int8
205 { 205 {
206 PLAYER_SKILL_STAFF = 0, 206 PLAYER_SKILL_STAFF = 0,
207 PLAYER_SKILL_SWORD = 1, 207 PLAYER_SKILL_SWORD = 1,
208 PLAYER_SKILL_DAGGER = 2, 208 PLAYER_SKILL_DAGGER = 2,
209 PLAYER_SKILL_AXE = 3, 209 PLAYER_SKILL_AXE = 3,
589 bool _43EEF3(); 589 bool _43EEF3();
590 void SalesProcess(unsigned int inventory_idnx, int item_index, int _2devent_idx);//0x4BE2DD 590 void SalesProcess(unsigned int inventory_idnx, int item_index, int _2devent_idx);//0x4BE2DD
591 bool Recover(signed int a2); 591 bool Recover(signed int a2);
592 bool CanCastSpell(unsigned int uRequiredMana); 592 bool CanCastSpell(unsigned int uRequiredMana);
593 593
594 inline bool Weak() {return pConditions[Condition::Condition_Weak] != 0;} 594 inline bool Weak() {return pConditions[Condition_Weak] != 0;}
595 inline bool Dead() {return pConditions[Condition::Condition_Dead] != 0;} 595 inline bool Dead() {return pConditions[Condition_Dead] != 0;}
596 inline bool Eradicated() {return pConditions[Condition::Condition_Eradicated] != 0;} 596 inline bool Eradicated() {return pConditions[Condition_Eradicated] != 0;}
597 inline bool Zombie() {return pConditions[Condition::Condition_Zombie] != 0;} 597 inline bool Zombie() {return pConditions[Condition_Zombie] != 0;}
598 inline bool Cursed() {return pConditions[Condition::Condition_Cursed] != 0;} 598 inline bool Cursed() {return pConditions[Condition_Cursed] != 0;}
599 inline bool Pertified() {return pConditions[Condition::Condition_Pertified] != 0;} 599 inline bool Pertified() {return pConditions[Condition_Pertified] != 0;}
600 600
601 inline void SetCursed(bool state) {pConditions[Condition::Condition_Cursed] = state;} 601 inline void SetCursed(bool state) {pConditions[Condition_Cursed] = state;}
602 inline void SetWeak(bool state) {pConditions[Condition::Condition_Weak] = state;} 602 inline void SetWeak(bool state) {pConditions[Condition_Weak] = state;}
603 inline void SetAsleep(bool state) {pConditions[Condition::Condition_Sleep] = state;} 603 inline void SetAsleep(bool state) {pConditions[Condition_Sleep] = state;}
604 inline void SetAfraid(bool state) {pConditions[Condition::Condition_Fear] = state;} 604 inline void SetAfraid(bool state) {pConditions[Condition_Fear] = state;}
605 inline void SetDrunk(bool state) {pConditions[Condition::Condition_Drunk] = state;} 605 inline void SetDrunk(bool state) {pConditions[Condition_Drunk] = state;}
606 inline void SetInsane(bool state) {pConditions[Condition::Condition_Insane] = state;} 606 inline void SetInsane(bool state) {pConditions[Condition_Insane] = state;}
607 inline void SetPoison1(bool state) {pConditions[Condition::Condition_Poison1] = state;} 607 inline void SetPoison1(bool state) {pConditions[Condition_Poison1] = state;}
608 inline void SetDisease1(bool state) {pConditions[Condition::Condition_Disease1] = state;} 608 inline void SetDisease1(bool state) {pConditions[Condition_Disease1] = state;}
609 inline void SetPoison2(bool state) {pConditions[Condition::Condition_Poison2] = state;} 609 inline void SetPoison2(bool state) {pConditions[Condition_Poison2] = state;}
610 inline void SetDisease2(bool state) {pConditions[Condition::Condition_Disease2] = state;} 610 inline void SetDisease2(bool state) {pConditions[Condition_Disease2] = state;}
611 inline void SetPoison3(bool state) {pConditions[Condition::Condition_Poison3] = state;} 611 inline void SetPoison3(bool state) {pConditions[Condition_Poison3] = state;}
612 inline void SetDisease3(bool state) {pConditions[Condition::Condition_Disease3] = state;} 612 inline void SetDisease3(bool state) {pConditions[Condition_Disease3] = state;}
613 inline void SetParalyzed(bool state) {pConditions[Condition::Condition_Paralyzed] = state;} 613 inline void SetParalyzed(bool state) {pConditions[Condition_Paralyzed] = state;}
614 inline void SetUnconcious(bool state) {pConditions[Condition::Condition_Unconcious] = state;} 614 inline void SetUnconcious(bool state) {pConditions[Condition_Unconcious] = state;}
615 inline void SetDead(bool state) {pConditions[Condition::Condition_Dead] = state;} 615 inline void SetDead(bool state) {pConditions[Condition_Dead] = state;}
616 inline void SetPertified(bool state) {pConditions[Condition::Condition_Pertified] = state;} 616 inline void SetPertified(bool state) {pConditions[Condition_Pertified] = state;}
617 inline void SetEradicated(bool state) {pConditions[Condition::Condition_Eradicated] = state;} 617 inline void SetEradicated(bool state) {pConditions[Condition_Eradicated] = state;}
618 inline void SetZombie(bool state) {pConditions[Condition::Condition_Zombie] = state;} 618 inline void SetZombie(bool state) {pConditions[Condition_Zombie] = state;}
619 619
620 620
621 621
622 622
623 __int64 pConditions[20]; 623 __int64 pConditions[20];