X-Git-Url: http://git.tdb.fi/?p=r2c2.git;a=blobdiff_plain;f=source%2Flibr2c2%2Ftimetable.h;h=3d7622aeb918c8ac35462df46e28cdc105548964;hp=9ec804e0692d02834c72fa2de50bdb4fc6f0c795;hb=d990c03a06a494ce3596862ce61e2a5684dea7e1;hpb=8a2b5c1ac2fc07e280dc678165d2ca58f7d07e32 diff --git a/source/libr2c2/timetable.h b/source/libr2c2/timetable.h index 9ec804e..3d7622a 100644 --- a/source/libr2c2/timetable.h +++ b/source/libr2c2/timetable.h @@ -2,12 +2,12 @@ #define LIBR2C2_TIMETABLE_H_ #include +#include "trackchain.h" #include "trainai.h" namespace R2C2 { class Layout; -class TrackChain; class Timetable: public TrainAI { @@ -44,11 +44,13 @@ public: private: void block(unsigned); void time(Msp::Time::RawTime); - void zone(const std::string &, unsigned); + void zone(const std::string &); + void zone_numbered(const std::string &, unsigned); }; RowType type; TrackChain *target; + TrackChain::Direction direction; Msp::Time::TimeDelta time; Row();