Files
@ r24096:cb8e221271af
Branch filter:
Location: cpp/openttd-patchpack/source/src/script/api/game/game_stationlist.hpp.sq - annotation
r24096:cb8e221271af
9.2 KiB
text/plain
Change: Heading for 1.11 now
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r21750:39b1b1a11c25 r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a r18757:638de582f61a | /*
* 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 <http://www.gnu.org/licenses/>.
*/
/* THIS FILE IS AUTO-GENERATED; PLEASE DO NOT ALTER MANUALLY */
#include "../script_stationlist.hpp"
#include "../template/template_stationlist.hpp.sq"
template <> const char *GetClassName<ScriptStationList, ST_GS>() { return "GSStationList"; }
void SQGSStationList_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList, ST_GS> SQGSStationList("GSStationList");
SQGSStationList.PreRegister(engine, "GSList");
SQGSStationList.AddConstructor<void (ScriptStationList::*)(ScriptStation::StationType station_type), 2>(engine, "xi");
SQGSStationList.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_Cargo, ST_GS>() { return "GSStationList_Cargo"; }
void SQGSStationList_Cargo_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_Cargo, ST_GS> SQGSStationList_Cargo("GSStationList_Cargo");
SQGSStationList_Cargo.PreRegister(engine, "GSList");
SQGSStationList_Cargo.AddConstructor<void (ScriptStationList_Cargo::*)(ScriptStationList_Cargo::CargoMode mode, ScriptStationList_Cargo::CargoSelector selector, StationID station_id, CargoID cargo, StationID other_station), 6>(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<ScriptStationList_CargoWaiting, ST_GS>() { return "GSStationList_CargoWaiting"; }
void SQGSStationList_CargoWaiting_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoWaiting, ST_GS> SQGSStationList_CargoWaiting("GSStationList_CargoWaiting");
SQGSStationList_CargoWaiting.PreRegister(engine, "GSStationList_Cargo");
SQGSStationList_CargoWaiting.AddConstructor<void (ScriptStationList_CargoWaiting::*)(ScriptStationList_Cargo::CargoSelector selector, StationID station_id, CargoID cargo, StationID other_station), 5>(engine, "xiiii");
SQGSStationList_CargoWaiting.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoPlanned, ST_GS>() { return "GSStationList_CargoPlanned"; }
void SQGSStationList_CargoPlanned_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoPlanned, ST_GS> SQGSStationList_CargoPlanned("GSStationList_CargoPlanned");
SQGSStationList_CargoPlanned.PreRegister(engine, "GSStationList_Cargo");
SQGSStationList_CargoPlanned.AddConstructor<void (ScriptStationList_CargoPlanned::*)(ScriptStationList_Cargo::CargoSelector selector, StationID station_id, CargoID cargo, StationID other_station), 5>(engine, "xiiii");
SQGSStationList_CargoPlanned.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoWaitingByFrom, ST_GS>() { return "GSStationList_CargoWaitingByFrom"; }
void SQGSStationList_CargoWaitingByFrom_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoWaitingByFrom, ST_GS> SQGSStationList_CargoWaitingByFrom("GSStationList_CargoWaitingByFrom");
SQGSStationList_CargoWaitingByFrom.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingByFrom.AddConstructor<void (ScriptStationList_CargoWaitingByFrom::*)(StationID station_id, CargoID cargo), 3>(engine, "xii");
SQGSStationList_CargoWaitingByFrom.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoWaitingViaByFrom, ST_GS>() { return "GSStationList_CargoWaitingViaByFrom"; }
void SQGSStationList_CargoWaitingViaByFrom_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoWaitingViaByFrom, ST_GS> SQGSStationList_CargoWaitingViaByFrom("GSStationList_CargoWaitingViaByFrom");
SQGSStationList_CargoWaitingViaByFrom.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingViaByFrom.AddConstructor<void (ScriptStationList_CargoWaitingViaByFrom::*)(StationID station_id, CargoID cargo, StationID via), 4>(engine, "xiii");
SQGSStationList_CargoWaitingViaByFrom.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoWaitingByVia, ST_GS>() { return "GSStationList_CargoWaitingByVia"; }
void SQGSStationList_CargoWaitingByVia_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoWaitingByVia, ST_GS> SQGSStationList_CargoWaitingByVia("GSStationList_CargoWaitingByVia");
SQGSStationList_CargoWaitingByVia.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingByVia.AddConstructor<void (ScriptStationList_CargoWaitingByVia::*)(StationID station_id, CargoID cargo), 3>(engine, "xii");
SQGSStationList_CargoWaitingByVia.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoWaitingFromByVia, ST_GS>() { return "GSStationList_CargoWaitingFromByVia"; }
void SQGSStationList_CargoWaitingFromByVia_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoWaitingFromByVia, ST_GS> SQGSStationList_CargoWaitingFromByVia("GSStationList_CargoWaitingFromByVia");
SQGSStationList_CargoWaitingFromByVia.PreRegister(engine, "GSStationList_CargoWaiting");
SQGSStationList_CargoWaitingFromByVia.AddConstructor<void (ScriptStationList_CargoWaitingFromByVia::*)(StationID station_id, CargoID cargo, StationID from), 4>(engine, "xiii");
SQGSStationList_CargoWaitingFromByVia.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoPlannedByFrom, ST_GS>() { return "GSStationList_CargoPlannedByFrom"; }
void SQGSStationList_CargoPlannedByFrom_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoPlannedByFrom, ST_GS> SQGSStationList_CargoPlannedByFrom("GSStationList_CargoPlannedByFrom");
SQGSStationList_CargoPlannedByFrom.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedByFrom.AddConstructor<void (ScriptStationList_CargoPlannedByFrom::*)(StationID station_id, CargoID cargo), 3>(engine, "xii");
SQGSStationList_CargoPlannedByFrom.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoPlannedViaByFrom, ST_GS>() { return "GSStationList_CargoPlannedViaByFrom"; }
void SQGSStationList_CargoPlannedViaByFrom_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoPlannedViaByFrom, ST_GS> SQGSStationList_CargoPlannedViaByFrom("GSStationList_CargoPlannedViaByFrom");
SQGSStationList_CargoPlannedViaByFrom.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedViaByFrom.AddConstructor<void (ScriptStationList_CargoPlannedViaByFrom::*)(StationID station_id, CargoID cargo, StationID via), 4>(engine, "xiii");
SQGSStationList_CargoPlannedViaByFrom.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoPlannedByVia, ST_GS>() { return "GSStationList_CargoPlannedByVia"; }
void SQGSStationList_CargoPlannedByVia_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoPlannedByVia, ST_GS> SQGSStationList_CargoPlannedByVia("GSStationList_CargoPlannedByVia");
SQGSStationList_CargoPlannedByVia.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedByVia.AddConstructor<void (ScriptStationList_CargoPlannedByVia::*)(StationID station_id, CargoID cargo), 3>(engine, "xii");
SQGSStationList_CargoPlannedByVia.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_CargoPlannedFromByVia, ST_GS>() { return "GSStationList_CargoPlannedFromByVia"; }
void SQGSStationList_CargoPlannedFromByVia_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_CargoPlannedFromByVia, ST_GS> SQGSStationList_CargoPlannedFromByVia("GSStationList_CargoPlannedFromByVia");
SQGSStationList_CargoPlannedFromByVia.PreRegister(engine, "GSStationList_CargoPlanned");
SQGSStationList_CargoPlannedFromByVia.AddConstructor<void (ScriptStationList_CargoPlannedFromByVia::*)(StationID station_id, CargoID cargo, StationID from), 4>(engine, "xiii");
SQGSStationList_CargoPlannedFromByVia.PostRegister(engine);
}
template <> const char *GetClassName<ScriptStationList_Vehicle, ST_GS>() { return "GSStationList_Vehicle"; }
void SQGSStationList_Vehicle_Register(Squirrel *engine)
{
DefSQClass<ScriptStationList_Vehicle, ST_GS> SQGSStationList_Vehicle("GSStationList_Vehicle");
SQGSStationList_Vehicle.PreRegister(engine, "GSList");
SQGSStationList_Vehicle.AddConstructor<void (ScriptStationList_Vehicle::*)(VehicleID vehicle_id), 2>(engine, "xi");
SQGSStationList_Vehicle.PostRegister(engine);
}
|