OpenTTD Source 20241224-master-gf74b0cf984
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: