diff options
Diffstat (limited to 'engines/titanic/sound')
-rw-r--r-- | engines/titanic/sound/sound.cpp | 4 | ||||
-rw-r--r-- | engines/titanic/sound/sound.h | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp index 062e43debc..54c14508cf 100644 --- a/engines/titanic/sound/sound.cpp +++ b/engines/titanic/sound/sound.cpp @@ -43,4 +43,8 @@ void CSound::preLoad() { _gameManager->_musicRoom.preLoad(); } +void CSound::viewChanged(CViewItem *newView, bool isNewRoom) { + warning("CSound::viewChanged"); +} + } // End of namespace Titanic z diff --git a/engines/titanic/sound/sound.h b/engines/titanic/sound/sound.h index fce29eb625..0bfd3f29b1 100644 --- a/engines/titanic/sound/sound.h +++ b/engines/titanic/sound/sound.h @@ -25,6 +25,7 @@ #include "titanic/simple_file.h" #include "titanic/sound/sound_manager.h" +#include "titanic/core/view_item.h" namespace Titanic { @@ -66,6 +67,11 @@ public: * Called when a game has finished being saved */ void postSave() { _soundManager.postSave(); } + + /** + * Called when the view has been changed + */ + void viewChanged(CViewItem *newView, bool isNewRoom); }; } // End of namespace Titanic |