From cc9bf88ed56a4c5fbb14c05d30395b1688f5ebe7 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 9 Jul 2016 11:32:15 -0400 Subject: TITANIC: Major implementation of OSMovie and AVISurface classes --- engines/titanic/sound/sound_manager.cpp | 4 ++-- engines/titanic/sound/sound_manager.h | 15 +++++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) (limited to 'engines/titanic/sound') diff --git a/engines/titanic/sound/sound_manager.cpp b/engines/titanic/sound/sound_manager.cpp index 05a924f352..440d74ade5 100644 --- a/engines/titanic/sound/sound_manager.cpp +++ b/engines/titanic/sound/sound_manager.cpp @@ -100,8 +100,8 @@ void QSoundManager::WaveMixPump() { warning("TODO"); } -int QSoundManager::proc18() const { - warning("TODO"); +bool QSoundManager::movieStarted() const { + // TODO return 0; } diff --git a/engines/titanic/sound/sound_manager.h b/engines/titanic/sound/sound_manager.h index ac4ac1ef9f..942124e796 100644 --- a/engines/titanic/sound/sound_manager.h +++ b/engines/titanic/sound/sound_manager.h @@ -59,7 +59,12 @@ public: virtual bool isActive(int handle) const { return false; } virtual int proc16() const { return 0; } virtual void WaveMixPump() {} - virtual int proc18() const { return 0; } + + /** + * Called when a movie with audio is started + */ + virtual bool movieStarted() const { return false; } + virtual void setMusicPercent(double percent) { _musicPercent = percent; } virtual void setSpeechPercent(double percent) { _speechPercent = percent; } virtual void setMasterPercent(double percent) { _masterPercent = percent; } @@ -128,7 +133,13 @@ public: virtual bool isActive(int handle) const; virtual int proc16(); virtual void WaveMixPump(); - virtual int proc18() const; + + + /** + * Called when a movie with audio is started + */ + virtual bool movieStarted() const; + virtual void proc19(int v); virtual void proc20(int v); virtual void proc21(int v); -- cgit v1.2.3