#include <map>
#include <msp/datafile/loader.h>
+#include "layout.h"
#include "profile.h"
namespace Marklin {
private:
void ballast_profile();
void gauge(float);
+ void layout();
void locomotive(unsigned);
void rail_profile();
void scale(float, float);
Profile ballast_profile;
std::map<unsigned, TrackType *> tracks;
std::map<unsigned, LocoType *> locos;
+ Layout layout;
public:
Catalogue();
const std::map<unsigned, TrackType *> &get_tracks() const { return tracks; }
LocoType &get_locomotive(unsigned) const;
const std::map<unsigned, LocoType *> &get_locomotives() const { return locos; }
+ Layout &get_layout() { return layout; }
};
} // namespace Marklin