diff options
author | Paul Gilbert | 2016-08-27 12:45:36 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-27 12:45:36 -0400 |
commit | 5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a (patch) | |
tree | 7f5e6d224f8d14a1ef8f69a83c91b498ec80add3 /engines/titanic/game/parrot | |
parent | c1b6fc3824018118618685fcbfcabe413e865531 (diff) | |
download | scummvm-rg350-5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a.tar.gz scummvm-rg350-5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a.tar.bz2 scummvm-rg350-5ea32efbb0ecb3e6b8336ad3c2edd3905ea5b89a.zip |
TITANIC: Implemented more game classes
Diffstat (limited to 'engines/titanic/game/parrot')
-rw-r--r-- | engines/titanic/game/parrot/player_meets_parrot.cpp | 6 | ||||
-rw-r--r-- | engines/titanic/game/parrot/player_meets_parrot.h | 1 |
2 files changed, 6 insertions, 1 deletions
diff --git a/engines/titanic/game/parrot/player_meets_parrot.cpp b/engines/titanic/game/parrot/player_meets_parrot.cpp index 6db9345bc0..cdb14516bf 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.cpp +++ b/engines/titanic/game/parrot/player_meets_parrot.cpp @@ -24,6 +24,10 @@ namespace Titanic { +BEGIN_MESSAGE_MAP(CPlayerMeetsParrot, CGameObject) + ON_MESSAGE(EnterRoomMsg) +END_MESSAGE_MAP() + void CPlayerMeetsParrot::save(SimpleFile *file, int indent) { file->writeNumberLine(1, indent); CGameObject::save(file, indent); @@ -35,7 +39,7 @@ void CPlayerMeetsParrot::load(SimpleFile *file) { } bool CPlayerMeetsParrot::EnterRoomMsg(CEnterRoomMsg *msg) { - warning("CPlayerMeetsParrot::handleEvent"); + stateSet24(); return true; } diff --git a/engines/titanic/game/parrot/player_meets_parrot.h b/engines/titanic/game/parrot/player_meets_parrot.h index 9cee9ee322..edae18801f 100644 --- a/engines/titanic/game/parrot/player_meets_parrot.h +++ b/engines/titanic/game/parrot/player_meets_parrot.h @@ -29,6 +29,7 @@ namespace Titanic { class CPlayerMeetsParrot : public CGameObject { + DECLARE_MESSAGE_MAP; protected: bool EnterRoomMsg(CEnterRoomMsg *msg); public: |