From 1f8a5ea24a8c031979289953fdb674029338d9bc Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 24 Jan 2015 09:29:17 -0500 Subject: XEEN: Changed PlayerStruct to Character --- engines/xeen/party.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'engines/xeen/party.h') 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 { +class Roster: public Common::Array { 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 _activeParty; + Common::Array _activeParty; int _combatPartyCount; bool _partyDead; bool _newDay; -- cgit v1.2.3