diff options
| author | Japa | 2010-08-04 13:39:48 +0000 |
|---|---|---|
| committer | Japa | 2010-08-04 13:39:48 +0000 |
| commit | 08f408123d12f47687222db90c0e9b6034e95263 (patch) | |
| tree | aa73cad84dc709e49238d19b914388a80829078d /Config.cpp | |
| parent | d2951e60870dfab9f73efa21d171c34cac465937 (diff) | |
| download | stonesense-08f408123d12f47687222db90c0e9b6034e95263.tar.gz stonesense-08f408123d12f47687222db90c0e9b6034e95263.tar.bz2 stonesense-08f408123d12f47687222db90c0e9b6034e95263.tar.xz | |
merged in beefmo's creatures
added an option to save transparent screenshots
Diffstat (limited to 'Config.cpp')
| -rw-r--r-- | Config.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -97,6 +97,10 @@ void parseConfigLine( string line ){ string result = parseStrFromLine( "DEBUGMODE", line ); config.debug_mode = (result == "YES"); } + if( line.find("[TRANSPARENT_SCREENSHOTS") != -1){ + string result = parseStrFromLine( "TRANSPARENT_SCREENSHOTS", line ); + config.transparentScreenshots = (result == "YES"); + } if( line.find("[LIFTSEGMENT") != -1){ int value = parseIntFromLine( "LIFTSEGMENT", line); config.lift_segment_offscreen = value; |
