OpenTTD Source: WaterRegionDesc Struct Reference

OpenTTD Source 14.0-beta1

Public Member Functions | Data Fields
WaterRegionDesc Struct Reference

Describes a single square water region. More...

`#include <water_regions.h>`

## Public Member Functions
| WaterRegionDesc (const int x, const int y)
| WaterRegionDesc (const WaterRegionPatchDesc &water_region_patch)
bool | operator== (const WaterRegionDesc &other) const
bool | operator!= (const WaterRegionDesc &other) const

## Data Fields
int | x
| The X coordinate of the water region, i.e. X=2 is the 3rd water region along the X-axis.
int | y
| The Y coordinate of the water region, i.e. Y=2 is the 3rd water region along the Y-axis.

## Detailed Description

Describes a single square water region.

Definition at line 39 of file water_regions.h.

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

- src/pathfinder/water_regions.h