Commit a24a93e715cb3de4f1e259f231870bb87e97883c

Authored by dg
1 parent d8b020cc

Improved the contrast of the party icons life bars


git-svn-id: http://svn.net-core.org/repos/t-engine4@2648 51575b47-30f0-44d4-a5cc-537603b46e54
... ... @@ -104,9 +104,9 @@ end
104 104 function _M:makePortrait(a, current, x, y)
105 105 local s = self.surface_portrait
106 106 local def = game.party.members[a]
107   - s:erase(colors.VERY_DARK_RED.r, colors.VERY_DARK_RED.g, colors.VERY_DARK_RED.b, 255, 6, 6, 32, 32)
  107 + s:erase(0, 0, 0, 255, 6, 6, 32, 32)
108 108 local hl = 32 * math.max(0, a.life) / a.max_life
109   - s:erase(colors.DARK_RED.r, colors.DARK_RED.g, colors.DARK_RED.b, 255, 6, 32+6-hl, 32, hl)
  109 + s:erase(colors.RED.r, colors.RED.g, colors.RED.b, 255, 6, 32+6-hl, 32, hl)
110 110
111 111 self:mouseTooltip("#GOLD##{bold}#"..a.name.."\n#WHITE##{normal}#Level: "..a.level.."\n"..def.title, 40, 40, x, y, function()
112 112 if def.control == "full" then
... ...