Mercurial > mm7
comparison Player.h @ 1258:eb1a22f7dfef
Player::SetVariable cleanup - removed some labels at the cost of 2 extra small functions
author | Grumpy7 |
---|---|
date | Wed, 12 Jun 2013 03:59:08 +0200 |
parents | 502b8b2e36b4 |
children | d6e5b6b76612 |
comparison
equal
deleted
inserted
replaced
1255:7e5e328454c7 | 1258:eb1a22f7dfef |
---|---|
588 int GetConditionDayOfWeek(unsigned int uCondition); | 588 int GetConditionDayOfWeek(unsigned int uCondition); |
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 void PlaySoundBasedOnCondition(bool condition, int currPlayerId); | |
594 void DrawPlayerBuffAnimBasedOnCondition(bool condition, int currPlayerId); | |
593 | 595 |
594 inline bool Weak() {return pConditions[Condition_Weak] != 0;} | 596 inline bool Weak() {return pConditions[Condition_Weak] != 0;} |
595 inline bool Dead() {return pConditions[Condition_Dead] != 0;} | 597 inline bool Dead() {return pConditions[Condition_Dead] != 0;} |
596 inline bool Eradicated() {return pConditions[Condition_Eradicated] != 0;} | 598 inline bool Eradicated() {return pConditions[Condition_Eradicated] != 0;} |
597 inline bool Zombie() {return pConditions[Condition_Zombie] != 0;} | 599 inline bool Zombie() {return pConditions[Condition_Zombie] != 0;} |
614 inline void SetUnconcious(bool state) {pConditions[Condition_Unconcious] = state;} | 616 inline void SetUnconcious(bool state) {pConditions[Condition_Unconcious] = state;} |
615 inline void SetDead(bool state) {pConditions[Condition_Dead] = state;} | 617 inline void SetDead(bool state) {pConditions[Condition_Dead] = state;} |
616 inline void SetPertified(bool state) {pConditions[Condition_Pertified] = state;} | 618 inline void SetPertified(bool state) {pConditions[Condition_Pertified] = state;} |
617 inline void SetEradicated(bool state) {pConditions[Condition_Eradicated] = state;} | 619 inline void SetEradicated(bool state) {pConditions[Condition_Eradicated] = state;} |
618 inline void SetZombie(bool state) {pConditions[Condition_Zombie] = state;} | 620 inline void SetZombie(bool state) {pConditions[Condition_Zombie] = state;} |
619 | |
620 | 621 |
621 | 622 |
622 | 623 |
623 __int64 pConditions[20]; | 624 __int64 pConditions[20]; |
624 unsigned __int64 uExperience; | 625 unsigned __int64 uExperience; |