diff options
author | Arnaud Boutonné | 2010-08-20 22:23:12 +0000 |
---|---|---|
committer | Arnaud Boutonné | 2010-08-20 22:23:12 +0000 |
commit | 10066443b06cb0f47f0f3b4bb107ee94439e030a (patch) | |
tree | 4b5c134796358227dd9a688979b8d3da9790c1cf /engines | |
parent | 3e427b725b3974a6b13f0790457198a8fbb21cf2 (diff) | |
download | scummvm-rg350-10066443b06cb0f47f0f3b4bb107ee94439e030a.tar.gz scummvm-rg350-10066443b06cb0f47f0f3b4bb107ee94439e030a.tar.bz2 scummvm-rg350-10066443b06cb0f47f0f3b4bb107ee94439e030a.zip |
GOB: Add an initGame() for Fascination.
Added in order to suppress the speaker and the adlib flag. When the speaker flag is set, some sounds are skipped. The adlib flag will be required the day the MDY/TBR player will work: SB music for the moment
svn-id: r52247
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/init.h | 1 | ||||
-rw-r--r-- | engines/gob/init_fascin.cpp | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/engines/gob/init.h b/engines/gob/init.h index 8716c5e67d..8fc301d7a6 100644 --- a/engines/gob/init.h +++ b/engines/gob/init.h @@ -97,6 +97,7 @@ public: ~Init_Fascination(); void updateConfig(); + void initGame(); }; } // End of namespace Gob diff --git a/engines/gob/init_fascin.cpp b/engines/gob/init_fascin.cpp index f59106dbd2..f853858564 100644 --- a/engines/gob/init_fascin.cpp +++ b/engines/gob/init_fascin.cpp @@ -46,4 +46,12 @@ void Init_Fascination::updateConfig() { _vm->_global->_doSubtitles = true; } +void Init_Fascination::initGame() { + // HACK - Suppress ADLIB_FLAG as the MDY/TBR player is not working. suppress the honker too, + // as the script checks in the intro for it's presence to play or not some noices. + _vm->_global->_soundFlags = MIDI_FLAG | BLASTER_FLAG; + + Init::initGame(); +} + } // End of namespace Gob |