The bookmarks bar holds predefined bookmarks (as in the stuff
src/desktop/paths.hpp exposes) and allows users to easily browse to them
in a single click. It will eventually be possible for the user to add or
remove custom bookmarks as well.
I might add a method to disable specific irrelevant bookmarks later, not
sure (e.g. nobody cares about the preferences dir when trying to find
wesnothd).
The background is kept in a separate image and the two layers will be blitted together at runtime.
This is to simplify any future needs regarding changes to the text or the background logo, without
having to re-render the whole thing.
Overall statistics (only for files with a smaller recompressed size):
Original size: 14370 KiB on 172 files
Optimized size: 12855 KiB
Total saving: 1514 KiB = 10% decrease
I had to rename these ellipses to make them compatible with the IS_HERO macro as well. This way, a user can assign a ellipse with the usual ellipse=misc/ellipse-hero, and when a unit loses its ZoC, it'll be updated accordingly. Leaving the file names as they were wasn't a good solution, because it required a way to split the ellipse-hero string to insert the nozoc- part.
With this solution, no WML change is required; however, we may want to add a wmllint rule to warn UMC authors if they have a ellipse= key in their unit cfgs.
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
The icon bases are meant for use with the terrain type icons and unit profile icons.
Team color-able hexes offer a flexible alternative to single-color cursor components.
A set of color ranges specifically tailored for terrain type icons has been added to team-colors.cfg. Each color range is named after the base terrain type it corresponds to.
Overall statistics (only for files with a smaller recompressed size):
Original size: 116 KiB on 23 files
Optimized size: 111 KiB
Total saving: 5 KiB = 4% decrease
Overall statistics (only for files with a smaller recompressed size):
Original size: 423 KiB on 192 files
Optimized size: 216 KiB
Total saving: 207 KiB = 48% decrease