-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Current work in progress on the "ElegantOrders" branch:
Bugs
In the current turn, new orders are unresolved but are not drawn black, but red

For some phases (seems to be adjustment?) there is a hard crash:
Features
-
Support fleets into coasts:
When any unit supports a fleet into a coast province, it will support to the center of the province.
For current turn orders; if the fleet can only move into one coast, it needs to support to that coast.
For resolved orders: if the fleet moved into a coast, it needs to support to that coast.
For resolved orders: if the fleet could have moved into only one coast, it needs to support to that coast.
For resolved orders; if the fleet could have moved into both coasts (e.g. Spain) and didn't, it needs to suppor to the province center.

-
Colliding moves
When two move (or support) orders collide, we need to move them apart so that you can see both moves.DONE
When there is one move order and two support orders, we only adjust one support order. Need to check if this is sufficient.

-
Dislodged state
This needs to be clearer which unit is dislodged.

-
Adjustment states
Need to update the build state to make them visually clearerDONE

Need to update the disband state to make them visually clearer.

-
Support Hold
Need a Support Hold marker and make support lines dashedDONE

Need a failed Support Hold marker
Challenge: Adjucator will say "OK" in resolution state, even if dislodged.
We need to check which is higher to include:
-- Count all support hold orders for this province
-- Count all move + their support orders (per different move origins!)

-
MoveViaConvoy orders (after adjucation)
--Needs to move through every fleet. Likely be transparent.
--Needs to calculate a logical path through fleets. Ideally through the center between two fleets if both could support.
-- Needs an update for supports - likely only last leg of the Convoy.
-- Needs an update if colliding (including supports) - likely only first and last legs of the Convoy.

-
Convoy orders
--A line from control point (fleet) to t=0.5 point of the curve.
--A reverse triangle on the fleet.

-
Convoy orders (before adjucation)
-- Need to have a straight line for MoveViaConvoy
-- Need to have a straight (transparent) line for the MoveViaConvoy order if current player is Convoying and doesn't know what the Moving order does. -
Failed orders:
Failed Hold.
Failed Convoy.
Failed MoveViaConvoy.