summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2016-09-23 22:01:44 +0300
commit3c404128c4669a1f4f190e20a89553677717fc50 (patch)
tree2db4e5031089c800c4e00fd6244e578f44a7c910 /src/defaults.cpp
parent89b267d6d73bbc59f7c313b8a22b97fbb27f99a8 (diff)
downloadmanaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.gz
manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.bz2
manaverse-3c404128c4669a1f4f190e20a89553677717fc50.tar.xz
manaverse-3c404128c4669a1f4f190e20a89553677717fc50.zip
Add missing comments into defines.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp32
1 files changed, 21 insertions, 11 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 312c3a2fe..48febf17f 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -38,7 +38,7 @@
#ifndef USE_SDL2
#include <SDL_keyboard.h>
-#endif
+#endif // USE_SDL2
#include "debug.h"
@@ -131,7 +131,8 @@ DefaultsData* getConfigDefaults()
AddDEF("customcursor", false);
AddDEF("showDidYouKnow", false);
AddDEF("longmouseclick", true);
-#else
+#else // ANDROID
+
AddDEF("screenwidth", defaultScreenWidth);
AddDEF("screenheight", defaultScreenHeight);
AddDEF("showScreenJoystick", false);
@@ -145,7 +146,8 @@ DefaultsData* getConfigDefaults()
AddDEF("customcursor", true);
AddDEF("showDidYouKnow", true);
AddDEF("longmouseclick", false);
-#endif
+#endif // ANDROID
+
AddDEF("showEmotesButton", true);
AddDEF("screen", false);
AddDEF("hwaccel", false);
@@ -283,20 +285,24 @@ DefaultsData* getConfigDefaults()
AddDEF("blur", false);
#if defined(WIN32) || defined(__APPLE__)
AddDEF("centerwindow", true);
-#else
+#else // defined(WIN32) || defined(__APPLE__)
+
AddDEF("centerwindow", false);
-#endif
+#endif // defined(WIN32) || defined(__APPLE__)
+
AddDEF("audioFrequency", 44100);
AddDEF("audioChannels", 2);
#ifdef USE_SDL2
AddDEF("repeateDelay", 500);
AddDEF("repeateInterval", 30);
AddDEF("repeateInterval2", 500);
-#else
+#else // USE_SDL2
+
AddDEF("repeateDelay", SDL_DEFAULT_REPEAT_DELAY);
AddDEF("repeateInterval", SDL_DEFAULT_REPEAT_INTERVAL);
AddDEF("repeateInterval2", SDL_DEFAULT_REPEAT_DELAY);
-#endif
+#endif // USE_SDL2
+
AddDEF("compresstextures", 0);
AddDEF("rectangulartextures", false);
AddDEF("networksleep", 0);
@@ -307,9 +313,11 @@ DefaultsData* getConfigDefaults()
AddDEF("enableCompoundSpriteDelay", true);
#ifdef ANDROID
AddDEF("useAtlases", false);
-#else
+#else // ANDROID
+
AddDEF("useAtlases", true);
-#endif
+#endif // ANDROID
+
AddDEF("useTextureSampler", false);
AddDEF("ministatussaved", 0);
AddDEF("allowscreensaver", false);
@@ -317,9 +325,11 @@ DefaultsData* getConfigDefaults()
AddDEF("protectChatFocus", true);
#if defined(__APPLE__)
AddDEF("enableGamma", false);
-#else
+#else // defined(__APPLE__)
+
AddDEF("enableGamma", true);
-#endif
+#endif // defined(__APPLE__)
+
AddDEF("logInput", false);
AddDEF("highlightWords", "");
AddDEF("globalsFilter", "Sagatha");