mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-12 04:15:59 +00:00
pathfinding change: the engine uses Triangulation and A* on triangles now. dcdt package added. premake.lua changed to include the dcdt code. it needs to run update-workspaces.bat (flag -showOverlay will draw the triangulation and a single unit paths)
This was SVN commit r5393.
This commit is contained in:
@@ -663,7 +663,10 @@ bool CEntity::ProcessGotoWaypoint( CEntityOrder* current, size_t UNUSED(timestep
|
||||
|
||||
ChooseMovementSpeed( Distance );
|
||||
|
||||
g_Pathfinder.RequestLowLevelPath( me, path_to, contact, pathfinder_radius, source );
|
||||
//Kai: invoking triangulation pathfinding function instead
|
||||
//g_Pathfinder.RequestLowLevelPath( me, path_to, contact, pathfinder_radius, source );
|
||||
|
||||
g_Pathfinder.RequestTriangulationPath( me, path_to, contact, pathfinder_radius, source );
|
||||
|
||||
return( true );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user