From 18fabbb2d40ce9456d4673c0b7c602f50458b583 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Thu, 31 Mar 2016 23:25:19 -0400 Subject: TITANIC: Beginnings of PET event handling code --- engines/titanic/pet_control/pet_section.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'engines/titanic/pet_control/pet_section.h') 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(); -- cgit v1.2.3