Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding smart "Goto" #491

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Adding smart "Goto" #491

wants to merge 15 commits into from

Conversation

EnockNitti
Copy link

Using AStar algorithm for land and sea units. Trireme treated as a special case.
Avoiding enemy units when pathfinding.
Canceling "goto" when meeting enemy.
Addning "smart goto" to debugmenu

Fix of a problem with fortified units when loading old saved games.

Using AStar  algorithm for land and sea units.  Trireme treated as a special case.
Avoiding enemy units when pathfinding.
Canceling "goto" when meeting enemy.
Addning "smart goto" to debugmenu

Fix of a problem with  fortified units when loading old saved games.
Some more fiddeling with smart "goto"
Added automatic refueling of air units if goto is out of range ( if suitable cities/carriers available )
Common.DistanceToTile  did not gave correct distance at "DateLine"
The RLE Encode() function was adding an RLE_ESCAPE after repeat count if RLE_REPEAT == repeat count .
Very unusual event, but when it happened the map file was corrupted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant