summaryrefslogtreecommitdiff
path: root/src/defaults.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-07-29 21:26:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-07-30 02:25:05 +0300
commitca9e91c47d2a5ca4027329311b00a12f5647b5d6 (patch)
tree4c2a7076bfdac36b603cb9fbb214f0cbecd8f356 /src/defaults.cpp
parenteeda67071df6b6a2021292b1aeea4e16903c4007 (diff)
downloadmanaplus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.tar.gz
manaplus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.tar.bz2
manaplus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.tar.xz
manaplus-ca9e91c47d2a5ca4027329311b00a12f5647b5d6.zip
Add option to show player name at top or at bottom.
Add also enum for badge draw type.
Diffstat (limited to 'src/defaults.cpp')
-rw-r--r--src/defaults.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/defaults.cpp b/src/defaults.cpp
index 698436614..24aa3452c 100644
--- a/src/defaults.cpp
+++ b/src/defaults.cpp
@@ -30,7 +30,9 @@
#include "enums/screendensity.h"
+#include "enums/being/badgedrawtype.h"
#include "enums/being/visiblename.h"
+#include "enums/being/visiblenamepos.h"
#include "enums/input/inputaction.h"
@@ -88,6 +90,7 @@ DefaultsData* getConfigDefaults()
AddDEF("speechBubbleAlpha", 1.0F);
AddDEF("MostUsedServerName0", "server.themanaworld.org");
AddDEF("visiblenames", VisibleName::Show);
+ AddDEF("visiblenamespos", VisibleNamePos::Buttom);
AddDEF("speech", CAST_S32(BeingSpeech::NO_NAME_IN_BUBBLE));
AddDEF("showgender", true);
AddDEF("showlevel", false);
@@ -394,7 +397,7 @@ DefaultsData* getConfigDefaults()
AddDEF("ignorelogpackets", "");
AddDEF("disableLoggingInGame", false);
AddDEF("sellShopName", "unnamed");
- AddDEF("showBadges", 1);
+ AddDEF("showBadges", BadgeDrawType::Top);
AddDEF("tradescreenshot", false);
AddDEF("skillAutotarget", true);
AddDEF("logPlayerActions", false);