summaryrefslogtreecommitdiff
path: root/Config.cpp
diff options
context:
space:
mode:
authorJapa2010-08-04 13:39:48 +0000
committerJapa2010-08-04 13:39:48 +0000
commit08f408123d12f47687222db90c0e9b6034e95263 (patch)
treeaa73cad84dc709e49238d19b914388a80829078d /Config.cpp
parentd2951e60870dfab9f73efa21d171c34cac465937 (diff)
downloadstonesense-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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Config.cpp b/Config.cpp
index 61d44c6..9ea8b87 100644
--- a/Config.cpp
+++ b/Config.cpp
@@ -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;