aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-04-15 22:30:50 -0400
committerPaul Gilbert2016-07-10 16:11:11 -0400
commitbc716fda4b11b69eecfc0931afd3b12ef0afb589 (patch)
tree9d33925d2b042630bb7d6e1c8c324a64bed97ea0 /engines/titanic/pet_control/pet_control.h
parent95c885f877ac1fa243479d113b59e6f83a360c71 (diff)
downloadscummvm-rg350-bc716fda4b11b69eecfc0931afd3b12ef0afb589.tar.gz
scummvm-rg350-bc716fda4b11b69eecfc0931afd3b12ef0afb589.tar.bz2
scummvm-rg350-bc716fda4b11b69eecfc0931afd3b12ef0afb589.zip
TITANIC: Implemented CCarryParrot msg handlers and support methods
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 88a738f2d8..27b0a2ba6f 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -83,11 +83,6 @@ private:
void loaded();
/**
- * Scan the specified room for an item by name
- */
- CGameObject *findItemInRoom(CRoomItem *room, const CString &name) const;
-
- /**
* Returns true if the draw bounds contains the specified point
*/
bool containsPt(const Common::Point &pt) const;
@@ -219,9 +214,22 @@ public:
void addToInventory(CCarry *item);
/**
+ * Remove an item from the inventory
+ */
+ void removeFromInventory(CCarry *item, CTreeItem *newParent,
+ bool refreshUI = true, bool sendMsg = true);
+
+ /**
+ * Remove an item from the inventory
+ */
+ void removeFromInventory(CCarry *item, bool refreshUI = true, bool sendMsg = true);
+
+ /**
* Moves a tree item from it's original position to be under the hidden room
*/
void moveToHiddenRoom(CTreeItem *item);
+
+ void setC8(int val) { _fieldC8 = val; }
};
} // End of namespace Titanic