From 67119f9c52a9c5bdb0c0019e8ccdf626053f5c28 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 21 Jun 2009 19:01:04 +0000 Subject: Cleanup: Change LoL specific config entries to use underscores instead of whitespaces. svn-id: r41731 --- engines/kyra/lol.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'engines/kyra/lol.cpp') 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(); } -- cgit v1.2.3