summaryrefslogtreecommitdiff
path: root/Config.cpp
diff options
context:
space:
mode:
authorJonas Ask2009-10-27 14:55:04 +0000
committerJonas Ask2009-10-27 14:55:04 +0000
commit9a92c44b17240b8572ad27ba9ea1d460733be2fb (patch)
treedf35dd98d6b7d666758fa4c6ce5d185fb7e54a1e /Config.cpp
parentb3cf8f6cdd6ced92e71834188b309d7084b6e073 (diff)
downloadstonesense-9a92c44b17240b8572ad27ba9ea1d460733be2fb.tar.gz
stonesense-9a92c44b17240b8572ad27ba9ea1d460733be2fb.tar.bz2
stonesense-9a92c44b17240b8572ad27ba9ea1d460733be2fb.tar.xz
Changed debug mode to a config option, rather than a compile flag.
Changed DrawSpriteIndexOverlay to finish on SPACE key, not any key
Diffstat (limited to 'Config.cpp')
-rw-r--r--Config.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Config.cpp b/Config.cpp
index 97fd888..05b482b 100644
--- a/Config.cpp
+++ b/Config.cpp
@@ -83,6 +83,10 @@ void parseConfigLine( string line ){
string result = parseStrFromLine( "ALLCREATURES", line );
config.show_all_creatures = (result == "YES");
}
+ if( line.find("DEBUGMODE") != -1){
+ string result = parseStrFromLine( "DEBUGMODE", line );
+ config.debug_mode = (result == "YES");
+ }
}