OpenTTD Source 20250331-master-g3c15e0c889
|
NewGRF Action 0x00 handler for canals. More...
#include "../stdafx.h"
#include "../debug.h"
#include "newgrf_bytereader.h"
#include "newgrf_internal.h"
#include "../safeguards.h"
Go to the source code of this file.
Functions | |
static ChangeInfoResult | CanalChangeInfo (uint first, uint last, int prop, ByteReader &buf) |
Define properties for water features. | |
NewGRF Action 0x00 handler for canals.
Definition in file newgrf_act0_canals.cpp.
|
static |
Define properties for water features.
first | Local ID of the first water feature. |
last | Local ID of the last water feature. |
prop | The property to change. |
buf | The property value. |
Definition at line 25 of file newgrf_act0_canals.cpp.
References CanalProperties::callback_mask, GRFFile::canal_local_properties, CIR_INVALID_ID, CIR_SUCCESS, CIR_UNKNOWN, CanalProperties::flags, GrfProcessingState::grffile, and ByteReader::ReadByte().