aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-19 11:03:03 -0400
committerPaul Gilbert2016-03-19 11:03:03 -0400
commitd86941f8c6b497f2d3d8409c2628af88bc600dae (patch)
tree7364693345333bc0fcc0e92291f3a8c04d46a19a /engines/titanic/pet_control/pet_control.h
parentf1d674c745ba117e1e62ff6fa3ebb8a7cace3615 (diff)
downloadscummvm-rg350-d86941f8c6b497f2d3d8409c2628af88bc600dae.tar.gz
scummvm-rg350-d86941f8c6b497f2d3d8409c2628af88bc600dae.tar.bz2
scummvm-rg350-d86941f8c6b497f2d3d8409c2628af88bc600dae.zip
TITANIC: Implement preEnterView and enterView
Diffstat (limited to 'engines/titanic/pet_control/pet_control.h')
-rw-r--r--engines/titanic/pet_control/pet_control.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_control.h b/engines/titanic/pet_control/pet_control.h
index 70f6850bc7..f1e4bb2a10 100644
--- a/engines/titanic/pet_control/pet_control.h
+++ b/engines/titanic/pet_control/pet_control.h
@@ -24,6 +24,8 @@
#define TITANIC_PET_CONTROL_H
#include "titanic/core/game_object.h"
+#include "titanic/core/node_item.h"
+#include "titanic/core/room_item.h"
#include "titanic/pet_control/pet_control_sub1.h"
#include "titanic/pet_control/pet_control_sub2.h"
#include "titanic/pet_control/pet_control_sub3.h"
@@ -80,6 +82,16 @@ public:
* Called after loading a game has finished
*/
void postLoad();
+
+ /**
+ * Called when a new node is entered
+ */
+ void enterNode(CNodeItem *node);
+
+ /**
+ * Called when a new room is entered
+ */
+ void enterRoom(CRoomItem *room);
};
} // End of namespace Titanic