OpenTTD Source 20260621-master-g720d10536d
WaterFeature Struct Reference

Information about a water feature. More...

#include <newgrf_canal.h>

Data Fields

const SpriteGroupgroup = nullptr
 Sprite group to start resolving.
const GRFFilegrffile = nullptr
 NewGRF where 'group' belongs to.
CanalCallbackMasks callback_mask {}
 Bitmask of canal callbacks that have to be called.
CanalFeatureFlags flags {}
 Flags controlling display.

Detailed Description

Information about a water feature.

Definition at line 18 of file newgrf_canal.h.

Field Documentation

◆ callback_mask

CanalCallbackMasks WaterFeature::callback_mask {}

Bitmask of canal callbacks that have to be called.

Definition at line 21 of file newgrf_canal.h.

◆ flags

CanalFeatureFlags WaterFeature::flags {}

Flags controlling display.

Definition at line 22 of file newgrf_canal.h.

◆ grffile

const GRFFile* WaterFeature::grffile = nullptr

NewGRF where 'group' belongs to.

Definition at line 20 of file newgrf_canal.h.

◆ group

const SpriteGroup* WaterFeature::group = nullptr

Sprite group to start resolving.

Definition at line 19 of file newgrf_canal.h.


The documentation for this struct was generated from the following file: