|
OpenTTD Source 20261112-master-gbcbec5e63f
|
Handling of tile areas. More...
Go to the source code of this file.
Functions | |
| OrthoDiagonalTileArea | CreateOrthoDiagonalArea (TileIndex corner1, TileIndex corner2, bool diagonal) |
| Create an Orthogonal/Diagonal tile area wrapper. | |
Handling of tile areas.
Definition in file tilearea.cpp.
| OrthoDiagonalTileArea CreateOrthoDiagonalArea | ( | TileIndex | corner1, |
| TileIndex | corner2, | ||
| bool | diagonal ) |
Create an Orthogonal/Diagonal tile area wrapper.
| corner1 | Tile from where to begin iterating. |
| corner2 | Tile where to end the iterating. |
| diagonal | Whether to create a DiagonalTileArea or OrthogonalTileArea. |
Definition at line 23 of file tilearea.cpp.
Referenced by CmdBuildCanal(), CmdBuildObjectArea(), CmdClearArea(), CmdConvertRail(), CmdConvertRoad(), CmdLevelLand(), CmdPlaceHouseArea(), and CmdPlantTree().