As the disengaged state is part-way between the "partial" and "moved" states,
the orb has parts in each color. On the minimap these units are shown in the
partial color (which is also the color that would be used before this change).
This will match the mounted Quenoth units' "disengage" skill, when they
can still move but can't attack. It should also trigger for some UMC abilities
that get extra moves after a character attacks.
During testing, I found that TSG allows some of the bandits to attack on the
first turn of the bandit branch. There's no gameplay change there, but the orbs
make it much clearer that some units can still attack.
I think there are already too many preferences for orbs, so reused the existing
settings for the colors. A new "show disengaged orb" preference is added, which
when disabled shows the old partial orb instead.
Update the orb and ellipse sections of doc/manual/.
Notes about how I created the new orb image:
* create a color range to_ellipse_red with rgb=FF0000,FF0000,000000,FF0000
* wesnoth --render-image 'misc/orb.png~RC(magenta>to_ellipse_red)' images/misc/orb-ellipse-red.png
* open the orb.png and orb-ellipse-red.png images as layers in Gimp, add a layer mask to both of them
* use the layer mask to get each pixel from exactly one of the layers
The image added here is a grass background to draw units on via Image Path
Functions. For the documentation, a square image looks better than a hexagon
that has black borders.
This reverts commit 5d36e382c7.
It's been found to cause all kinds of terrain glitches on Windows and
Linux. Please do not try experimental image compression alternatives
without discussing and reviewing first.
Overall statistics (only for files with a smaller recompressed size):
Original size: 24 KiB on 2 files
Optimized size: 23 KiB
Total saving: 0 KiB = 0% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 16720 KiB on 404 files
Optimized size: 15237 KiB
Total saving: 1482 KiB = 8% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 276 KiB on 14 files
Optimized size: 226 KiB
Total saving: 50 KiB = 18% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 332 KiB on 8 files
Optimized size: 291 KiB
Total saving: 40 KiB = 12% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 485 KiB on 277 files
Optimized size: 447 KiB
Total saving: 37 KiB = 7% decrease
(not commiting any files that were reported as broken, there are many!)
Original size: 130846 KiB on 10530 files
Optimized size: 127520 KiB
Total saving: 3325 KiB = 2% decrease
NOTE: Extremely many files received (smaller) changes but due to the
extremely large amount of changes I am not 100% sure that this
conversion is correct. This is the output of
utils/png_format_check.sh:
RGBA: 10247 RGB: 10 Gray+A: 256 Gray: 0 Index+A: 0 Index: 0 Other: 0
Overall statistics (only for files with a smaller recompressed size):
Original size: 128949 KiB on 9778 files
Optimized size: 125813 KiB
Total saving: 3135 KiB = 2% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 71209 KiB on 4533 files
Optimized size: 64830 KiB
Total saving: 6379 KiB = 8% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 6167 KiB on 142 files
Optimized size: 6068 KiB
Total saving: 98 KiB = 1% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 3539 KiB on 18 files
Optimized size: 3461 KiB
Total saving: 77 KiB = 2% decrease