/* $Id$ */
/*
* This file is part of OpenTTD.
* OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
* OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see .
*/
/* THIS FILE IS AUTO-GENERATED; PLEASE DO NOT ALTER MANUALLY */
#include "../script_stationlist.hpp"
#include "../template/template_stationlist.hpp.sq"
template <> const char *GetClassName() { return "GSStationList"; }
void SQGSStationList_Register(Squirrel *engine)
{
DefSQClass SQGSStationList("GSStationList");
SQGSStationList.PreRegister(engine, "GSList");
SQGSStationList.AddConstructor(engine, "xi");
SQGSStationList.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_Cargo"; }
void SQGSStationList_Cargo_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_Cargo("GSStationList_Cargo");
SQGSStationList_Cargo.PreRegister(engine, "GSList");
SQGSStationList_Cargo.AddConstructor(engine, "xiiiii");
SQGSStationList_Cargo.DefSQConst(engine, ScriptStationList_Cargo::CS_BY_FROM, "CS_BY_FROM");
SQGSStationList_Cargo.DefSQConst(engine, ScriptStationList_Cargo::CS_VIA_BY_FROM, "CS_VIA_BY_FROM");
SQGSStationList_Cargo.DefSQConst(engine, ScriptStationList_Cargo::CS_BY_VIA, "CS_BY_VIA");
SQGSStationList_Cargo.DefSQConst(engine, ScriptStationList_Cargo::CS_FROM_BY_VIA, "CS_FROM_BY_VIA");
SQGSStationList_Cargo.DefSQConst(engine, ScriptStationList_Cargo::CM_WAITING, "CM_WAITING");
SQGSStationList_Cargo.DefSQConst(engine, ScriptStationList_Cargo::CM_PLANNED, "CM_PLANNED");
SQGSStationList_Cargo.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoWaiting"; }
void SQGSStationList_CargoWaiting_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoWaiting("GSStationList_CargoWaiting");
SQGSStationList_CargoWaiting.PreRegister(engine, "GSStationList_Cargo");
SQGSStationList_CargoWaiting.AddConstructor(engine, "xiiii");
SQGSStationList_CargoWaiting.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoPlanned"; }
void SQGSStationList_CargoPlanned_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoPlanned("GSStationList_CargoPlanned");
SQGSStationList_CargoPlanned.PreRegister(engine, "GSStationList_Cargo");
SQGSStationList_CargoPlanned.AddConstructor(engine, "xiiii");
SQGSStationList_CargoPlanned.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoWaitingByFrom"; }
void SQGSStationList_CargoWaitingByFrom_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoWaitingByFrom("GSStationList_CargoWaitingByFrom");
SQGSStationList_CargoWaitingByFrom.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingByFrom.AddConstructor(engine, "xii");
SQGSStationList_CargoWaitingByFrom.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoWaitingViaByFrom"; }
void SQGSStationList_CargoWaitingViaByFrom_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoWaitingViaByFrom("GSStationList_CargoWaitingViaByFrom");
SQGSStationList_CargoWaitingViaByFrom.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingViaByFrom.AddConstructor(engine, "xiii");
SQGSStationList_CargoWaitingViaByFrom.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoWaitingByVia"; }
void SQGSStationList_CargoWaitingByVia_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoWaitingByVia("GSStationList_CargoWaitingByVia");
SQGSStationList_CargoWaitingByVia.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingByVia.AddConstructor(engine, "xii");
SQGSStationList_CargoWaitingByVia.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoWaitingFromByVia"; }
void SQGSStationList_CargoWaitingFromByVia_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoWaitingFromByVia("GSStationList_CargoWaitingFromByVia");
SQGSStationList_CargoWaitingFromByVia.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingFromByVia.AddConstructor(engine, "xiii");
SQGSStationList_CargoWaitingFromByVia.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoPlannedByFrom"; }
void SQGSStationList_CargoPlannedByFrom_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoPlannedByFrom("GSStationList_CargoPlannedByFrom");
SQGSStationList_CargoPlannedByFrom.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedByFrom.AddConstructor(engine, "xii");
SQGSStationList_CargoPlannedByFrom.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoPlannedViaByFrom"; }
void SQGSStationList_CargoPlannedViaByFrom_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoPlannedViaByFrom("GSStationList_CargoPlannedViaByFrom");
SQGSStationList_CargoPlannedViaByFrom.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedViaByFrom.AddConstructor(engine, "xiii");
SQGSStationList_CargoPlannedViaByFrom.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoPlannedByVia"; }
void SQGSStationList_CargoPlannedByVia_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoPlannedByVia("GSStationList_CargoPlannedByVia");
SQGSStationList_CargoPlannedByVia.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedByVia.AddConstructor(engine, "xii");
SQGSStationList_CargoPlannedByVia.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_CargoPlannedFromByVia"; }
void SQGSStationList_CargoPlannedFromByVia_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_CargoPlannedFromByVia("GSStationList_CargoPlannedFromByVia");
SQGSStationList_CargoPlannedFromByVia.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedFromByVia.AddConstructor(engine, "xiii");
SQGSStationList_CargoPlannedFromByVia.PostRegister(engine);
}
template <> const char *GetClassName() { return "GSStationList_Vehicle"; }
void SQGSStationList_Vehicle_Register(Squirrel *engine)
{
DefSQClass SQGSStationList_Vehicle("GSStationList_Vehicle");
SQGSStationList_Vehicle.PreRegister(engine, "GSList");
SQGSStationList_Vehicle.AddConstructor(engine, "xi");
SQGSStationList_Vehicle.PostRegister(engine);
}