summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp43
1 files changed, 43 insertions, 0 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index d52463425..ac0049b87 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -64,6 +64,12 @@ const std::string ColorTypeNames[CAST_SIZE(
"ColorPlayerHp2",
"ColorMonsterHp",
"ColorMonsterHp2",
+ "ColorHomunHp",
+ "ColorHomunHp2",
+ "ColorMercHp",
+ "ColorMercHp2",
+ "ColorElementalHp",
+ "ColorElementalHp2",
"",
"ColorHitPlayerMonster",
"ColorHitMonsterPlayer",
@@ -273,6 +279,43 @@ UserPalette::UserPalette() :
// TRANSLATORS: palette color
_("Monster HP bar (second color)"),
50);
+ addColor(UserColorId::HOMUN_HP,
+ 0x00ff00,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Homunculus HP bar"),
+ 50);
+ addColor(UserColorId::HOMUN_HP2,
+ 0xff0000,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Homunculus HP bar (second color)"),
+ 50);
+ addColor(UserColorId::MERC_HP,
+ 0x00ff00,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Mercenary HP bar"),
+ 50);
+ addColor(UserColorId::MERC_HP2,
+ 0xff0000,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Mercenary HP bar (second color)"),
+ 50);
+
+ addColor(UserColorId::ELEMENTAL_HP,
+ 0x00ff00,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Elemental HP bar"),
+ 50);
+ addColor(UserColorId::ELEMENTAL_HP2,
+ 0xff0000,
+ GradientType::STATIC,
+ // TRANSLATORS: palette color
+ _("Elemental HP bar (second color)"),
+ 50);
addLabel(UserColorId::LABEL_HITS,
// TRANSLATORS: palette label
_("Hits"));