aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control/pet_section.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-31 23:25:19 -0400
committerPaul Gilbert2016-03-31 23:25:19 -0400
commit18fabbb2d40ce9456d4673c0b7c602f50458b583 (patch)
treef8b3c54d774b89a7abe5c2c24c2a88375f3a7847 /engines/titanic/pet_control/pet_section.h
parent5923ee5001af91d1ca9294b1fead56ec04ece7df (diff)
downloadscummvm-rg350-18fabbb2d40ce9456d4673c0b7c602f50458b583.tar.gz
scummvm-rg350-18fabbb2d40ce9456d4673c0b7c602f50458b583.tar.bz2
scummvm-rg350-18fabbb2d40ce9456d4673c0b7c602f50458b583.zip
TITANIC: Beginnings of PET event handling code
Diffstat (limited to 'engines/titanic/pet_control/pet_section.h')
-rw-r--r--engines/titanic/pet_control/pet_section.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/titanic/pet_control/pet_section.h b/engines/titanic/pet_control/pet_section.h
index b08e4d6869..f81e8d0aa9 100644
--- a/engines/titanic/pet_control/pet_section.h
+++ b/engines/titanic/pet_control/pet_section.h
@@ -23,6 +23,7 @@
#ifndef TITANIC_PET_SECTION_H
#define TITANIC_PET_SECTION_H
+#include "titanic/messages/messages.h"
#include "titanic/simple_file.h"
namespace Titanic {
@@ -81,7 +82,12 @@ public:
virtual int proc10() { return 0; }
virtual int proc11() { return 0; }
virtual int proc12() { return 0; }
- virtual int proc13() { return 0; }
+
+ /**
+ * Handles special keypresses
+ */
+ virtual bool handleMessage(CVirtualKeyCharMsg &msg) { return false; }
+
virtual int proc14() { return 0; }
virtual int proc15() { return 0; }
virtual void proc16();