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:
kai
2007-10-09 07:27:45 +00:00
parent 4b7713fd94
commit e595dbc88e
210 changed files with 44266 additions and 22 deletions
+4 -1
View File
@@ -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 );
}