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

Function ShowEditorTerraformToolbar

src/terraform_gui.cpp:742–745  ·  view source on GitHub ↗

* Show the toolbar for terraforming in the scenario editor. * @return The allocated toolbar if the window was newly opened, else \c nullptr. */

Source from the content-addressed store, hash-verified

740 * @return The allocated toolbar if the window was newly opened, else \c nullptr.
741 */
742Window *ShowEditorTerraformToolbar()
743{
744 return AllocateWindowDescFront<ScenarioEditorLandscapeGenerationWindow>(_scen_edit_land_gen_desc, 0);
745}

Callers 3

ToolbarScenGenLandFunction · 0.85
OnHotkeyMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected