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

Function ShowBuildTreesToolbar

src/tree_gui.cpp:320–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

318);
319
320void ShowBuildTreesToolbar()
321{
322 if (_game_mode != GM_EDITOR && !Company::IsValidID(_local_company)) return;
323 AllocateWindowDescFront<BuildTreesWindow>(_build_trees_desc, 0);
324}

Callers 4

OnClickMethod · 0.85
MenuClickForestFunction · 0.85
ToolbarScenPlantTreesFunction · 0.85
OnHotkeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected