diff options
author | Paul Gilbert | 2016-04-07 22:03:35 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-04-07 22:03:35 -0400 |
commit | 9f1bab55972b8a6f88b83c2391c40a038ffb509d (patch) | |
tree | f56c6af8d5606cba208b1663662597ff3861a356 /engines/titanic/game/start_action.cpp | |
parent | 41c08d186adc91111e9beccfeef80efb3fcc0fd6 (diff) | |
download | scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.tar.gz scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.tar.bz2 scummvm-rg350-9f1bab55972b8a6f88b83c2391c40a038ffb509d.zip |
TITANIC: Converting other message stubs to new format
Diffstat (limited to 'engines/titanic/game/start_action.cpp')
-rw-r--r-- | engines/titanic/game/start_action.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/titanic/game/start_action.cpp b/engines/titanic/game/start_action.cpp index 05ceb9d0b0..e41b7df4bf 100644 --- a/engines/titanic/game/start_action.cpp +++ b/engines/titanic/game/start_action.cpp @@ -25,6 +25,11 @@ namespace Titanic { +BEGIN_MESSAGE_MAP(CStartAction, CBackground) + ON_MESSAGE(MouseButtonDownMsg) + ON_MESSAGE(MouseButtonUpMsg) +END_MESSAGE_MAP() + CStartAction::CStartAction() : CBackground() { } @@ -44,7 +49,7 @@ void CStartAction::load(SimpleFile *file) { CBackground::load(file); } -bool CStartAction::handleMessage(CMouseButtonDownMsg &msg) { +bool CStartAction::MouseButtonDownMsg(CMouseButtonDownMsg *msg) { // Dispatch the desired action to the desired target CActMsg actMsg(_msgAction); actMsg.execute(_msgTarget); @@ -52,7 +57,7 @@ bool CStartAction::handleMessage(CMouseButtonDownMsg &msg) { return true; } -bool CStartAction::handleMessage(CMouseButtonUpMsg &msg) { +bool CStartAction::MouseButtonUpMsg(CMouseButtonUpMsg *msg) { return true; } |