OpenTTD Source 20250331-master-g3c15e0c889
newgrf_act0_stations.cpp File Reference

NewGRF Action 0x00 handler for stations. More...

#include "../stdafx.h"
#include "../debug.h"
#include "../newgrf_station.h"
#include "newgrf_bytereader.h"
#include "newgrf_internal.h"
#include "newgrf_stringmapping.h"
#include "../safeguards.h"

Go to the source code of this file.

Functions

static ChangeInfoResult StationChangeInfo (uint first, uint last, int prop, ByteReader &buf)
 Define properties for stations.
 

Variables

static const uint NUM_STATIONS_PER_GRF = UINT16_MAX - 1
 The maximum amount of stations a single GRF is allowed to add.
 

Detailed Description

NewGRF Action 0x00 handler for stations.

Definition in file newgrf_act0_stations.cpp.

Function Documentation

◆ StationChangeInfo()

Variable Documentation

◆ NUM_STATIONS_PER_GRF

const uint NUM_STATIONS_PER_GRF = UINT16_MAX - 1
static

The maximum amount of stations a single GRF is allowed to add.

Definition at line 20 of file newgrf_act0_stations.cpp.

Referenced by StationChangeInfo().