OpenTTD Source
20240915-master-g3784a3d3d6
|
Go to the documentation of this file.
10 #ifndef STATION_TYPE_H
11 #define STATION_TYPE_H
16 typedef uint16_t StationID;
17 typedef uint16_t RoadStopID;
25 static const StationID NEW_STATION = 0xFFFE;
26 static const StationID INVALID_STATION = 0xFFFF;
@ ROADSTOP_BUS
A standard stop for buses.
@ CA_UNMODIFIED
Catchment for all stations with "modified catchment" disabled.
Minimal stack that uses a pool to avoid pointers.
Structure contains cached list of stations nearby.
@ FACIL_TRAIN
Station with train station.
@ ROADSTOP_END
End of valid types.
@ CA_NONE
Catchment when the station has no facilities.
@ FACIL_DOCK
Station with a dock.
@ HVOT_TRUCK
Station has seen a truck.
@ HVOT_AIRCRAFT
Station has seen an aircraft.
@ HVOT_BUS
Station has seen a bus.
Representation of a waypoint.
@ HVOT_SHIP
Station has seen a ship.
@ ROADSTOP_TRUCK
A standard stop for trucks.
StationType
Station types.
@ MAX_CATCHMENT
Maximum catchment for airports with "modified catchment" enabled.
StationList stations
List of stations nearby.
Represents the covered area of e.g.
@ FACIL_NONE
The station has no facilities at all.
@ CA_BUS
Catchment for bus stops with "modified catchment" enabled.
@ FACIL_TRUCK_STOP
Station with truck stops.
@ CA_TRUCK
Catchment for truck stops with "modified catchment" enabled.
const StationList * GetStations()
Run a tile loop to find stations around a tile, on demand.
std::set< Station *, StationCompare > StationList
List of stations.
StationHadVehicleOfType
The vehicles that may have visited a station.
@ CA_DOCK
Catchment for docks with "modified catchment" enabled.
static const uint MAX_LENGTH_STATION_NAME_CHARS
The maximum length of a station name in characters including '\0'.
@ HVOT_TRAIN
Station has seen a train.
StationFacility
The facilities a station might be having.
Base class for all station-ish types.
DECLARE_ENUM_AS_BIT_SET(GenderEthnicity) enum CompanyManagerFaceVariable
Bitgroups of the CompanyManagerFace variable.
@ FACIL_BUS_STOP
Station with bus stops.
@ CA_TRAIN
Catchment for train stations with "modified catchment" enabled.
@ HVOT_NONE
Station has seen no vehicles.
RoadStopType
Types of RoadStops.
A Stop for a Road Vehicle.
@ FACIL_WAYPOINT
Station is a waypoint.
CatchmentArea
The different catchment areas used.
@ HVOT_WAYPOINT
Station is a waypoint (NewGRF only!)
StationFinder(const TileArea &area)
Constructs StationFinder.
@ FACIL_AIRPORT
Station with an airport.