1
0
Bifurcation 0

More data collection structure changes.

Cette révision appartient à :
Nathanial.C.Jones 2010-12-16 13:34:54 +00:00
Parent 9ea6f88143
révision f6710e075b
1 fichiers modifiés avec 3 ajouts et 3 suppressions

Voir le fichier

@ -19,9 +19,9 @@ local function GetRoute(currentname, endnode)
end
local route = ""
for j = 1, links - 1 do
if #route > 0 then route = route .. "@@" end
route = route .. string.format("%f:%f", TaxiGetDestX(endnode, j), TaxiGetDestY(endnode, j))
for j = 1, links - 1 do -- Why only the first n-1 links? Why not all? Research.
if #route > 0 then route = route .. "," end
route = route .. string.format("(%fr,%f)", TaxiGetDestX(endnode, j), TaxiGetDestY(endnode, j))
end
return path, route