Unciv/android/Images.Construction/UnitActionIcons
Will Allen 8363078371
Connect roads automation (#10631)
* Start on road connect feature.

* Rough UI and tile highlighting

- Highlight visible tiles for selected unit red
-- Maybe change this to all explored tiles
- Move action firing inside WorldMapHolder
- Set begin and end tiles

* Serialize Vector2 instead of Tile

* Add road icon

* Much better UI handling

- Tile highlights go away after choosing a tile
- Added restrictions to allowed tile destination choices.
    - Explored
    - Land
    - Passable
- Added two-tap button

* Refactor part of `onTileClicked` for readability

* Band-aid fix null pointer error

* Add RoadConnection icon

* Tentatively working connect road feature

* AStar search implementation

* AStar connect road automation

* Fix worker getting stuck in city tiles

* Heuristic should be between tiles

* Add heuristic to road connect, remove maxSize limit

* Fix predicates

* Cancel automation when worker is force moved off path

* Change valid/highlighted tiles to be friendly or neutral

* Put log back the way it was

* Fix behavior when kicked off path

* Worker no longer wastes movement points

* Workers will progress multiple tiles at a time towards the next build destination.

* Respect civs with certain tiles as roads

* Refractor ForceAutomateRoadConnection -> AutomateRoadConnection

* Connect road UI button only shows for units with UniqueType.BuildImprovements

* Connect road UI button only show when road tech is unlocked

* Add wagon sound

* Fix destination icon, add KeyboardBinding to 'c'

* UI highlight connect road path tiles orange

* Downsample wagon.mp3

* Apply migration patch, idiomatic sequence processing

* Add notifications on success and failure

* Extract movement cost function to be reusable

* Refactor road pathfinding into MapPathing.kt

* Make pathing calls more general for future extendability

* Add UI road connection tile path preview

* Keep road path highlighting when routing to a city tile

* Adjust road pathing cost function

* Path includes pillaged roads

* Repair pillaged roads along path

* Valid road path tiles now include all passable tiles (open borders)
2023-12-07 09:15:12 +02:00
..
AddInCapital.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
AirSweep.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Automate.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
ConductTradeMission.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
ConstructImprovement.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
DisbandUnit.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
EnhanceReligion.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Explore.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Fortify.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
FortifyUntilHealed.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
FoundCity.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
FoundReligion.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
HideMore.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
HurryConstruction.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
HurryResearch.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
MoveTo.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Paradrop.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Pillage.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Present.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Promote.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
RemoveHeresy.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Repair.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
RoadConnection.png Connect roads automation (#10631) 2023-12-07 09:15:12 +02:00
SetUp.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
ShowMore.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Sleep.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Star.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
StartGoldenAge.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Stop.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
StopMove.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Swap.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Transform.png Add Transform Action for mods (#8120) 2023-01-14 20:43:48 +02:00
Upgrade.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00
Wait.png Resolved #8350 - unit icons no longer overlap unit action images, improved render time for unit images 2023-01-09 23:30:23 +02:00