Stop using FindDepotData for road vehicles
commit83b144db29d0a25af6078278129f485c36874d01
authorcirdan <cirdansw@gmail.com>
Sun, 22 Dec 2013 22:29:23 +0000 (22 23:29 +0100)
committercirdan <cirdansw@gmail.com>
Sun, 22 Dec 2013 22:29:23 +0000 (22 23:29 +0100)
tree30fc97310d26916319198d056feda434f5ba97e0
parentf46f11aef944d9204ccd55f5de26859d76d4eda5
Stop using FindDepotData for road vehicles

Now that FindDepotData no longer has a best_length field, and
since road vehicles cannot reverse when looking for a depot,
a tile is all that is left for the road depot finder functions.
Remove the FindDepotData parameters from all of them, and make
them return the depot found as their normal return value.
src/pathfinder/npf/npf.cpp
src/pathfinder/npf/npf.h
src/pathfinder/yapf/yapf.h
src/pathfinder/yapf/yapf_road.cpp
src/roadveh_cmd.cpp