diff options
author | Paul Gilbert | 2016-04-06 23:28:42 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-06 23:28:42 -0400 |
commit | 51dc36a9a52f95815b4b1109b080d070247bf247 (patch) | |
tree | d53d8c288a593fd897536f943debbd2d7b46275e /engines/titanic/game/arboretum_gate.cpp | |
parent | 51df4d98d3a066e092f34cf7968c436a3e430df2 (diff) | |
download | scummvm-rg350-51dc36a9a52f95815b4b1109b080d070247bf247.tar.gz scummvm-rg350-51dc36a9a52f95815b4b1109b080d070247bf247.tar.bz2 scummvm-rg350-51dc36a9a52f95815b4b1109b080d070247bf247.zip |
TITANIC: Furhter in-progress message handling conversion
Diffstat (limited to 'engines/titanic/game/arboretum_gate.cpp')
-rw-r--r-- | engines/titanic/game/arboretum_gate.cpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/engines/titanic/game/arboretum_gate.cpp b/engines/titanic/game/arboretum_gate.cpp index 6770430cdc..f3e3301136 100644 --- a/engines/titanic/game/arboretum_gate.cpp +++ b/engines/titanic/game/arboretum_gate.cpp @@ -24,6 +24,16 @@ namespace Titanic { +BEGIN_MESSAGE_MAP(CArboretumGate, CBackground) + ON_MESSAGE(ActMsg) + ON_MESSAGE(LeaveViewMsg) + ON_MESSAGE(TurnOff) + ON_MESSAGE(MouseButtonDownMsg) + ON_MESSAGE(EnterViewMsg) + ON_MESSAGE(TurnOn) + ON_MESSAGE(MovieEndMsg) +END_MESSAGE_MAP() + int CArboretumGate::_v1; int CArboretumGate::_v2; int CArboretumGate::_v3; @@ -133,17 +143,17 @@ void CArboretumGate::load(SimpleFile *file) { CBackground::load(file); } -bool CArboretumGate::handleMessage(CActMsg &msg) { return false; } -bool CArboretumGate::handleMessage(CLeaveViewMsg &msg) { return false; } -bool CArboretumGate::handleMessage(CTurnOff &msg) { return false; } -bool CArboretumGate::handleMessage(CMouseButtonDownMsg &msg) { return false; } +bool CArboretumGate::ActMsg(CActMsg *msg) { return false; } +bool CArboretumGate::LeaveViewMsg(CLeaveViewMsg *msg) { return false; } +bool CArboretumGate::TurnOff(CTurnOff *msg) { return false; } +bool CArboretumGate::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { return false; } -bool CArboretumGate::handleMessage(CEnterViewMsg &msg) { +bool CArboretumGate::EnterViewMsg(CEnterViewMsg *msg) { warning("CArboretumGate::handleEvent"); return false; } -bool CArboretumGate::handleMessage(CTurnOn &msg) { return false; } -bool CArboretumGate::handleMessage(CMovieEndMsg &msg) { return false; } +bool CArboretumGate::TurnOn(CTurnOn *msg) { return false; } +bool CArboretumGate::MovieEndMsg(CMovieEndMsg *msg) { return false; } } // End of namespace Titanic |