]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/layout.h
Remove a queued block reservation if the block is released
[r2c2.git] / source / libr2c2 / layout.h
index 2488f9371aa98c08a284daadc29bae40d976c05d..e06d4fb04f50d8ccb1e581a363e2dce18d13d91a 100644 (file)
@@ -72,7 +72,7 @@ private:
 
        struct BlockReservation
        {
-               Block █
+               Block *block;
                Train *train;
 
                BlockReservation(Block &, Train *);
@@ -151,7 +151,7 @@ public:
        const std::map<unsigned, Train *> &get_trains() const { return trains; }
        void remove_train(Train &);
 
-       void tick();
+       void tick(float = 1.0f);
 private:
        void step(const Msp::Time::TimeDelta &);
 public: