|
OpenTTD Source 20251104-master-g3befbdd52f
|
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().