OpenTTD Source: River_UserData Struct Reference

OpenTTD Source 15.0-beta1

Data Fields
River_UserData Struct Reference

Parameters for river generation to pass as AyStar user data. More...

## Data Fields
TileIndex | spring
| The current spring during river generation.
bool | main_river
| Whether the current river is a big river that others flow into.

## Detailed Description

Parameters for river generation to pass as AyStar user data.

Definition at line 1214 of file landscape.cpp.

## Field Documentation

## ◆ main_river

bool River_UserData::main_river

Whether the current river is a big river that others flow into.

Definition at line 1216 of file landscape.cpp.

## ◆ spring

TileIndex River_UserData::spring

The current spring during river generation.

Definition at line 1215 of file landscape.cpp.

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

- src/landscape.cpp