aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-17 21:08:42 -0400
committerPaul Gilbert2016-07-10 16:11:21 -0400
commit46a30255b0e5a7f5dad4fd032388d31a69208b62 (patch)
tree1e668339aecb1246c9ec20515b81866d81ab75d2 /engines/titanic/pet_control/pet_control.h
parenta11e677494d7cb3c6b8ed2c56095873d46a00ab8 (diff)
downloadscummvm-rg350-46a30255b0e5a7f5dad4fd032388d31a69208b62.tar.gz
scummvm-rg350-46a30255b0e5a7f5dad4fd032388d31a69208b62.tar.bz2
scummvm-rg350-46a30255b0e5a7f5dad4fd032388d31a69208b62.zip
TITANIC: Seperate PET classes setup and reset methods
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 4192d9ebf4..1e98e3f5d8 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -125,6 +125,11 @@ public:
virtual Rect getBounds();
/**
+ * Setups the sections within the PET
+ */
+ void setup();
+
+ /**
* Called after loading a game has finished
*/
void postLoad();
@@ -224,7 +229,10 @@ public:
*/
void removeFromInventory(CCarry *item, bool refreshUI = true, bool sendMsg = true);
- void invFn3(CCarry *item);
+ /**
+ * Called when the status of an item in the inventory has changed
+ */
+ void invChange(CCarry *item);
/**
* Moves a tree item from it's original position to be under the hidden room