OpenTTD Source 20250205-master-gfd85ab1e2c
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.
 
uint8_t flags = 0
 Flags controlling display.
 

Detailed Description

Information about a water feature.

Definition at line 23 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 26 of file newgrf_canal.h.

◆ flags

uint8_t WaterFeature::flags = 0

Flags controlling display.

Definition at line 27 of file newgrf_canal.h.

◆ grffile

const GRFFile* WaterFeature::grffile = nullptr

NewGRF where 'group' belongs to.

Definition at line 25 of file newgrf_canal.h.

◆ group

const SpriteGroup* WaterFeature::group = nullptr

Sprite group to start resolving.

Definition at line 24 of file newgrf_canal.h.


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