aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/messages/door_auto_sound_event.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2016-08-18 23:52:58 -0400
committerPaul Gilbert2016-08-18 23:52:58 -0400
commitcd8415cfd6e51ef8ab2d4e51ddb4a120253e3b96 (patch)
treee0e345a3a59cb58d3024f0eb6feb6703c7924a38 /engines/titanic/messages/door_auto_sound_event.cpp
parentdc91d30b76ded7ed7a648a0b0b43d8fe99c00cf6 (diff)
downloadscummvm-rg350-cd8415cfd6e51ef8ab2d4e51ddb4a120253e3b96.tar.gz
scummvm-rg350-cd8415cfd6e51ef8ab2d4e51ddb4a120253e3b96.tar.bz2
scummvm-rg350-cd8415cfd6e51ef8ab2d4e51ddb4a120253e3b96.zip
TITANIC: Implementing game classes
Diffstat (limited to 'engines/titanic/messages/door_auto_sound_event.cpp')
-rw-r--r--engines/titanic/messages/door_auto_sound_event.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/engines/titanic/messages/door_auto_sound_event.cpp b/engines/titanic/messages/door_auto_sound_event.cpp
index b9cedae6de..7618577e50 100644
--- a/engines/titanic/messages/door_auto_sound_event.cpp
+++ b/engines/titanic/messages/door_auto_sound_event.cpp
@@ -24,6 +24,12 @@
namespace Titanic {
+BEGIN_MESSAGE_MAP(CDoorAutoSoundEvent, CAutoSoundEvent)
+ ON_MESSAGE(PreEnterNodeMsg)
+ ON_MESSAGE(LeaveNodeMsg)
+ ON_MESSAGE(TimerMsg)
+END_MESSAGE_MAP()
+
void CDoorAutoSoundEvent::save(SimpleFile *file, int indent) {
file->writeNumberLine(1, indent);
file->writeQuotedLine(_string1, indent);
@@ -44,4 +50,16 @@ void CDoorAutoSoundEvent::load(SimpleFile *file) {
CAutoSoundEvent::load(file);
}
+bool CDoorAutoSoundEvent::PreEnterNodeMsg(CPreEnterNodeMsg *msg) {
+ return true;
+}
+
+bool CDoorAutoSoundEvent::LeaveNodeMsg(CLeaveNodeMsg *msg) {
+ return true;
+}
+
+bool CDoorAutoSoundEvent::TimerMsg(CTimerMsg *msg) {
+ return true;
+}
+
} // End of namespace Titanic