diff options
author | Paul Gilbert | 2016-04-01 21:58:39 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-01 21:58:39 -0400 |
commit | 7ef899f18d17bebf0bec01a8455cd6e23b94268c (patch) | |
tree | afecd300182897f6ddd38d55e7a77dc416b0b54d /engines/titanic/pet_control/pet_inventory.h | |
parent | 2c16d68f458517dd2494b6231c98b6632c4105e7 (diff) | |
download | scummvm-rg350-7ef899f18d17bebf0bec01a8455cd6e23b94268c.tar.gz scummvm-rg350-7ef899f18d17bebf0bec01a8455cd6e23b94268c.tar.bz2 scummvm-rg350-7ef899f18d17bebf0bec01a8455cd6e23b94268c.zip |
TITANIC: Implementing CPetInventory setup
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory.h')
-rw-r--r-- | engines/titanic/pet_control/pet_inventory.h | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_inventory.h b/engines/titanic/pet_control/pet_inventory.h index ef295f1507..6f3fd62c78 100644 --- a/engines/titanic/pet_control/pet_inventory.h +++ b/engines/titanic/pet_control/pet_inventory.h @@ -30,20 +30,38 @@ namespace Titanic { +/** + * Handles displaying the player's inventory in the PET + */ class CPetInventory : public CPetSection { private: CPetControlSub12 _sub12; CPetControlSub10 _sub10; - int _valArray1[46]; - int _valArray2[46]; + CGameObject *_itemBackgrounds[46]; + CGameObject *_itemGlyphs[46]; int _field28C; int _field290; int _field294; int _field298; +private: + /** + * Handles initial setup + */ + bool setPetControl(CPetControl *petControl); public: CPetInventory(); /** + * Sets up the section + */ + virtual bool setup(CPetControl *petControl); + + /** + * Sets up the section + */ + virtual bool setup(); + + /** * Save the data for the class to file */ virtual void save(SimpleFile *file, int indent) const; |