diff options
Diffstat (limited to 'engines/xeen/party.h')
-rw-r--r-- | engines/xeen/party.h | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/engines/xeen/party.h b/engines/xeen/party.h index 3962ba45c0..2677813228 100644 --- a/engines/xeen/party.h +++ b/engines/xeen/party.h @@ -132,9 +132,11 @@ public: Condition worstCondition() const; - int getAge(int partyYear, bool ignoreTemp); + int getAge(bool ignoreTemp) const; - int getMaxHp(); + int getMaxHP() const; + + int getMaxSP() const; int getStat(int statNum, int v2); @@ -142,9 +144,13 @@ public: bool noActions(); - bool hasAward(int awardId); - void setAward(int awardId, bool value); + + bool hasAward(int awardId) const; + + int getArmorClass(bool baseOnly) const; + + int getThievery() const; }; class Roster: public Common::Array<PlayerStruct> { @@ -155,8 +161,9 @@ public: }; class Party { + friend class PlayerStruct; private: - XeenEngine *_vm; + static XeenEngine *_vm; public: // Dynamic data that's saved int _partyCount; @@ -204,7 +211,7 @@ public: int _totalTime; bool _rested; bool _gameFlags[512]; - bool _autoNotes[128]; + bool _worldFlags[128]; bool _quests[64]; int _questItems[85]; XeenItem _blacksmithWeapons2[ITEMS_COUNT]; |