aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/light_switch.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-23 21:46:04 -0400
committerPaul Gilbert2016-08-23 21:46:04 -0400
commit3a20dca0cb487e1c542b75f442eacb33eadd2e26 (patch)
tree3a6f77bd089ddf81c7ad9921fb96149c9193964d /engines/titanic/game/light_switch.h
parent3d558fe6ca0ad61558f5283f2ff4751b034fed5f (diff)
downloadscummvm-rg350-3a20dca0cb487e1c542b75f442eacb33eadd2e26.tar.gz
scummvm-rg350-3a20dca0cb487e1c542b75f442eacb33eadd2e26.tar.bz2
scummvm-rg350-3a20dca0cb487e1c542b75f442eacb33eadd2e26.zip
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/light_switch.h')
-rw-r--r--engines/titanic/game/light_switch.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/engines/titanic/game/light_switch.h b/engines/titanic/game/light_switch.h
index ce62d7d68c..f8c01dc8b0 100644
--- a/engines/titanic/game/light_switch.h
+++ b/engines/titanic/game/light_switch.h
@@ -25,13 +25,22 @@
#include "titanic/core/background.h"
#include "titanic/messages/messages.h"
+#include "titanic/messages/pet_messages.h"
namespace Titanic {
class CLightSwitch : public CBackground {
+ DECLARE_MESSAGE_MAP;
+ bool PETUpMsg(CPETUpMsg *msg);
+ bool PETDownMsg(CPETDownMsg *msg);
+ bool PETLeftMsg(CPETLeftMsg *msg);
+ bool PETRightMsg(CPETRightMsg *msg);
+ bool PETActivateMsg(CPETActivateMsg *msg);
+ bool EnterViewMsg(CEnterViewMsg *msg);
+ bool LeaveViewMsg(CLeaveViewMsg *msg);
bool EnterRoomMsg(CEnterRoomMsg *msg);
public:
- static int _v1;
+ static bool _flag;
private:
int _fieldE0;
int _fieldE4;