diff options
author | Travis Howell | 2004-02-22 03:08:18 +0000 |
---|---|---|
committer | Travis Howell | 2004-02-22 03:08:18 +0000 |
commit | 42028e984fa70c7fbb4536f1146161942e6fac40 (patch) | |
tree | 160269bf66de81fe8d6804f807f2ad339aa4e8a6 /scumm/scummvm.cpp | |
parent | ff934471084e4c4daec06527583dcd9d4b519b84 (diff) | |
download | scummvm-rg350-42028e984fa70c7fbb4536f1146161942e6fac40.tar.gz scummvm-rg350-42028e984fa70c7fbb4536f1146161942e6fac40.tar.bz2 scummvm-rg350-42028e984fa70c7fbb4536f1146161942e6fac40.zip |
Enable and use VAR_VOICE_MODE
svn-id: r12979
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index c6b747ee5a..50e4ffbac4 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -618,6 +618,7 @@ ScummEngine::ScummEngine(GameDetector *detector, OSystem *syst, const ScummGameS VAR_CLICK_AREA = 0xFF; VAR_BLAST_ABOVE_TEXT = 0xFF; + VAR_VOICE_MODE = 0xFF; // Use g_scumm from error() ONLY g_scumm = this; @@ -1200,6 +1201,9 @@ void ScummEngine::initScummVars() { VAR(VAR_CURRENT_LIGHTS) = LIGHTMODE_actor_base | LIGHTMODE_actor_color | LIGHTMODE_screen; } + if (_version >= 7) + VAR(VAR_VOICE_MODE) = ConfMan.getBool("subtitles"); + VAR(VAR_CHARINC) = 4; talkingActor(0); } |