This helps bug #11030 (lower the risk of confusion with colors under
the bars, caused by terrains or by the unit, like the drake burner's
wing or the elvish fighter'sword (who always look near AMLA). Also
useful on snow terrains. Maybe the 0.3 value must be tuned. This also
compensate a little the change of the alpha of bars from the previous
commit (brighter bar but darker background)
(was inconsistent with other numbers and all moves need "1 turn")
Instead, use "1" only for multiple turns moves and introduce little
icons at the same place to show ZoC and capture end-of-move.
As always, these images are working placeholders (but not too ugly, I
think) Note that icons and numbers must stay visible when mixed (but
it's rare)
Currently twice the same file, to ease experiment and because url is still
harcoded. I tried some fancy whirl and color, but with my gimp skill, better
let a simple and good working placeholder (+I start to get used and like it)
...use a halo image instead of footsteps in funky directions (but
continue to draw them for entering and leaving the villages). It's
mainly a visual indicator to show that there is something special
happening and that your footpath is not just stuck in the village.
It's a quick Gimp, but if/when replaced, it must stay light. Because
it's coded to stay visible like footsteps when the unit move and
teleport, and so it must work well under the teleport anim. If really
needed, we can add a new unit key specifing the image to use. Btw, the
siver mage seems to not have his teleport anim in cfg but the images
are there.
to have more room in the last line and reduce overlap or truncation in
lower resolutions, add an icon to better indicate if observers are
allowed, properly align icons in the last line
(in next commit)
- use half hex images, put them in a specific directory (use 12 images
instead of 8)
- 3 directions instead of 2, so we can use 180-rotation instead of
flipping (bad for left/right)
- more regular steps: needed for better angles and it looks less discontinous
- remove ugly "noise" of the north-south images
(misleading use of attack from/to and inverse use of direction)
Now use a simpler source/destination + direction of the attack and
rename the image files
Also make some simplification and comments about it.
I also commit some placeholder images, to show how it works and hoping
that someone will improve them
I use a not-too-much-visible quick-gimp, in case it stay longer than
expected, but still a-bit-ugly to motivate some artist to improve them
(and because i can't do better in less than 1 day of gimp-work :-/ )
(its ugly hacks didn't like my last cache optimization of default zoom
level)
- add a special image of energy-bar for this gui
- update its url in the "don't scale it" list of make install
- finally use the new WML #ifdef TINY in _main.cfg with it
(used for hiding them while using color ones)
- remade the image (to skip a possible effect of the recent pngcrush)
- add a black pixel, in case of mac have problem with fully
transparent cursor image png
(this black pixel is almost invisible but must be removed later, or
used only with mac if it fix the bug)