aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/sound/sound.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-19 20:56:29 -0400
committerPaul Gilbert2016-03-19 20:56:29 -0400
commitdbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5 (patch)
treeb52c4f12ec3a6ecd25a23896d03faf3a2b156e84 /engines/titanic/sound/sound.h
parent46d5af527d5731eee812a18a57c4105bc01447c6 (diff)
downloadscummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.tar.gz
scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.tar.bz2
scummvm-rg350-dbd8ab0f1c11f1e749c74fe70e5fc2496332a1c5.zip
TITANIC: Implement view change logic
Diffstat (limited to 'engines/titanic/sound/sound.h')
-rw-r--r--engines/titanic/sound/sound.h6
1 files changed, 6 insertions, 0 deletions
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