X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Ftimetable.h;h=75572490665ae80d66a670cc6f42131cdb68dcf6;hb=d6516b0d9faa26fe6c64000c34f8d820f91ac479;hp=9ec804e0692d02834c72fa2de50bdb4fc6f0c795;hpb=8a2b5c1ac2fc07e280dc678165d2ca58f7d07e32;p=r2c2.git diff --git a/source/libr2c2/timetable.h b/source/libr2c2/timetable.h index 9ec804e..7557249 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(); @@ -96,6 +98,7 @@ private: void update_route(); void event(TrainAI &, const Message &); void record_time(); + void clock_discontinuity(); }; } // namespace R2C2