Introduce PathMPos::set_trackdirs
commitdd9607c507e4983df5716abc9abe5389b86a3a29
authorcirdan <cirdansw@gmail.com>
Sat, 11 Jan 2014 07:05:38 +0000 (11 08:05 +0100)
committercirdan <cirdansw@gmail.com>
Sat, 11 Jan 2014 07:05:38 +0000 (11 08:05 +0100)
tree9b1c6f6c2d91191b30b677f0b93bf5c93f96f464
parentf1452139616f2e1f4d079f83702db992d04912df
Introduce PathMPos::set_trackdirs

Introduce a method PathMPos::set_trackdirs to set trackdirs in a
PathMPos to a given set, and set td accordingly. This means that
PathMPos::SetTrackdir is no longer required, and thus removed.
Also fix a comment in the description of PathMPos.
src/pathfinder/follow_track.hpp
src/pathfinder/pos.h
src/pbs.cpp
src/train_cmd.cpp