OpenTTD Source: WaterRegionData Class Reference

OpenTTD Source 15.0-beta1

Private Attributes | Friends
WaterRegionData Class Reference

The data stored for each water region. More...

## Private Attributes
std::array< TWaterRegionTraversabilityBits, DIAGDIR_END > | edge_traversability_bits {}
std::unique_ptr< TWaterRegionPatchLabelArray > | tile_patch_labels
bool | has_cross_region_aqueducts = false
TWaterRegionPatchLabel | number_of_patches = 0

## Friends
class | WaterRegion

## Detailed Description

The data stored for each water region.

Definition at line 45 of file water_regions.cpp.

## Friends And Related Symbol Documentation

## ◆ WaterRegion

friend class WaterRegion
| friend

Definition at line 46 of file water_regions.cpp.

## Field Documentation

## ◆ edge_traversability_bits

std::array<TWaterRegionTraversabilityBits, DIAGDIR_END> WaterRegionData::edge_traversability_bits {}
| private

Definition at line 48 of file water_regions.cpp.

## ◆ has_cross_region_aqueducts

bool WaterRegionData::has_cross_region_aqueducts = false
| private

Definition at line 50 of file water_regions.cpp.

## ◆ number_of_patches

TWaterRegionPatchLabel WaterRegionData::number_of_patches = 0
| private

Definition at line 51 of file water_regions.cpp.

## ◆ tile_patch_labels

std::unique_ptr<TWaterRegionPatchLabelArray> WaterRegionData::tile_patch_labels
| private

Definition at line 49 of file water_regions.cpp.

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

- src/pathfinder/water_regions.cpp