diff options
| author | Jonas Ask | 2009-10-27 14:55:04 +0000 |
|---|---|---|
| committer | Jonas Ask | 2009-10-27 14:55:04 +0000 |
| commit | 9a92c44b17240b8572ad27ba9ea1d460733be2fb (patch) | |
| tree | df35dd98d6b7d666758fa4c6ce5d185fb7e54a1e /Config.cpp | |
| parent | b3cf8f6cdd6ced92e71834188b309d7084b6e073 (diff) | |
| download | stonesense-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.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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");
+ }
}
|
