OpenTTD Source: src/widgets/terraform_widget.h Source File

OpenTTD Source 12.0-beta1

terraform_widget.h
Go to the documentation of this file.
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
7
10 #ifndef WIDGETS_TERRAFORM_WIDGET_H
11 #define WIDGETS_TERRAFORM_WIDGET_H
12
14 enum TerraformToolbarWidgets {
15 WID_TT_SHOW_PLACE_OBJECT,
16 WID_TT_BUTTONS_START,
17 WID_TT_LOWER_LAND = WID_TT_BUTTONS_START,
18 WID_TT_RAISE_LAND,
19 WID_TT_LEVEL_LAND,
20 WID_TT_DEMOLISH,
21 WID_TT_BUY_LAND,
22 WID_TT_PLANT_TREES,
23 WID_TT_PLACE_SIGN,
24 WID_TT_PLACE_OBJECT,
25 };
26
28 enum EditorTerraformToolbarWidgets {
29 WID_ETT_SHOW_PLACE_DESERT,
30 WID_ETT_START,
31 WID_ETT_DOTS = WID_ETT_START,
32 WID_ETT_BUTTONS_START,
33 WID_ETT_DEMOLISH = WID_ETT_BUTTONS_START,
34 WID_ETT_LOWER_LAND,
35 WID_ETT_RAISE_LAND,
36 WID_ETT_LEVEL_LAND,
37 WID_ETT_PLACE_ROCKS,
38 WID_ETT_PLACE_DESERT,
39 WID_ETT_PLACE_OBJECT,
40 WID_ETT_BUTTONS_END,
41 WID_ETT_INCREASE_SIZE = WID_ETT_BUTTONS_END,
42 WID_ETT_DECREASE_SIZE,
43 WID_ETT_NEW_SCENARIO,
44 WID_ETT_RESET_LANDSCAPE,
45 };
46
47 #endif /* WIDGETS_TERRAFORM_WIDGET_H */
WID_ETT_LOWER_LAND
@ WID_ETT_LOWER_LAND
Lower land button.
Definition: terraform_widget.h:34
WID_ETT_RESET_LANDSCAPE
@ WID_ETT_RESET_LANDSCAPE
Button for removing all company-owned property.
Definition: terraform_widget.h:44
WID_ETT_BUTTONS_START
@ WID_ETT_BUTTONS_START
Start of pushable buttons.
Definition: terraform_widget.h:32
WID_ETT_PLACE_ROCKS
@ WID_ETT_PLACE_ROCKS
Place rocks button.
Definition: terraform_widget.h:37
WID_ETT_BUTTONS_END
@ WID_ETT_BUTTONS_END
End of pushable buttons.
Definition: terraform_widget.h:40
WID_ETT_NEW_SCENARIO
@ WID_ETT_NEW_SCENARIO
Button for generating a new scenario.
Definition: terraform_widget.h:43
WID_ETT_RAISE_LAND
@ WID_ETT_RAISE_LAND
Raise land button.
Definition: terraform_widget.h:35
WID_TT_LOWER_LAND
@ WID_TT_LOWER_LAND
Lower land button.
Definition: terraform_widget.h:17
TerraformToolbarWidgets
TerraformToolbarWidgets
Widgets of the TerraformToolbarWindow class.
Definition: terraform_widget.h:14
WID_TT_RAISE_LAND
@ WID_TT_RAISE_LAND
Raise land button.
Definition: terraform_widget.h:18
EditorTerraformToolbarWidgets
EditorTerraformToolbarWidgets
Widgets of the ScenarioEditorLandscapeGenerationWindow class.
Definition: terraform_widget.h:28
WID_TT_PLACE_OBJECT
@ WID_TT_PLACE_OBJECT
Place object button.
Definition: terraform_widget.h:24
WID_TT_PLANT_TREES
@ WID_TT_PLANT_TREES
Plant trees button (note: opens separate window, no place-push-button).
Definition: terraform_widget.h:22
WID_ETT_PLACE_OBJECT
@ WID_ETT_PLACE_OBJECT
Place transmitter button.
Definition: terraform_widget.h:39
WID_ETT_DOTS
@ WID_ETT_DOTS
Invisible widget for rendering the terraform size on.
Definition: terraform_widget.h:31
WID_ETT_SHOW_PLACE_DESERT
@ WID_ETT_SHOW_PLACE_DESERT
Should the place desert button be shown?
Definition: terraform_widget.h:29
WID_TT_SHOW_PLACE_OBJECT
@ WID_TT_SHOW_PLACE_OBJECT
Should the place object button be shown?
Definition: terraform_widget.h:15
WID_TT_BUTTONS_START
@ WID_TT_BUTTONS_START
Start of pushable buttons.
Definition: terraform_widget.h:16
WID_ETT_LEVEL_LAND
@ WID_ETT_LEVEL_LAND
Level land button.
Definition: terraform_widget.h:36
WID_ETT_START
@ WID_ETT_START
Used for iterations.
Definition: terraform_widget.h:30
WID_TT_BUY_LAND
@ WID_TT_BUY_LAND
Buy land button.
Definition: terraform_widget.h:21
WID_TT_DEMOLISH
@ WID_TT_DEMOLISH
Demolish aka dynamite button.
Definition: terraform_widget.h:20
WID_ETT_DECREASE_SIZE
@ WID_ETT_DECREASE_SIZE
Downwards arrow button to decrease terraforming size.
Definition: terraform_widget.h:42
WID_ETT_PLACE_DESERT
@ WID_ETT_PLACE_DESERT
Place desert button (in tropical climate).
Definition: terraform_widget.h:38
WID_TT_LEVEL_LAND
@ WID_TT_LEVEL_LAND
Level land button.
Definition: terraform_widget.h:19
WID_ETT_DEMOLISH
@ WID_ETT_DEMOLISH
Demolish aka dynamite button.
Definition: terraform_widget.h:33
WID_TT_PLACE_SIGN
@ WID_TT_PLACE_SIGN
Place sign button.
Definition: terraform_widget.h:23
WID_ETT_INCREASE_SIZE
@ WID_ETT_INCREASE_SIZE
Upwards arrow button to increase terraforming size.
Definition: terraform_widget.h:41