]> git.tdb.fi Git - r2c2.git/blobdiff - source/libmarklin/block.h
Change terminology to better distinguish routes on the layout from paths across track...
[r2c2.git] / source / libmarklin / block.h
index 770a3520289227830b37d40df45ce1d12ca83cc8..64f02e50b7babe2242de6dd9d023b0e1075862f9 100644 (file)
@@ -25,7 +25,7 @@ public:
                Track *track;
                unsigned track_ep;
                Block *link;
-               unsigned routes;
+               unsigned paths;
 
                Endpoint(Track *, unsigned);
        };
@@ -54,7 +54,7 @@ public:
        const Train *get_train() const { return train; }
        void print_debug();
 private:
-       void find_routes(Track &, unsigned, unsigned, std::set<Track *> &);
+       void find_paths(Track &, unsigned, unsigned, std::set<Track *> &);
 
        static unsigned next_id;
 };