OpenTTD Source: WaterFeature Struct Reference

OpenTTD Source 15.3

Data Fields
WaterFeature Struct Reference

Information about a water feature. More...

`#include <newgrf_canal.h>`

## Data Fields
const SpriteGroup * | group = nullptr
| Sprite group to start resolving.
const GRFFile * | grffile = 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:

- src/newgrf_canal.h