aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/light_switch.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-17 20:55:32 -0400
committerPaul Gilbert2016-03-17 20:55:32 -0400
commit12ae5e10f3a20b1b909a6ec40257e39e063b78c5 (patch)
tree936eff629cd96723faedf54b076006ec19b8c145 /engines/titanic/game/light_switch.h
parenta8d94d448ea977bdd5b1171e177de6dd714792a2 (diff)
downloadscummvm-rg350-12ae5e10f3a20b1b909a6ec40257e39e063b78c5.tar.gz
scummvm-rg350-12ae5e10f3a20b1b909a6ec40257e39e063b78c5.tar.bz2
scummvm-rg350-12ae5e10f3a20b1b909a6ec40257e39e063b78c5.zip
TITANIC: Added stubbed CEnterRoomMsg event handlers as needed
Diffstat (limited to 'engines/titanic/game/light_switch.h')
-rw-r--r--engines/titanic/game/light_switch.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/game/light_switch.h b/engines/titanic/game/light_switch.h
index 334cba75a6..fd2c392d13 100644
--- a/engines/titanic/game/light_switch.h
+++ b/engines/titanic/game/light_switch.h
@@ -24,16 +24,19 @@
#define TITANIC_LIGHT_SWITCH_H
#include "titanic/core/background.h"
+#include "titanic/messages/messages.h"
namespace Titanic {
-class CLightSwitch : public CBackground {
+class CLightSwitch : public CBackground, CEnterRoomMsgTarget {
public:
static int _v1;
private:
int _fieldE0;
int _fieldE4;
int _fieldE8;
+protected:
+ virtual bool handleEvent(const CEnterRoomMsg &msg);
public:
CLASSDEF
CLightSwitch();