diff options
author | Paul Gilbert | 2016-03-17 20:55:32 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-17 20:55:32 -0400 |
commit | 12ae5e10f3a20b1b909a6ec40257e39e063b78c5 (patch) | |
tree | 936eff629cd96723faedf54b076006ec19b8c145 /engines/titanic/game/parrot | |
parent | a8d94d448ea977bdd5b1171e177de6dd714792a2 (diff) | |
download | scummvm-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/parrot')
-rw-r--r-- | engines/titanic/game/parrot/player_meets_parrot.cpp | 5 | ||||
-rw-r--r-- | engines/titanic/game/parrot/player_meets_parrot.h | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/engines/titanic/game/parrot/player_meets_parrot.cpp b/engines/titanic/game/parrot/player_meets_parrot.cpp index 1d7bd657ac..70628b345a 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.cpp +++ b/engines/titanic/game/parrot/player_meets_parrot.cpp @@ -34,4 +34,9 @@ void CPlayerMeetsParrot::load(SimpleFile *file) { CGameObject::load(file); } +bool CPlayerMeetsParrot::handleEvent(const CEnterRoomMsg &msg) { + warning("CPlayerMeetsParrot::handleEvent"); + return true; +} + } // End of namespace Titanic diff --git a/engines/titanic/game/parrot/player_meets_parrot.h b/engines/titanic/game/parrot/player_meets_parrot.h index d0c3b9d9f3..8572fd701d 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.h +++ b/engines/titanic/game/parrot/player_meets_parrot.h @@ -24,10 +24,13 @@ #define TITANIC_PLAYER_MEETS_PARROT_H #include "titanic/core/game_object.h" +#include "titanic/messages/messages.h" namespace Titanic { -class CPlayerMeetsParrot : public CGameObject { +class CPlayerMeetsParrot : public CGameObject, CEnterRoomMsgTarget { +protected: + virtual bool handleEvent(const CEnterRoomMsg &msg); public: CLASSDEF |