OpenTTD Source 20260206-master-g4d4e37dbf1
newgrf_act0_roadtypes.cpp File Reference

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

#include "../stdafx.h"
#include "../debug.h"
#include "../road.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 RoadTypeChangeInfo (uint first, uint last, int prop, ByteReader &buf, RoadTramType rtt)
 Define properties for roadtypes.
static ChangeInfoResult RoadTypeReserveInfo (uint first, uint last, int prop, ByteReader &buf, RoadTramType rtt)

Detailed Description

NewGRF Action 0x00 handler for roadtypes.

Definition in file newgrf_act0_roadtypes.cpp.

Function Documentation

◆ RoadTypeChangeInfo()

◆ RoadTypeReserveInfo()

ChangeInfoResult RoadTypeReserveInfo ( uint first,
uint last,
int prop,
ByteReader & buf,
RoadTramType rtt )
static

Definition at line 149 of file newgrf_act0_roadtypes.cpp.