PathFinder got some big changes (PathSearch)

This commit is contained in:
Bob
2009-11-08 16:51:44 +13:00
parent 8ae3c04212
commit 267e96f04c
5 changed files with 211 additions and 179 deletions

View File

@@ -146,10 +146,6 @@ namespace OpenRa.Game
public static double RenderTime = 0.0;
public static double TickTime = 0.0;
public static double OreTime = 0.0;
public static double PathToPathTime = 0.0;
public static double NormalPathTime = 0.0;
public static int PathToPathCount = 0;
public static int NormalPathCount = 0;
public static Stopwatch sw;
@@ -162,10 +158,6 @@ namespace OpenRa.Game
using (new PerfSample("tick_time"))
{
sw.Reset();
PathToPathTime = 0;
NormalPathTime = 0;
PathToPathCount = 0;
NormalPathCount = 0;
lastTime += timestep;
if (orderManager.Tick())