diff options
author | Johannes Schickel | 2008-01-27 15:30:53 +0000 |
---|---|---|
committer | Johannes Schickel | 2008-01-27 15:30:53 +0000 |
commit | fec6e22cc92358b08d4e0f62e5db18119e5f2e6d (patch) | |
tree | 892f345ecfb354870ff72abcedc98dadaa3f0a1b /engines/kyra/kyra.h | |
parent | fa5271d8366b40f20d645b31d5e3dad188a515e0 (diff) | |
download | scummvm-rg350-fec6e22cc92358b08d4e0f62e5db18119e5f2e6d.tar.gz scummvm-rg350-fec6e22cc92358b08d4e0f62e5db18119e5f2e6d.tar.bz2 scummvm-rg350-fec6e22cc92358b08d4e0f62e5db18119e5f2e6d.zip |
- slightly refactored user settings handling
- added user some settings handling for HoF
svn-id: r30653
Diffstat (limited to 'engines/kyra/kyra.h')
-rw-r--r-- | engines/kyra/kyra.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/kyra/kyra.h b/engines/kyra/kyra.h index 0e28539c13..7460a34e9c 100644 --- a/engines/kyra/kyra.h +++ b/engines/kyra/kyra.h @@ -147,11 +147,28 @@ protected: StaticResource *_staticres; TimerManager *_timer; ScriptHelper *_scriptInterpreter; + + // config specific + virtual void registerDefaultSettings(); + virtual void readSettings(); + virtual void writeSettings(); + + uint8 _configWalkspeed; + + int _configMusic; + bool _configSounds; + uint8 _configVoice; + + bool speechEnabled(); + bool textEnabled(); // game speed bool _skipFlag; uint16 _tickLength; uint16 _gameSpeed; + + // timer + virtual void setWalkspeed(uint8 speed) = 0; // detection GameFlags _flags; |