OpenTTD Source: StatueBuildSearchData Struct Reference

OpenTTD Source 15.0-beta1

Public Member Functions | Data Fields
StatueBuildSearchData Struct Reference

Structure for storing data while searching the best place to build a statue. More...

## Public Member Functions
| StatueBuildSearchData (TileIndex best_pos, int count)

## Data Fields
TileIndex | best_position
| Best position found so far.
int | tile_count
| Number of tiles tried.

## Detailed Description

Structure for storing data while searching the best place to build a statue.

Definition at line 3403 of file town_cmd.cpp.

## Constructor & Destructor Documentation

## ◆ StatueBuildSearchData()

StatueBuildSearchData::StatueBuildSearchData | ( | TileIndex | best_pos,
|  | int | count
| ) |  |
| inline

Definition at line 3407 of file town_cmd.cpp.

## Field Documentation

## ◆ best_position

TileIndex StatueBuildSearchData::best_position

Best position found so far.

Definition at line 3404 of file town_cmd.cpp.

Referenced by SearchTileForStatue(), and TownActionBuildStatue().

## ◆ tile_count

int StatueBuildSearchData::tile_count

Number of tiles tried.

Definition at line 3405 of file town_cmd.cpp.

Referenced by SearchTileForStatue().

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

- src/town_cmd.cpp