X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibmarklin%2Fcatalogue.h;h=9a21c5ebadcc15c3e8f57b4257be9293af18891a;hb=e9653dffd0026fb3c02c91a4c0feca688a86c721;hp=524d3f2b56a6593cb82c859af044dfbf027838d9;hpb=6968273080fa2a1cbcfc506610d5f249299611e9;p=r2c2.git diff --git a/source/libmarklin/catalogue.h b/source/libmarklin/catalogue.h index 524d3f2..9a21c5e 100644 --- a/source/libmarklin/catalogue.h +++ b/source/libmarklin/catalogue.h @@ -15,7 +15,6 @@ Distributed under the GPL namespace Marklin { -class LocoType; class TrackType; class VehicleType; @@ -30,7 +29,6 @@ public: void ballast_profile(); void gauge(float); void layout(); - void locomotive(unsigned); void rail_profile(); void scale(float, float); void track(unsigned); @@ -56,6 +54,7 @@ public: float get_scale() const { return scale; } float get_gauge() const { return gauge; } + float get_rail_elevation() const; const Profile &get_rail_profile() const { return rail_profile; } const Profile &get_ballast_profile() const { return ballast_profile; } const Profile &get_path_profile() const { return path_profile; } @@ -66,7 +65,6 @@ public: void add_vehicle(VehicleType &); const VehicleType &get_vehicle(unsigned) const; - const LocoType &get_locomotive(unsigned) const; const std::map &get_vehicles() const { return vehicles; } Layout &get_layout() { return layout; }