Add Astars pathing to ingame options (#124)

* Enabled astars pathing

* Add toggleable pathfinding choice to ingame options

You can choose between original and A* pathfinding algorithms
This commit is contained in:
Asdow
2023-02-15 11:49:04 +02:00
committed by GitHub
parent aa3e10cd29
commit 17a0a08097
16 changed files with 548 additions and 700 deletions
+2
View File
@@ -6575,6 +6575,7 @@ STR16 zOptionsToggleText[] =
L"Formation Movement", // when multiple mercs are selected, they will try to keep their relative distances
L"Show enemy location", // show locator on last known enemy location
L"Start at maximum aim",
L"Alternative pathfinding",
L"--Cheat Mode Options--", // TOPTION_CHEAT_MODE_OPTIONS_HEADER,
L"Force Bobby Ray Shipments", // force all pending Bobby Ray shipments
L"-----------------", // TOPTION_CHEAT_MODE_OPTIONS_END
@@ -6695,6 +6696,7 @@ STR16 zOptionsScreenHelpText[] =
L"When ON and multiple mercs are selected, they will try to keep their relative distances while moving.\n(press |C|t|r|l+|A|l|t+|G to toggle mode or |S|h|i|f|t + click to move in formation)",
L"When ON, shows last known enemy location.",
L"When ON, aiming at enemy will start at maximum aiming instead of default no aim",
L"When ON, Use A* pathfinding algorithm, instead of original",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_HEADER",
L"Force all pending Bobby Ray shipments",
L"(text not rendered)TOPTION_CHEAT_MODE_OPTIONS_END",