diff options
author | Paul Gilbert | 2016-08-18 23:52:58 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-08-18 23:52:58 -0400 |
commit | cd8415cfd6e51ef8ab2d4e51ddb4a120253e3b96 (patch) | |
tree | e0e345a3a59cb58d3024f0eb6feb6703c7924a38 /engines/titanic/messages/door_auto_sound_event.cpp | |
parent | dc91d30b76ded7ed7a648a0b0b43d8fe99c00cf6 (diff) | |
download | scummvm-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.cpp | 18 |
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 |