diff options
author | Paul Gilbert | 2016-03-19 07:48:23 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-03-19 07:48:23 -0400 |
commit | 3a42c8ca449248dfc67a98f3bedd65c237d06fa0 (patch) | |
tree | 0d0975ff322a16d9c2e22e9274dd2f7408df986b /engines/titanic/sound/sound.cpp | |
parent | abb9a549c86b9c83925cd41f02b27e3e88162b9b (diff) | |
download | scummvm-rg350-3a42c8ca449248dfc67a98f3bedd65c237d06fa0.tar.gz scummvm-rg350-3a42c8ca449248dfc67a98f3bedd65c237d06fa0.tar.bz2 scummvm-rg350-3a42c8ca449248dfc67a98f3bedd65c237d06fa0.zip |
TITANIC: Added various preLoad methods
Diffstat (limited to 'engines/titanic/sound/sound.cpp')
-rw-r--r-- | engines/titanic/sound/sound.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/engines/titanic/sound/sound.cpp b/engines/titanic/sound/sound.cpp index 35c1c708a6..062e43debc 100644 --- a/engines/titanic/sound/sound.cpp +++ b/engines/titanic/sound/sound.cpp @@ -21,6 +21,7 @@ */ #include "titanic/sound/sound.h" +#include "titanic/game_manager.h" namespace Titanic { @@ -35,4 +36,11 @@ void CSound::load(SimpleFile *file) { _soundManager.load(file); } +void CSound::preLoad() { + _soundManager.preLoad(); + + if (_gameManager) + _gameManager->_musicRoom.preLoad(); +} + } // End of namespace Titanic z |