|
OpenTTD Source 20251117-master-g7398d2e290
|
GUI stuff related to terraforming. More...
#include "window_type.h"Go to the source code of this file.
Functions | |
| Window * | ShowTerraformToolbar (Window *link=nullptr) |
| Show the toolbar for terraforming in the game. | |
| Window * | ShowEditorTerraformToolbar () |
| Show the toolbar for terraforming in the scenario editor. | |
GUI stuff related to terraforming.
Definition in file terraform_gui.h.
| Window * ShowEditorTerraformToolbar | ( | ) |
Show the toolbar for terraforming in the scenario editor.
nullptr. Definition at line 742 of file terraform_gui.cpp.
Referenced by ScenarioEditorToolbarWindow::OnHotkey(), and ScenarioEditorLandscapeGenerationWindow::TerraformToolbarEditorGlobalHotkeys().
Show the toolbar for terraforming in the game.
| link | The toolbar we might want to link to. |
nullptr. Definition at line 364 of file terraform_gui.cpp.
References _current_text_dir, _local_company, CloseWindowById(), Pool< Titem, Tindex, Tgrowth_step, Tpool_type, Tcache >::PoolItem<&_company_pool >::IsValidID(), Window::left, Window::SetDirty(), TD_RTL, Window::top, WC_SCEN_LAND_GEN, and Window::width.
Referenced by MenuClickForest(), MainToolbarWindow::OnHotkey(), and TerraformToolbarWindow::TerraformToolbarGlobalHotkeys().