Move several functions from the track follower into base classes
commite06965e85f22a1e507c1814e24aef503a2ae8f53
authorcirdan <cirdansw@gmail.com>
Sun, 19 May 2013 10:44:39 +0000 (19 12:44 +0200)
committercirdan <cirdansw@gmail.com>
Wed, 23 Oct 2013 21:11:19 +0000 (23 23:11 +0200)
treecc997aef837252be65200642f1b1fef47574188f
parent8d32e3b11e439d3206306bc029f794f55d3b1cbd
Move several functions from the track follower into base classes

Move CheckOldTile, CheckNewTile, TryReverse (renamed to
CheckEndOfLine), GetSpeedLimit and MaskReservedTracks from the
track follower class into the per-transport type base classes,
since there is little code to be shared among them, and also
add a new function CheckStation. This makes separation between
transport types clearer, and will allow for further improvements.
src/pathfinder/follow_track.hpp