#include <msp/datafile/objectloader.h>
#include "articlenumber.h"
#include "layout.h"
-#include "profile.h"
+#include "trackappearance.h"
namespace R2C2 {
public:
Loader(Catalogue &);
private:
- void ballast_profile();
void gauge(float);
void layout();
- void rail_profile();
void scale(float, float);
void signal(ArticleNumber);
+ void terrain(ArticleNumber);
void track(ArticleNumber);
+ void track_appearance();
void vehicle(ArticleNumber);
};
private:
float scale;
float gauge;
- Profile rail_profile;
- Profile ballast_profile;
- std::string track_technique;
+ TrackAppearance appearance;
ObjectMap objects;
Layout layout;
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 std::string &get_track_technique() const { return track_technique; }
void add(ObjectType &);
const ObjectType &get(const ArticleNumber &) const;