OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- File List
- Globals

terraform_widget.h
Go to the documentation of this file.
1 /* $Id: terraform_widget.h 24900 2013-01-08 22:46:42Z planetmaker $ */
2
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
9
12 #ifndef WIDGETS_TERRAFORM_WIDGET_H
13 #define WIDGETS_TERRAFORM_WIDGET_H
14
16 enum TerraformToolbarWidgets {
17 WID_TT_SHOW_PLACE_OBJECT,
18 WID_TT_BUTTONS_START,
19 WID_TT_LOWER_LAND = WID_TT_BUTTONS_START,
20 WID_TT_RAISE_LAND,
21 WID_TT_LEVEL_LAND,
22 WID_TT_DEMOLISH,
23 WID_TT_BUY_LAND,
24 WID_TT_PLANT_TREES,
25 WID_TT_PLACE_SIGN,
26 WID_TT_PLACE_OBJECT,
27 };
28
30 enum EditorTerraformToolbarWidgets {
31 WID_ETT_SHOW_PLACE_DESERT,
32 WID_ETT_START,
33 WID_ETT_DOTS = WID_ETT_START,
34 WID_ETT_BUTTONS_START,
35 WID_ETT_DEMOLISH = WID_ETT_BUTTONS_START,
36 WID_ETT_LOWER_LAND,
37 WID_ETT_RAISE_LAND,
38 WID_ETT_LEVEL_LAND,
39 WID_ETT_PLACE_ROCKS,
40 WID_ETT_PLACE_DESERT,
41 WID_ETT_PLACE_OBJECT,
42 WID_ETT_BUTTONS_END,
43 WID_ETT_INCREASE_SIZE = WID_ETT_BUTTONS_END,
44 WID_ETT_DECREASE_SIZE,
45 WID_ETT_NEW_SCENARIO,
46 WID_ETT_RESET_LANDSCAPE,
47 };
48
49 #endif /* WIDGETS_TERRAFORM_WIDGET_H */