diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-30 12:46:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-30 12:46:49 +0300 |
commit | 9bb11133522836a9c5e251550ac88c9a4e091c0e (patch) | |
tree | f65703ac1a51b79a0766c48420769d28d0847f41 /src/commands.cpp | |
parent | e55ed9a138e97f6fba5e3b6858a755f8a50197d2 (diff) | |
download | manaverse-9bb11133522836a9c5e251550ac88c9a4e091c0e.tar.gz manaverse-9bb11133522836a9c5e251550ac88c9a4e091c0e.tar.bz2 manaverse-9bb11133522836a9c5e251550ac88c9a4e091c0e.tar.xz manaverse-9bb11133522836a9c5e251550ac88c9a4e091c0e.zip |
Move main window related code into windowmanager.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r-- | src/commands.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index 46efeffbd..0db774ada 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -1099,17 +1099,17 @@ impHandler2(dumpGraphics) str.append(",0"); #endif - str.append(strprintf(",%f,", static_cast<double>(client->getGuiAlpha()))) - .append(config.getBoolValue("adjustPerfomance") ? "1" : "0") - .append(config.getBoolValue("alphaCache") ? "1" : "0") - .append(config.getBoolValue("enableMapReduce") ? "1" : "0") - .append(config.getBoolValue("beingopacity") ? "1" : "0") - .append(",") - .append(config.getBoolValue("enableAlphaFix") ? "1" : "0") - .append(config.getBoolValue("disableAdvBeingCaching") ? "1" : "0") - .append(config.getBoolValue("disableBeingCaching") ? "1" : "0") - .append(config.getBoolValue("particleeffects") ? "1" : "0") - .append(strprintf(",%d-%d", fps, config.getIntValue("fpslimit"))); + str.append(strprintf(",%f,", static_cast<double>(settings.guiAlpha))) + .append(config.getBoolValue("adjustPerfomance") ? "1" : "0") + .append(config.getBoolValue("alphaCache") ? "1" : "0") + .append(config.getBoolValue("enableMapReduce") ? "1" : "0") + .append(config.getBoolValue("beingopacity") ? "1" : "0") + .append(",") + .append(config.getBoolValue("enableAlphaFix") ? "1" : "0") + .append(config.getBoolValue("disableAdvBeingCaching") ? "1" : "0") + .append(config.getBoolValue("disableBeingCaching") ? "1" : "0") + .append(config.getBoolValue("particleeffects") ? "1" : "0") + .append(strprintf(",%d-%d", fps, config.getIntValue("fpslimit"))); outStringNormal(tab, str, str); } |