|
OpenTTD Source 20260311-master-g511d3794ce
|
The data stored for each water region. More...
Private Attributes | |
| std::array< WaterRegionTraversabilityBits, DIAGDIR_END > | edge_traversability_bits {} |
| std::unique_ptr< WaterRegionPatchLabelArray > | tile_patch_labels |
| Tile patch labels, this may be nullptr in the following trivial cases: region is invalid, region is only land (0 patches), region is only water (1 patch). | |
| bool | has_cross_region_aqueducts = false |
| WaterRegionPatchLabel::BaseType | number_of_patches {0} |
| 0 = no water, 1 = one single patch of water, etc... | |
Friends | |
| class | WaterRegion |
The data stored for each water region.
Definition at line 48 of file water_regions.cpp.
|
friend |
Definition at line 49 of file water_regions.cpp.
|
private |
Definition at line 51 of file water_regions.cpp.
|
private |
Definition at line 53 of file water_regions.cpp.
|
private |
0 = no water, 1 = one single patch of water, etc...
Definition at line 54 of file water_regions.cpp.
Referenced by WaterRegion::ForceUpdate(), and WaterRegion::NumberOfPatches().
|
private |
Tile patch labels, this may be nullptr in the following trivial cases: region is invalid, region is only land (0 patches), region is only water (1 patch).
Definition at line 52 of file water_regions.cpp.
Referenced by WaterRegion::ForceUpdate(), and WaterRegion::GetLabel().