diff options
author | Johannes Schickel | 2009-06-21 19:01:04 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-06-21 19:01:04 +0000 |
commit | 67119f9c52a9c5bdb0c0019e8ccdf626053f5c28 (patch) | |
tree | e78188ba27f47991b3e4565a2ec9d5dac21c08ba | |
parent | 76eee406d63b7f614bd3f6e8e5e3f70aff97c921 (diff) | |
download | scummvm-rg350-67119f9c52a9c5bdb0c0019e8ccdf626053f5c28.tar.gz scummvm-rg350-67119f9c52a9c5bdb0c0019e8ccdf626053f5c28.tar.bz2 scummvm-rg350-67119f9c52a9c5bdb0c0019e8ccdf626053f5c28.zip |
Cleanup: Change LoL specific config entries to use underscores instead of whitespaces.
svn-id: r41731
-rw-r--r-- | engines/kyra/lol.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index d87d6eaa1b..ba6689c8a8 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -884,15 +884,15 @@ void LoLEngine::registerDefaultSettings() { // Most settings already have sensible defaults. This one, however, is // specific to the LoL engine. - ConfMan.registerDefault("floating cursors", false); - ConfMan.registerDefault("smooth scrolling", true); - ConfMan.registerDefault("monster difficulty", 1); + ConfMan.registerDefault("floating_cursors", false); + ConfMan.registerDefault("smooth_scrolling", true); + ConfMan.registerDefault("monster_difficulty", 1); } void LoLEngine::writeSettings() { - ConfMan.setInt("monster difficulty", _monsterDifficulty); - ConfMan.setBool("floating cursors", _floatingCursorsEnabled); - ConfMan.setBool("smooth scrolling", _smoothScrollingEnabled); + ConfMan.setInt("monster_difficulty", _monsterDifficulty); + ConfMan.setBool("floating_cursors", _floatingCursorsEnabled); + ConfMan.setBool("smooth_scrolling", _smoothScrollingEnabled); switch (_lang) { case 1: @@ -921,9 +921,9 @@ void LoLEngine::writeSettings() { } void LoLEngine::readSettings() { - _monsterDifficulty = ConfMan.getInt("monster difficulty"); - _smoothScrollingEnabled = ConfMan.getBool("smooth scrolling"); - _floatingCursorsEnabled = ConfMan.getBool("floating cursors"); + _monsterDifficulty = ConfMan.getInt("monster_difficulty"); + _smoothScrollingEnabled = ConfMan.getBool("smooth_scrolling"); + _floatingCursorsEnabled = ConfMan.getBool("floating_cursors"); KyraEngine_v1::readSettings(); } |