X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fblock.h;h=bdbcc3f3eb0ed2687a6d09e6e5d743782cef5ce9;hb=3e9c210ddc036cd015228504cc0803c909e27f84;hp=076637240a21835c2579a269ef1fa05aba0503ab;hpb=1d735b80482317fd930eb47ca255ab9f1f120a7d;p=r2c2.git diff --git a/source/libmarklin/block.h b/source/libmarklin/block.h index 0766372..bdbcc3f 100644 --- a/source/libmarklin/block.h +++ b/source/libmarklin/block.h @@ -1,3 +1,10 @@ +/* $Id$ + +This file is part of the MSP Märklin suite +Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa +Distributed under the GPL +*/ + #ifndef MARKLIN_3D_BLOCK_H_ #define MARKLIN_3D_BLOCK_H_ @@ -38,7 +45,7 @@ public: const std::set &get_tracks() const { return tracks; } const std::vector &get_endpoints() const { return endpoints; } int get_endpoint_by_link(const Block &) const; - int traverse(unsigned) const; + int traverse(unsigned, float * =0) const; void check_link(Block &); Block *get_link(unsigned) const; bool reserve(const Train *);