summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 19:14:12 +0000
commit1a515e6344028854c855671c19f49d8f869eb18f (patch)
treee1bba97c1a8fd80f564729cc2d5fc2049110cb2a /src/terraform_gui.cpp
parentb27dd1dcd7375dae63724879eb0f56dd703e5312 (diff)
downloadopenttd-1a515e6344028854c855671c19f49d8f869eb18f.tar.xz
(svn r22405) -Document: some more "random-ish" tidbits
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index e790eb2c3..ee6a3f986 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -368,6 +368,11 @@ static const WindowDesc _terraform_desc(
_nested_terraform_widgets, lengthof(_nested_terraform_widgets)
);
+/**
+ * Show the toolbar for terraforming in the game.
+ * @param link The toolbar we might want to link to.
+ * @return The allocated toolbar.
+ */
Window *ShowTerraformToolbar(Window *link)
{
if (!Company::IsValidID(_local_company)) return NULL;
@@ -781,6 +786,10 @@ static const WindowDesc _scen_edit_land_gen_desc(
_nested_scen_edit_land_gen_widgets, lengthof(_nested_scen_edit_land_gen_widgets)
);
+/**
+ * Show the toolbar for terraforming in the scenario editor.
+ * @return The allocated toolbar.
+ */
Window *ShowEditorTerraformToolbar()
{
return AllocateWindowDescFront<ScenarioEditorLandscapeGenerationWindow>(&_scen_edit_land_gen_desc, 0);