summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-05 12:27:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-05 12:27:02 +0300
commitdd169e1dcb4298f3d38e0ee0c13180ed0807d96a (patch)
tree4e515a9b8c68222e1c4140e59fd9347bcd59bbef /src/gui/userpalette.cpp
parente4171d402519ef2637eada9ffd807601bc72d845 (diff)
downloadmv-dd169e1dcb4298f3d38e0ee0c13180ed0807d96a.tar.gz
mv-dd169e1dcb4298f3d38e0ee0c13180ed0807d96a.tar.bz2
mv-dd169e1dcb4298f3d38e0ee0c13180ed0807d96a.tar.xz
mv-dd169e1dcb4298f3d38e0ee0c13180ed0807d96a.zip
dehardcode floor item color.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r--src/gui/userpalette.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp
index 4491b63d2..b6a34973d 100644
--- a/src/gui/userpalette.cpp
+++ b/src/gui/userpalette.cpp
@@ -72,6 +72,7 @@ const std::string ColorTypeNames[] =
"ColorAttackRange",
"ColorAttackRangeBorder",
"ColorMonsterAttackRange",
+ "ColorFloorItemText",
"ColorHomePlace",
"ColorHomePlaceBorder",
"ColorRoadPoint"
@@ -201,6 +202,10 @@ UserPalette::UserPalette():
addColor(MONSTER_ATTACK_RANGE, 0xff0000, STATIC,
// TRANSLATORS: palette color
_("Monster Attack Range"), 20);
+
+ addColor(FLOOR_ITEM_TEXT, 0xffffff, STATIC,
+ // TRANSLATORS: palette color
+ _("Floor item amount color"), 100);
addColor(HOME_PLACE, 0xffffff, STATIC,
// TRANSLATORS: palette color
_("Home Place"), 20);