diff options
author | Paul Gilbert | 2016-03-18 23:18:59 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-18 23:18:59 -0400 |
commit | 4f5202f958d55ccfda6e67a6b8933630de240e87 (patch) | |
tree | 4054258dcea5b428a49534a9453e66dc07864ad0 /engines/titanic/game/arboretum_gate.cpp | |
parent | 7a38b51357ba581fe51a392a031d09dd238039e8 (diff) | |
download | scummvm-rg350-4f5202f958d55ccfda6e67a6b8933630de240e87.tar.gz scummvm-rg350-4f5202f958d55ccfda6e67a6b8933630de240e87.tar.bz2 scummvm-rg350-4f5202f958d55ccfda6e67a6b8933630de240e87.zip |
TITANIC: Remove const prefix from passed messages
Turns out that some of the messages have properties that the objects
that handle them can set. For example, the CMouseDragStartMsg has a
_dragItem property that an item that allows dragging will explicitly
set, allowing the input handler to keep track of what was dragged.
Diffstat (limited to 'engines/titanic/game/arboretum_gate.cpp')
-rw-r--r-- | engines/titanic/game/arboretum_gate.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/titanic/game/arboretum_gate.cpp b/engines/titanic/game/arboretum_gate.cpp index f4193b0f2f..a892e65fc8 100644 --- a/engines/titanic/game/arboretum_gate.cpp +++ b/engines/titanic/game/arboretum_gate.cpp @@ -133,17 +133,17 @@ void CArboretumGate::load(SimpleFile *file) { CBackground::load(file); } -bool CArboretumGate::handleEvent(const CActMsg &msg) { return false; } -bool CArboretumGate::handleEvent(const CLeaveViewMsg &msg) { return false; } -bool CArboretumGate::handleEvent(const CTurnOff &msg) { return false; } -bool CArboretumGate::handleEvent(const CMouseButtonDownMsg &msg) { return false; } +bool CArboretumGate::handleEvent(CActMsg &msg) { return false; } +bool CArboretumGate::handleEvent(CLeaveViewMsg &msg) { return false; } +bool CArboretumGate::handleEvent(CTurnOff &msg) { return false; } +bool CArboretumGate::handleEvent(CMouseButtonDownMsg &msg) { return false; } -bool CArboretumGate::handleEvent(const CEnterViewMsg &msg) { +bool CArboretumGate::handleEvent(CEnterViewMsg &msg) { warning("CArboretumGate::handleEvent"); return false; } -bool CArboretumGate::handleEvent(const CTurnOn &msg) { return false; } -bool CArboretumGate::handleEvent(const CMovieEndMsg &msg) { return false; } +bool CArboretumGate::handleEvent(CTurnOn &msg) { return false; } +bool CArboretumGate::handleEvent(CMovieEndMsg &msg) { return false; } } // End of namespace Titanic |