aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-06-26 15:02:55 -0400
committerPaul Gilbert2016-07-15 19:25:11 -0400
commitad873455cf29622e52c15ac48e608d385a744be2 (patch)
tree6d4208782007309e0f98a031e1c8da0bbab3d7b2 /engines/titanic/pet_control/pet_control.h
parent6f063c4703e5705edbba7ad39ef9c0656b74bc75 (diff)
downloadscummvm-rg350-ad873455cf29622e52c15ac48e608d385a744be2.tar.gz
scummvm-rg350-ad873455cf29622e52c15ac48e608d385a744be2.tar.bz2
scummvm-rg350-ad873455cf29622e52c15ac48e608d385a744be2.zip
TITANIC: Adding PET Control bot methods
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h18
1 files changed, 14 insertions, 4 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 6b40c15a6d..07a4ffa680 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -98,12 +98,12 @@ private:
*/
bool isBotInView(const CString &name) const;
- void setTimer44(int id, int val);
-
/**
- * Find an object under a given root
+ * Find a bot under a given root
*/
- CGameObject *findObject(const CString &name, CTreeItem *root);
+ CGameObject *findBot(const CString &name, CTreeItem *root);
+
+ void setTimer44(int id, int val);
protected:
bool MouseButtonDownMsg(CMouseButtonDownMsg *msg);
bool MouseDragStartMsg(CMouseDragStartMsg *msg);
@@ -302,6 +302,16 @@ public:
void onSummonBot(const CString &name, int val);
/**
+ * Dismiss an NPC
+ */
+ bool dismissBot(const CString &name);
+
+ /**
+ * Returns true if Doorbot or Bellbot present
+ */
+ bool isDoorOrBellbotPresent() const;
+
+ /**
* Start a timer for a Pet Area
*/
void startPetTimer(uint timerIndex, uint firstDuration, uint duration, CPetSection *target);