From 1a515e6344028854c855671c19f49d8f869eb18f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 1 May 2011 19:14:12 +0000 Subject: (svn r22405) -Document: some more "random-ish" tidbits --- src/terraform_gui.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/terraform_gui.cpp') 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(&_scen_edit_land_gen_desc, 0); -- cgit v1.2.3-54-g00ecf