X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fvehicletype.h;h=f65a1d6f66ad8395efd7e8a0caaf47e017a1d956;hb=6c2b29fb45402ee86b010f05367dad20972d25ed;hp=bef461c695befa7a3781983bd9a3918be9295ba8;hpb=37af7970d9cefcf40ae58ca06ca8469f56b0cc13;p=r2c2.git diff --git a/source/3d/vehicletype.h b/source/3d/vehicletype.h index bef461c..f65a1d6 100644 --- a/source/3d/vehicletype.h +++ b/source/3d/vehicletype.h @@ -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 */ @@ -19,7 +19,7 @@ class Catalogue3D; class VehicleType3D { private: - const Catalogue3D &catalogue; + Catalogue3D &catalogue; const VehicleType &type; std::map objects; Msp::GL::Object *body_object; @@ -28,11 +28,11 @@ private: std::vector rod_objects; public: - VehicleType3D(const Catalogue3D &, const VehicleType &); + VehicleType3D(Catalogue3D &, const VehicleType &); ~VehicleType3D(); const Msp::GL::Object *get_body_object() const { return body_object; } - const Msp::GL::Object *get_axle_object(unsigned) const; + const Msp::GL::Object *get_fixed_axle_object(unsigned) const; const Msp::GL::Object *get_bogie_object(unsigned) const; const Msp::GL::Object *get_bogie_axle_object(unsigned, unsigned) const; const Msp::GL::Object *get_rod_object(unsigned) const;