aboutsummaryrefslogtreecommitdiff
path: root/engines/groovie/groovie.cpp
diff options
context:
space:
mode:
authorScott Thomas2011-04-07 23:36:17 +0930
committerScott Thomas2011-04-07 23:38:35 +0930
commit7c39b844b8f635b8267ce50d22e74090e355ff0e (patch)
tree59e6d10e7f362bb8bb9c5f402f32d69584412bb4 /engines/groovie/groovie.cpp
parentd718755d73fbacf5ef31159f85a9f822ff7a3f00 (diff)
downloadscummvm-rg350-7c39b844b8f635b8267ce50d22e74090e355ff0e.tar.gz
scummvm-rg350-7c39b844b8f635b8267ce50d22e74090e355ff0e.tar.bz2
scummvm-rg350-7c39b844b8f635b8267ce50d22e74090e355ff0e.zip
GROOVIE: Add additional play-speed modes to T7G.
These two speed modes enable faster movement throughout the mansion. iOS mode matches the behavior of the official iOS release while tweaked mode additionally uses original framerate for 'teeth' animations.
Diffstat (limited to 'engines/groovie/groovie.cpp')
-rw-r--r--engines/groovie/groovie.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/groovie/groovie.cpp b/engines/groovie/groovie.cpp
index 67c8f3dbc7..ea9c0a9fb7 100644
--- a/engines/groovie/groovie.cpp
+++ b/engines/groovie/groovie.cpp
@@ -55,6 +55,16 @@ GroovieEngine::GroovieEngine(OSystem *syst, const GroovieGameDescription *gd) :
SearchMan.addSubDirectoryMatching(gameDataDir, "media");
SearchMan.addSubDirectoryMatching(gameDataDir, "system");
+ _modeSpeed = kGroovieSpeedNormal;
+ if (ConfMan.hasKey("t7g_speed"))
+ {
+ Common::String speed = ConfMan.get("t7g_speed");
+ if (speed.equals("im_an_ios"))
+ _modeSpeed = kGroovieSpeediOS;
+ else if (speed.equals("tweaked"))
+ _modeSpeed = kGroovieSpeedTweaked;
+ }
+
// Initialize the custom debug levels
DebugMan.addDebugChannel(kGroovieDebugAll, "All", "Debug everything");
DebugMan.addDebugChannel(kGroovieDebugVideo, "Video", "Debug video and audio playback");