OpenTTD Source 20250924-master-gbec4e71d53
|
Pathfinder for river building. More...
#include "../../tile_type.h"
Go to the source code of this file.
Functions | |
void | YapfBuildRiver (TileIndex start_tile, TileIndex end_tile, TileIndex spring_tile, bool main_river) |
Builds a river from the start tile to the end tile. | |
Pathfinder for river building.
Definition in file yapf_river_builder.h.
void YapfBuildRiver | ( | TileIndex | start_tile, |
TileIndex | end_tile, | ||
TileIndex | spring_tile, | ||
bool | main_river | ||
) |
Builds a river from the start tile to the end tile.
start_tile | Start tile of the river. |
end_tile | End tile of the river. |
spring_tile | spring_tile Tile in which the spring of the river is located. |
main_river | Whether it is a main river. Main rivers can get wider than one tile. |
Definition at line 149 of file yapf_river_builder.cpp.
Referenced by FlowRiver().