]> git.tdb.fi Git - r2c2.git/blobdiff - source/3d/catalogue.h
Add a vehicle property for swapping directions
[r2c2.git] / source / 3d / catalogue.h
index caf104e5ef146bcb9ec844dd963037bf41294ab7..f147b7822bc70d1aefd120e5291ecb73861004cd 100644 (file)
@@ -1,7 +1,7 @@
 /* $Id$
 
 This file is part of R²C²
-Copyright © 2010 Mikkosoft Productions, Mikko Rasa
+Copyright © 2010-2011  Mikkosoft Productions, Mikko Rasa
 Distributed under the GPL
 */
 
@@ -25,8 +25,6 @@ private:
        Catalogue &catalogue;
        std::map<const TrackType *, TrackType3D *> tracks;
        std::map<const VehicleType *, VehicleType3D *> vehicles;
-       Msp::GL::Material ballast_material;
-       Msp::GL::Material rail_material;
        Msp::GL::Mesh endpoint_mesh;
 
 public:
@@ -36,8 +34,6 @@ public:
        const Catalogue &get_catalogue() const { return catalogue; }
        const TrackType3D &get_track(const TrackType &) const;
        const VehicleType3D &get_vehicle(const VehicleType &) const;
-       const Msp::GL::Material &get_ballast_material() const { return ballast_material; }
-       const Msp::GL::Material &get_rail_material() const { return rail_material; }
        const Msp::GL::Mesh &get_endpoint_mesh() const { return endpoint_mesh; }
 private:
        void track_added(const TrackType &);