Searched refs:SourceStation (Results 1 – 5 of 5) sorted by relevance
/dports/games/openttd/openttd-12.1/src/ |
H A D | cargoaction.cpp | 199 StationID next = this->ge->GetVia(cp_new->SourceStation(), this->avoid, this->avoid2); in operator ()() 223 cp->SetNextStation(this->ge->GetVia(cp_new->SourceStation(), this->avoid, this->avoid2)); in operator ()()
|
H A D | cargopacket.h | 159 inline StationID SourceStation() const in SourceStation() function
|
H A D | station_gui.cpp | 1604 const CargoDataEntry *source_entry = source_dest->Retrieve(cp->SourceStation()); in BuildCargoList() 1606 this->ShowCargo(cargo, i, cp->SourceStation(), next, INVALID_STATION, cp->Count()); in BuildCargoList() 1612 this->ShowCargo(cargo, i, cp->SourceStation(), next, INVALID_STATION, cp->Count()); in BuildCargoList() 1619 this->ShowCargo(cargo, i, cp->SourceStation(), next, dest_entry->GetStation(), val); in BuildCargoList()
|
/dports/games/openttd/openttd-12.1/src/script/api/ |
H A D | script_stationlist.cpp | 181 collector.Update<Tselector>((*iter)->SourceStation(), iter.GetKey(), (*iter)->Count()); in Add() 220 collector.Update<CS_VIA_BY_FROM>((*iter)->SourceStation(), iter.GetKey(), (*iter)->Count()); in ScriptStationList_CargoWaitingViaByFrom()
|
H A D | script_station.cpp | 70 if (!Tfrom || cp->SourceStation() == from_station_id) cargo_count += cp->Count(); in CountCargoWaiting()
|