|
OpenTTD Source 20251117-master-g7398d2e290
|
Base classes/functions for base stations. More...
#include "core/pool_type.hpp"#include "command_type.h"#include "viewport_type.h"#include "station_map.h"#include "timer/timer_game_calendar.h"Go to the source code of this file.
Data Structures | |
| struct | SpecMapping< T > |
| struct | RoadStopTileData |
| struct | StationRect |
| StationRect - used to track station spread out rectangle - cheaper than scanning whole map. More... | |
| struct | BaseStation |
| Base class for all station-ish types. More... | |
| struct | SpecializedStation< T, Tis_waypoint > |
| Class defining several overloaded accessors so we don't have to cast base stations that often. More... | |
Typedefs | |
| typedef Pool< BaseStation, StationID, 32 > | StationPool |
Functions | |
| template<class T > | |
| std::vector< SpecMapping< T > > & | GetStationSpecList (BaseStation *bst) |
| Get spec mapping list for each supported custom spec type. | |
| template<> | |
| std::vector< SpecMapping< StationSpec > > & | GetStationSpecList< StationSpec > (BaseStation *bst) |
| template<> | |
| std::vector< SpecMapping< RoadStopSpec > > & | GetStationSpecList< RoadStopSpec > (BaseStation *bst) |
Variables | |
| StationPool | _station_pool |
Base classes/functions for base stations.
Definition in file base_station_base.h.
| typedef Pool<BaseStation, StationID, 32> StationPool |
Definition at line 19 of file base_station_base.h.
| std::vector< SpecMapping< T > > & GetStationSpecList | ( | BaseStation * | bst | ) |
Get spec mapping list for each supported custom spec type.
| T | Spec type. |
| bst | Station of custom spec list. |
|
inline |
Definition at line 308 of file base_station_base.h.
|
inline |
Definition at line 308 of file base_station_base.h.