MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ShowLandInfo

Function ShowLandInfo

src/misc_gui.cpp:321–325  ·  view source on GitHub ↗

* Show land information window. * @param tile The tile to show information about. */

Source from the content-addressed store, hash-verified

319 * @param tile The tile to show information about.
320 */
321void ShowLandInfo(TileIndex tile)
322{
323 CloseWindowById(WC_LAND_INFO, 0);
324 new LandInfoWindow(tile);
325}
326
327static constexpr std::initializer_list<NWidgetPart> _nested_about_widgets = {
328 NWidget(NWID_HORIZONTAL),

Callers 2

OnPlaceObjectMethod · 0.85
OnPlaceObjectMethod · 0.85

Calls 1

CloseWindowByIdFunction · 0.85

Tested by

no test coverage detected