diff options
author | Paul Gilbert | 2016-03-17 19:58:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-17 19:58:59 -0400 |
commit | a8d94d448ea977bdd5b1171e177de6dd714792a2 (patch) | |
tree | a9756367b569bcbba8f929c036ef943b48e483e0 /engines/titanic/game/bar_bell.h | |
parent | e80a15170640a495b5c7861abeea71d0325684cd (diff) | |
download | scummvm-rg350-a8d94d448ea977bdd5b1171e177de6dd714792a2.tar.gz scummvm-rg350-a8d94d448ea977bdd5b1171e177de6dd714792a2.tar.bz2 scummvm-rg350-a8d94d448ea977bdd5b1171e177de6dd714792a2.zip |
TITANIC: Fixes to make message handling const, adding CEnterRoomMsg handlers
Diffstat (limited to 'engines/titanic/game/bar_bell.h')
-rw-r--r-- | engines/titanic/game/bar_bell.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/game/bar_bell.h b/engines/titanic/game/bar_bell.h index 279379feaf..432bf3a281 100644 --- a/engines/titanic/game/bar_bell.h +++ b/engines/titanic/game/bar_bell.h @@ -24,16 +24,19 @@ #define TITANIC_BAR_BELL_H #include "titanic/core/game_object.h" +#include "titanic/messages/messages.h" namespace Titanic { -class CBarBell : public CGameObject { +class CBarBell : public CGameObject, CEnterRoomMsgTarget { public: int _fieldBC; int _fieldC0; int _fieldC4; int _fieldC8; int _fieldCC; +protected: + virtual bool handleEvent(const CEnterRoomMsg &msg); public: CLASSDEF CBarBell(); |