diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-09 23:18:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-09 23:24:06 +0300 |
commit | 4561ae35f7c2c641e5dd0070b6cd3779dad0275b (patch) | |
tree | dc8cbe215e3ca68f15bab5b510931552d3a1f94b /src/gui/userpalette.cpp | |
parent | 94a9a81d9c6aa9fa287616c8b4bfc5ea86214dcd (diff) | |
download | manaplus-4561ae35f7c2c641e5dd0070b6cd3779dad0275b.tar.gz manaplus-4561ae35f7c2c641e5dd0070b6cd3779dad0275b.tar.bz2 manaplus-4561ae35f7c2c641e5dd0070b6cd3779dad0275b.tar.xz manaplus-4561ae35f7c2c641e5dd0070b6cd3779dad0275b.zip |
Add drawing colors for new collision types.
Diffstat (limited to 'src/gui/userpalette.cpp')
-rw-r--r-- | src/gui/userpalette.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/userpalette.cpp b/src/gui/userpalette.cpp index 33a42645f..bc5576469 100644 --- a/src/gui/userpalette.cpp +++ b/src/gui/userpalette.cpp @@ -65,6 +65,8 @@ const std::string ColorTypeNames[] = "ColorMiss", "ColorPortalHighlight", "ColorCollisionHighlight", + "ColorCollisionAirHighlight", + "ColorCollisionWaterHighlight", "ColorWalkableTileHighlight", "ColorAttackRange", "ColorAttackRangeBorder", @@ -144,7 +146,11 @@ UserPalette::UserPalette(): addColor(MISS, 0xffff00, STATIC, _("Misses")); addColor(PORTAL_HIGHLIGHT, 0xC80000, STATIC, _("Portal Highlight")); addColor(COLLISION_HIGHLIGHT, 0x0000C8, STATIC, - _("Collision Highlight"), 64); + _("Default collision Highlight"), 64); + addColor(AIR_COLLISION_HIGHLIGHT, 0xe0e0ff, STATIC, + _("Air collision Highlight"), 64); + addColor(WATER_COLLISION_HIGHLIGHT, 0x2050e0, STATIC, + _("Water collision Highlight"), 64); addColor(WALKABLE_HIGHLIGHT, 0x00D000, STATIC, _("Walkable Highlight"), 255); addColor(ATTACK_RANGE, 0xffffff, STATIC, |