summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 12:19:14 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 12:19:14 +0300
commite9f59c64a46ad38fb47aac6313c869eaa02ed0e3 (patch)
tree4e524de66b91f2dba8fb53d00eb22981b8e73f95 /src/gui
parentde5b0753bd94e014f0e81fc676b21c251aabd326 (diff)
downloadManaVerse-e9f59c64a46ad38fb47aac6313c869eaa02ed0e3.tar.gz
ManaVerse-e9f59c64a46ad38fb47aac6313c869eaa02ed0e3.tar.bz2
ManaVerse-e9f59c64a46ad38fb47aac6313c869eaa02ed0e3.tar.xz
ManaVerse-e9f59c64a46ad38fb47aac6313c869eaa02ed0e3.zip
Add enemy color.
Use enemy color in hightlight nick what hit player.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/userpalette.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 8ae5cb8b0..7fe8074b0 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -38,6 +38,7 @@ const std::string ColorTypeNames[] =
"ColorDisregarded",
"ColorIgnored",
"ColorErased",
+ "ColorEnemy",
"ColorPlayer",
"ColorSelf",
"ColorGM",
@@ -184,6 +185,11 @@ UserPalette::UserPalette() :
// TRANSLATORS: palette color
GradientType::STATIC,
_("Guild members"));
+ addColor(UserColorId::ENEMY,
+ 0xff4040,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Enemy"));
addColor(UserColorId::PARTICLE,
0xffffff,
// TRANSLATORS: palette color