aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/end_sequence_control.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-17 19:58:59 -0400
committerPaul Gilbert2016-03-17 19:58:59 -0400
commita8d94d448ea977bdd5b1171e177de6dd714792a2 (patch)
treea9756367b569bcbba8f929c036ef943b48e483e0 /engines/titanic/game/end_sequence_control.h
parente80a15170640a495b5c7861abeea71d0325684cd (diff)
downloadscummvm-rg350-a8d94d448ea977bdd5b1171e177de6dd714792a2.tar.gz
scummvm-rg350-a8d94d448ea977bdd5b1171e177de6dd714792a2.tar.bz2
scummvm-rg350-a8d94d448ea977bdd5b1171e177de6dd714792a2.zip
TITANIC: Fixes to make message handling const, adding CEnterRoomMsg handlers
Diffstat (limited to 'engines/titanic/game/end_sequence_control.h')
-rw-r--r--engines/titanic/game/end_sequence_control.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/titanic/game/end_sequence_control.h b/engines/titanic/game/end_sequence_control.h
index 5e2ba30611..fb1fa3a13c 100644
--- a/engines/titanic/game/end_sequence_control.h
+++ b/engines/titanic/game/end_sequence_control.h
@@ -24,10 +24,13 @@
#define TITANIC_END_SEQUENCE_CONTROL_H
#include "titanic/core/game_object.h"
+#include "titanic/messages/messages.h"
namespace Titanic {
-class CEndSequenceControl : public CGameObject {
+class CEndSequenceControl : public CGameObject, CEnterRoomMsgTarget {
+protected:
+ virtual bool handleEvent(const CEnterRoomMsg &msg);
public:
CLASSDEF