aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_control_sub_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_control_sub_base.h')
-rw-r--r--engines/titanic/pet_control/pet_control_sub_base.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_control_sub_base.h b/engines/titanic/pet_control/pet_control_sub_base.h
index b59c85b30a..f95e1a98f5 100644
--- a/engines/titanic/pet_control/pet_control_sub_base.h
+++ b/engines/titanic/pet_control/pet_control_sub_base.h
@@ -24,6 +24,7 @@
#define TITANIC_PET_CONTROL_SUB_BASE_H
#include "titanic/simple_file.h"
+#include "titanic/core/room_item.h"
namespace Titanic {
@@ -81,7 +82,12 @@ public:
virtual void proc21() {}
virtual void proc22() {}
virtual void proc23() {}
- virtual void proc24() {}
+
+ /**
+ * Called when a new room is entered
+ */
+ virtual void enterRoom(CRoomItem *room) {}
+
virtual void proc25();
virtual int proc26() { return 0; }
virtual void proc27();