aboutsummaryrefslogtreecommitdiff
path: root/engines/draci/game.cpp
diff options
context:
space:
mode:
authorRobert Špalek2009-10-13 05:38:45 +0000
committerRobert Špalek2009-10-13 05:38:45 +0000
commitbaec8c2421c30ebee00c0e0e97de8beba3a9fc2a (patch)
treed53d3c7e094a941af1ab685d671c97fccf278db0 /engines/draci/game.cpp
parent7c311057c10f876cbe5053fac1943917766ae0f0 (diff)
downloadscummvm-rg350-baec8c2421c30ebee00c0e0e97de8beba3a9fc2a.tar.gz
scummvm-rg350-baec8c2421c30ebee00c0e0e97de8beba3a9fc2a.tar.bz2
scummvm-rg350-baec8c2421c30ebee00c0e0e97de8beba3a9fc2a.zip
Set all sound/subtitle-related parameters from ConfMan.
Made it intelligent so that when, for example, the dubbing file doesn't exist, we don't fail, but instead always show subtitles even if the GUI settings says dubbing only, etc. svn-id: r45002
Diffstat (limited to 'engines/draci/game.cpp')
-rw-r--r--engines/draci/game.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/draci/game.cpp b/engines/draci/game.cpp
index a9cf42c73b..1694d81cf0 100644
--- a/engines/draci/game.cpp
+++ b/engines/draci/game.cpp
@@ -1506,6 +1506,10 @@ void Game::setSpeechTiming(uint tick, uint duration) {
_speechDuration = duration;
}
+void Game::shiftSpeechTick(int delta) {
+ _speechTick += delta;
+}
+
int Game::getEscRoom() const {
return _currentRoom._escRoom;
}