if you click end turn immediately after your turn is started. It
triggers if you haven't made any interative actions between the start
of your turn and clicking 'end turn'
* Added a "search" action, which searches labels and unit names
(unit::description()) for the string you type. Case sensitive. Triggered by the
"/" key. Hitting enter at the enter-search-term dialog repeats the
previous search. Searches labels first, then units.
* Fixed a problem with the conditions for displaying the "continue move" action
in the context menu (it was checking things properly in
turn_info::continue_move(), but not in can_execute_command(...)). This caused
"Continue Move" to appear to be a valid option, but clicking it would have no
affect.
"Show Enemy Moves" and "Best Possible Enemy Moves" won't show up in
the context menu now if there are no enemies visible. Whether any
enemies are visible or not is cached on turn_info, and recomputed
every time turn_info::clear_shroud() is called.
This change has no effect on maps that don't use shroud or fog.
There are four parts to this patch:
1) add the action to the usual places 2) add a gamemap::location to class unit,
which stores the location we were trying to move to, 3) clear this
location on end-of-turn, or if the unit moves again this turn, and 4)
if a move is interrupted, reslect the unit's hex.
The new hotkey is 't'. To use this feature, select a unit that had its
move interrupted by seeing allies/enemies, and right click >> "Continue
Move", or press the 't' key.
* Added toggleable action support to hotkey.[c|h]pp & playturn.[c|h]pp.
* Actions can now have images associated with them.
* Toggleable menu items use the checkbox graphics.
* Fixed some of the trivial warnings (newlines, double 0.0 constants where integer 0 required)
...updating the fog/shroud, so the moves can be undone. The player can
commit the moves, forcing the fog/shroud to update, but then the moves
can no longer be undone. Useful to make fog/shroud maps behave more
like normal maps, with respect to move undoing.
* Added new function turn_info::in_context_menu(HOTKEY_COMMAND) - this
function returns true if the given command should be present in the
context menu. This gives the option of providing more context sensitive
right-click menus without changing can_execute_command (and thereby
breaking hotkeys).
* RECRUIT, REPEAT_RECRUIT, and RECALL actions were changed to be
hidden in the context menu unless you right click on a castle/keep
hex. Hotkeys and the main menu are unaffected.
- added randomization of temples in Muff Malal's peninsula
- made it so in MP games, players can receive labels and messages while it's their turn
- added patch to 'show possible enemy moves'
- added new status image for illuminated underground
- made Li'sar start at level 2 and be upgradeable to level 3
- made it so users in lobby can see minimap of non-shroud games being played
- made it so the 'observer' setting is respected for multiplayer games
- made it so that the number of available positions in a game is shown
in the lobby
- made it so the current turn of a game underway is shown in the lobby
- made the 'eye of the observer' work, allowing players to see who is
observing their game. (only updates when it's a network player's
turn)