aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/titanic/pet_control/pet_section.h')
-rw-r--r--engines/titanic/pet_control/pet_section.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h
index 296479d025..52890fc79a 100644
--- a/engines/titanic/pet_control/pet_section.h
+++ b/engines/titanic/pet_control/pet_section.h
@@ -34,6 +34,7 @@ enum PetArea {
};
class CPetControl;
+class CPetElement;
class CPetText;
class CScreenManager;
class CRoomItem;
@@ -152,7 +153,11 @@ public:
virtual void proc27(int duration);
virtual void proc28();
virtual void proc29();
- virtual void proc30();
+
+ /**
+ * Get an element from the section by a designated Id
+ */
+ virtual CPetElement *getElement(uint id) { return nullptr; }
virtual CGameObject *getBackground(int index) const { return nullptr; }