X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Flayout.h;h=f0a292f580e9847507a57f3acb49c64d175b54eb;hb=34f8bf04e4bdffefeceea59b186386b51c542b9d;hp=8c143ac3d79b0a6508ce8fbba5ed50cda37eb4bd;hpb=6010ad6857ce5690f4053bf8795f2c476daa4694;p=r2c2.git diff --git a/source/libr2c2/layout.h b/source/libr2c2/layout.h index 8c143ac..f0a292f 100644 --- a/source/libr2c2/layout.h +++ b/source/libr2c2/layout.h @@ -1,7 +1,7 @@ /* $Id$ This file is part of R²C² -Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa +Copyright © 2006-2011 Mikkosoft Productions, Mikko Rasa Distributed under the GPL */ @@ -22,6 +22,7 @@ class Driver; class Route; class Track; class Train; +class Vector; class Vehicle; class Zone; @@ -87,6 +88,7 @@ public: void add_track(Track &); const std::set &get_tracks() const { return tracks; } + Track *pick_track(const Vector &, const Vector &); void remove_track(Track &); unsigned allocate_turnout_id();