diff options
author | Paul Gilbert | 2015-01-24 09:29:17 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-01-24 09:29:17 -0500 |
commit | 1f8a5ea24a8c031979289953fdb674029338d9bc (patch) | |
tree | a962349347e0529e817965a0df255f7fdac755b0 /engines/xeen/party.h | |
parent | b533822c0666ade51d2da2047e87351d3047fb58 (diff) | |
download | scummvm-rg350-1f8a5ea24a8c031979289953fdb674029338d9bc.tar.gz scummvm-rg350-1f8a5ea24a8c031979289953fdb674029338d9bc.tar.bz2 scummvm-rg350-1f8a5ea24a8c031979289953fdb674029338d9bc.zip |
XEEN: Changed PlayerStruct to Character
Diffstat (limited to 'engines/xeen/party.h')
-rw-r--r-- | engines/xeen/party.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/xeen/party.h b/engines/xeen/party.h index 5d35b0f726..f56190982d 100644 --- a/engines/xeen/party.h +++ b/engines/xeen/party.h @@ -86,7 +86,7 @@ public: void synchronize(Common::Serializer &s); }; -class PlayerStruct { +class Character { private: int conditionMod(Attribute attrib) const; public: @@ -135,7 +135,7 @@ public: int _currentAdventuringSpell; int _currentCombatSpell; public: - PlayerStruct(); + Character(); void synchronize(Common::Serializer &s); Condition worstCondition() const; @@ -167,7 +167,7 @@ public: int itemScan(int itemId) const; }; -class Roster: public Common::Array<PlayerStruct> { +class Roster: public Common::Array<Character> { public: Roster() {} @@ -175,7 +175,7 @@ public: }; class Party { - friend class PlayerStruct; + friend class Character; private: static XeenEngine *_vm; public: @@ -235,7 +235,7 @@ public: bool _characterFlags[30][24]; public: // Other party related runtime data - Common::Array<PlayerStruct> _activeParty; + Common::Array<Character> _activeParty; int _combatPartyCount; bool _partyDead; bool _newDay; |