[Scummvm-cvs-logs] SF.net SVN: scummvm:[41731] scummvm/trunk/engines/kyra/lol.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Jun 21 21:01:04 CEST 2009
Revision: 41731
http://scummvm.svn.sourceforge.net/scummvm/?rev=41731&view=rev
Author: lordhoto
Date: 2009-06-21 19:01:04 +0000 (Sun, 21 Jun 2009)
Log Message:
-----------
Cleanup: Change LoL specific config entries to use underscores instead of whitespaces.
Modified Paths:
--------------
scummvm/trunk/engines/kyra/lol.cpp
Modified: scummvm/trunk/engines/kyra/lol.cpp
===================================================================
--- scummvm/trunk/engines/kyra/lol.cpp 2009-06-21 19:00:50 UTC (rev 41730)
+++ scummvm/trunk/engines/kyra/lol.cpp 2009-06-21 19:01:04 UTC (rev 41731)
@@ -884,15 +884,15 @@
// 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::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();
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list