OpenTTD Source: src/newgrf/newgrf_act0_roadstops.cpp File Reference

OpenTTD Source 15.0-RC2

Functions
newgrf_act0_roadstops.cpp File Reference

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

`#include "../stdafx.h"`
`#include "../debug.h"`
`#include "../newgrf_engine.h"`
`#include "../newgrf_roadstop.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 | IgnoreRoadStopProperty (uint prop, ByteReader &buf)
| Ignore properties for roadstops.
static ChangeInfoResult | RoadStopChangeInfo (uint first, uint last, int prop, ByteReader &buf)

## Detailed Description

NewGRF Action 0x00 handler for roadstops.

Definition in file newgrf_act0_roadstops.cpp.

## Function Documentation

## ◆ IgnoreRoadStopProperty()

static ChangeInfoResult IgnoreRoadStopProperty | ( | uint | prop,
|  | ByteReader & | buf
| ) |  |
| static

Ignore properties for roadstops.

Parameters

  prop | The property to ignore.
  buf | The property value.

Returns
  ChangeInfoResult.

Definition at line 26 of file newgrf_act0_roadstops.cpp.

References CIR_SUCCESS, CIR_UNKNOWN, ByteReader::ReadByte(), ByteReader::ReadDWord(), ByteReader::ReadExtendedByte(), ByteReader::ReadWord(), and SkipBadgeList().

## ◆ RoadStopChangeInfo()

static ChangeInfoResult RoadStopChangeInfo | ( | uint | first,
|  | uint | last,
|  | int | prop,
|  | ByteReader & | buf
| ) |  |
| static

Definition at line 69 of file newgrf_act0_roadstops.cpp.