-/* $Id$
-
-This file is part of R²C²
-Copyright © 2006-2010 Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
#include <msp/core/refptr.h>
#include <msp/datafile/parser.h>
#include "catalogue.h"
add("scale", &Loader::scale);
add("track", static_cast<void (Loader::*)(unsigned)>(&Loader::track));
add("track", static_cast<void (Loader::*)(ArticleNumber)>(&Loader::track));
+ add("track_technique", &Catalogue::track_technique);
add("vehicle", static_cast<void (Loader::*)(unsigned)>(&Loader::vehicle));
add("vehicle", static_cast<void (Loader::*)(ArticleNumber)>(&Loader::vehicle));
}
{
obj.gauge = g/1000;
obj.path_profile = Profile();
- obj.path_profile.append_point(Point(0.1*obj.gauge, 0));
- obj.path_profile.append_point(Point(-0.1*obj.gauge, 0));
+ obj.path_profile.append_vertex(Vector(0.1*obj.gauge, 0), false);
+ obj.path_profile.append_vertex(Vector(-0.1*obj.gauge, 0), false);
}
void Catalogue::Loader::layout()