aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/arboretum_gate.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-18 23:18:59 -0400
committerPaul Gilbert2016-03-18 23:18:59 -0400
commit4f5202f958d55ccfda6e67a6b8933630de240e87 (patch)
tree4054258dcea5b428a49534a9453e66dc07864ad0 /engines/titanic/game/arboretum_gate.h
parent7a38b51357ba581fe51a392a031d09dd238039e8 (diff)
downloadscummvm-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.h')
-rw-r--r--engines/titanic/game/arboretum_gate.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/titanic/game/arboretum_gate.h b/engines/titanic/game/arboretum_gate.h
index 514192e151..7432799460 100644
--- a/engines/titanic/game/arboretum_gate.h
+++ b/engines/titanic/game/arboretum_gate.h
@@ -69,13 +69,13 @@ private:
int _field150;
CString _string2;
protected:
- virtual bool handleEvent(const CActMsg &msg);
- virtual bool handleEvent(const CLeaveViewMsg &msg);
- virtual bool handleEvent(const CTurnOff &msg);
- virtual bool handleEvent(const CMouseButtonDownMsg &msg);
- virtual bool handleEvent(const CEnterViewMsg &msg);
- virtual bool handleEvent(const CTurnOn &msg);
- virtual bool handleEvent(const CMovieEndMsg &msg);
+ virtual bool handleEvent(CActMsg &msg);
+ virtual bool handleEvent(CLeaveViewMsg &msg);
+ virtual bool handleEvent(CTurnOff &msg);
+ virtual bool handleEvent(CMouseButtonDownMsg &msg);
+ virtual bool handleEvent(CEnterViewMsg &msg);
+ virtual bool handleEvent(CTurnOn &msg);
+ virtual bool handleEvent(CMovieEndMsg &msg);
public:
CLASSDEF
CArboretumGate();