diff options
Diffstat (limited to 'engines/xeen/party.h')
-rw-r--r-- | engines/xeen/party.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/xeen/party.h b/engines/xeen/party.h index 483476cb9c..b5e31f9405 100644 --- a/engines/xeen/party.h +++ b/engines/xeen/party.h @@ -65,6 +65,7 @@ public: XeenItem _accessories[MAX_TREASURE_ITEMS]; XeenItem _armor[MAX_TREASURE_ITEMS]; XeenItem _weapons[MAX_TREASURE_ITEMS]; + XeenItem *_categories[4]; bool _hasItems; int _gems, _gold; public: @@ -76,6 +77,8 @@ class Party { friend class InventoryItems; private: static XeenEngine *_vm; + + void giveTreasureToCharacter(Character &c, ItemCategory category, int itemIndex); public: // Dynamic data that's saved Direction _mazeDirection; @@ -168,6 +171,8 @@ public: void moveToRunLocation(); void giveTreasure(); + + bool arePacksFull() const; }; } // End of namespace Xeen |