aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_inventory.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-16 18:42:29 -0400
committerPaul Gilbert2016-07-10 16:11:16 -0400
commitdaaa458d64df42f113b7badd65cdfaf0da0504ff (patch)
tree3e53909013e75ccdcd31e7e6de94152e8854b89e /engines/titanic/pet_control/pet_inventory.h
parentfb5565679bf701293a73abfd03b76515f7bcb8ab (diff)
downloadscummvm-rg350-daaa458d64df42f113b7badd65cdfaf0da0504ff.tar.gz
scummvm-rg350-daaa458d64df42f113b7badd65cdfaf0da0504ff.tar.bz2
scummvm-rg350-daaa458d64df42f113b7badd65cdfaf0da0504ff.zip
TITANIC: Restructuring PET list classes, beginning of inventory
Diffstat (limited to 'engines/titanic/pet_control/pet_inventory.h')
-rw-r--r--engines/titanic/pet_control/pet_inventory.h16
1 files changed, 14 insertions, 2 deletions
diff --git a/engines/titanic/pet_control/pet_inventory.h b/engines/titanic/pet_control/pet_inventory.h
index 8f40200dfa..4a08c1c0b2 100644
--- a/engines/titanic/pet_control/pet_inventory.h
+++ b/engines/titanic/pet_control/pet_inventory.h
@@ -25,7 +25,7 @@
#include "titanic/support/simple_file.h"
#include "titanic/pet_control/pet_section.h"
-#include "titanic/pet_control/pet_control_sub10.h"
+#include "titanic/pet_control/pet_inventory_glyphs.h"
#include "titanic/pet_control/pet_control_sub12.h"
namespace Titanic {
@@ -36,7 +36,7 @@ namespace Titanic {
class CPetInventory : public CPetSection {
private:
CPetControlSub12 _sub12;
- CPetControlSub10 _sub10;
+ CPetInventoryGlyphs _items;
CGameObject *_itemBackgrounds[46];
CGameObject *_itemGlyphs[46];
int _field28C;
@@ -100,6 +100,18 @@ public:
* Called when an item has been removed from the PET
*/
void itemRemoved(CCarry *item);
+
+ void fn3(CCarry *item);
+
+ /**
+ * Called when the items under the PET have changed
+ */
+ void itemsChanged();
+
+ /**
+ * Called when the inventory can't be shown after adding an item
+ */
+ void couldntShowInventory(CCarry *item);
};
} // End of namespace Titanic