X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2F3d%2Fvehicletype.h;h=b779fa4292445c184f8e432cc05ff759be51635a;hb=e621dd4120cb253417167b4295e436cee095ccb0;hp=bef461c695befa7a3781983bd9a3918be9295ba8;hpb=37af7970d9cefcf40ae58ca06ca8469f56b0cc13;p=r2c2.git diff --git a/source/3d/vehicletype.h b/source/3d/vehicletype.h index bef461c..b779fa4 100644 --- a/source/3d/vehicletype.h +++ b/source/3d/vehicletype.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C23D_VEHICLETYPE_H_ #define LIBR2C23D_VEHICLETYPE_H_ @@ -19,7 +12,7 @@ class Catalogue3D; class VehicleType3D { private: - const Catalogue3D &catalogue; + Catalogue3D &catalogue; const VehicleType &type; std::map objects; Msp::GL::Object *body_object; @@ -28,11 +21,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;