]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/timetable.h
Also use TrackChains as target locations in Timetable
[r2c2.git] / source / libr2c2 / timetable.h
index b67e5fb3c2baa4761b639dae6a55e3902795e014..07250ca94a941376601ad0dafd4b7419c4daaba2 100644 (file)
@@ -7,7 +7,7 @@
 namespace R2C2 {
 
 class Layout;
-class Zone;
+class TrackChain;
 
 class Timetable: public TrainAI
 {
@@ -41,12 +41,13 @@ public:
                        Loader(Row &, Layout &);
 
                private:
-                       void zone(const std::string &, unsigned);
+                       void block(unsigned);
                        void time(Msp::Time::RawTime);
+                       void zone(const std::string &, unsigned);
                };
 
                RowType type;
-               Zone *zone;
+               TrackChain *target;
                Msp::Time::TimeDelta time;
 
                Row();