"This unit is unknown for the moment. You must discover it in +the+ game
to be allowed to see its description."
Feel free to improve any ~english~ that I write :)
remove the spaces in parameters because some people use ~TC(1, magenta)
We also generally need robust image-paths modifications
because any add-on can (badly) use it in the add-on list
Now initialize and reset TC in titlescreen for add-ons and campaigns icons
(previously was only initialized after having played a game)
This also restore coloring for case like ~TC(not a playing side)
Seems to work fine but it's still work-in-progress. Things planned:
- Fix alphabetical sorting (for translated title sections)
- Capitalize race's names? And if yes, in cfg or by c++ ?
- choose a "no race" name when the race=... or [race] is missing
- Optimize and harmonize (maybe a slight overhead at the first help invocation)
* In help, for each ability and special weapon topic, display a list of
hyperlinks to encountered units having this ability/special (bug #9567)
also fix the ":nodebug" typo
* in help, the encountered units list is now correctly updated when using
":debug" and "nodebug" commands
* remove some useless messages from the standard output
Remove "started game: SDL_GetTicks()"
and the isplated "32" of (whatever bits-per-pixel you use)
other messages (normal or errors) alread give you the bpp used
...because the previous (-1,-1) is now used by the new border/corner.
This change fix a bug at corner with black-stripes spotted by uso.
It also clean some internal things (e.g. some units were placed hidden at the
map corner) and prevent any "adjacent to null_location" to give a valid result.
All seems ok, but it's remotely possible that some buggy pathfinding functions
(using gamemap::location()) causes problems if it badly start at (-1000,-1000)
...new button and slider to switch unit idle animations on and off and
set their frequency (adresses bug #9024), changes are applied only
after the next idle animation of a unit (and for new units), maybe we
need a loop over all units after a preference change
(it was using old terrain letters). Also removed the example from
MODIFY_TERRAIN_MASK (feel free to restore it if you want to figure out
how to write the mask in terrain strings).