]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/timetable.h
Allow direction to be specified for routing waypoints
[r2c2.git] / source / libr2c2 / timetable.h
index 9ec804e0692d02834c72fa2de50bdb4fc6f0c795..17a418ebab2b7c4da358a7a0e5fd78623b67936a 100644 (file)
@@ -2,12 +2,12 @@
 #define LIBR2C2_TIMETABLE_H_
 
 #include <msp/datafile/objectloader.h>
+#include "trackchain.h"
 #include "trainai.h"
 
 namespace R2C2 {
 
 class Layout;
-class TrackChain;
 
 class Timetable: public TrainAI
 {
@@ -49,6 +49,7 @@ public:
 
                RowType type;
                TrackChain *target;
+               TrackChain::Direction direction;
                Msp::Time::TimeDelta time;
 
                Row();