OpenTTD
Data Structures | Macros | Typedefs | Variables
station_base.h File Reference

Base classes/functions for stations. More...

#include "core/random_func.hpp"
#include "base_station_base.h"
#include "newgrf_airport.h"
#include "cargopacket.h"
#include "industry_type.h"
#include "linkgraph/linkgraph_type.h"
#include "newgrf_storage.h"
#include <map>

Go to the source code of this file.

Data Structures

class  FlowStat
 Flow statistics telling how much flow should be sent along a link. More...
 
class  FlowStatMap
 Flow descriptions by origin stations. More...
 
struct  GoodsEntry
 Stores station stats for a single cargo. More...
 
struct  Airport
 All airport-related information. More...
 
struct  Station
 Station data structure. More...
 
class  AirportTileIterator
 Iterator to iterate over all tiles belonging to an airport. More...
 

Macros

#define FOR_ALL_STATIONS(var)   FOR_ALL_BASE_STATIONS_OF_TYPE(Station, var)
 

Typedefs

typedef Pool< BaseStation, StationID, 32, 64000 > StationPool
 
typedef SmallVector< Industry *, 2 > IndustryVector
 

Variables

StationPool _station_pool
 The pool of stations. More...
 
static const byte INITIAL_STATION_RATING = 175
 

Detailed Description

Base classes/functions for stations.

Definition in file station_base.h.

Variable Documentation

◆ _station_pool

StationPool _station_pool

The pool of stations.