(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)
* if animations are jumpy, this should be the first suspect
* slowing down on hard to cross tiles has been removed as discussed on
IRC
* i'm not satisfied with that completely yet, expect some more work
here...
This meet a frequent FR for displaying only simple tips for beginners
and later show more advanced ones. The key accept number (at least N
units) and list of id (at least one of them) and you can mix it
("Troll,30"), using a OR base.
This allow to show very specific tip (e.g. teleport) only after having
encountered units with this abilities. You can also use
campaign-specific units to detect if already played and so maybe make
reference about it.
The idea is to better show the end-of-turn rules to beginners (or special case)
- Use red color for end of turn caused by ZoC
- Use bracketed number for end of turn caused by village capture
- Remove the old parentheses (a relic from the "all in one line" times)
- Also display turn to reach > 9, we have enough space now
- Don't use "1" just because no MP left (on rough terrains, you can
have only 1 MP left, so be forced to end your turn there and a missing
"1" is misleading) PS: we can also display this by using other clues
(images, etc..), but like this it's stay simple (more info with only
one number)
No regression expected. if anything changes, please tell me.
Note that:
* Fire and forget doesn't work yet, don't try using it
* I will probably change how mvt anims work as discussed in IRC, but
that's for a future commit
Clicking on the icon open/close the section, clicking on the title of
a section open its associated page, double click on the title do both
actions.
Most section have now a basic generated contents, but we can WML-add
text (like for abilities. Weapons specials probably need this) and
maybe later use specialized contents with a short additional info or
image near the links.
PS: Units section-pages not done yet, and some details to fix about
the icon (fast clicks sometimes doubled, and do we allow click at left
of the icon ?)
It could cause OOS errors when undoing a recruit if recruit was send
over the network and the undo not. Since it's rarely possible the
option has entirely been removed. This will also make it easier to get
random properly working everywhere in MP.