diff options
author | Scott Thomas | 2011-04-07 23:36:17 +0930 |
---|---|---|
committer | Scott Thomas | 2011-04-07 23:38:35 +0930 |
commit | 7c39b844b8f635b8267ce50d22e74090e355ff0e (patch) | |
tree | 59e6d10e7f362bb8bb9c5f402f32d69584412bb4 /engines/groovie/player.h | |
parent | d718755d73fbacf5ef31159f85a9f822ff7a3f00 (diff) | |
download | scummvm-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/player.h')
-rw-r--r-- | engines/groovie/player.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/groovie/player.h b/engines/groovie/player.h index c9f47b8100..e75a5fc3c0 100644 --- a/engines/groovie/player.h +++ b/engines/groovie/player.h @@ -48,15 +48,21 @@ protected: virtual uint16 loadInternal() = 0; virtual bool playFrameInternal() = 0; + void setOverrideSpeed(bool isOverride); + bool getOverrideSpeed() const { return _overrideSpeed; } + GroovieEngine *_vm; OSystem *_syst; Common::SeekableReadStream *_file; uint16 _flags; Audio::QueuingAudioStream *_audioStream; - + + private: // Synchronization stuff bool _begunPlaying; + bool _overrideSpeed; + uint16 _fps; uint16 _millisBetweenFrames; uint32 _lastFrameTime; |