OpenTTD

genworld_widget.h
Go to the documentation of this file.
1 /* $Id: genworld_widget.h 26885 2014-09-21 12:25:04Z rubidium $ */
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_GENWORLD_WIDGET_H
13 #define WIDGETS_GENWORLD_WIDGET_H
14
16 enum GenerateLandscapeWidgets {
17 WID_GL_TEMPERATE,
18 WID_GL_ARCTIC,
19 WID_GL_TROPICAL,
20 WID_GL_TOYLAND,
21
22 WID_GL_MAPSIZE_X_PULLDOWN,
23 WID_GL_MAPSIZE_Y_PULLDOWN,
24
25 WID_GL_TOWN_PULLDOWN,
26 WID_GL_INDUSTRY_PULLDOWN,
27
28 WID_GL_GENERATE_BUTTON,
29
30 WID_GL_MAX_HEIGHTLEVEL_DOWN,
31 WID_GL_MAX_HEIGHTLEVEL_TEXT,
32 WID_GL_MAX_HEIGHTLEVEL_UP,
33
34 WID_GL_START_DATE_DOWN,
35 WID_GL_START_DATE_TEXT,
36 WID_GL_START_DATE_UP,
37
38 WID_GL_SNOW_LEVEL_DOWN,
39 WID_GL_SNOW_LEVEL_TEXT,
40 WID_GL_SNOW_LEVEL_UP,
41
42 WID_GL_TREE_PULLDOWN,
43 WID_GL_LANDSCAPE_PULLDOWN,
44
45 WID_GL_HEIGHTMAP_NAME_TEXT,
46 WID_GL_HEIGHTMAP_SIZE_TEXT,
47 WID_GL_HEIGHTMAP_ROTATION_PULLDOWN,
48
49 WID_GL_TERRAIN_PULLDOWN,
50 WID_GL_WATER_PULLDOWN,
51 WID_GL_RIVER_PULLDOWN,
52 WID_GL_SMOOTHNESS_PULLDOWN,
53 WID_GL_VARIETY_PULLDOWN,
54
55 WID_GL_BORDERS_RANDOM,
56 WID_GL_WATER_NW,
57 WID_GL_WATER_NE,
58 WID_GL_WATER_SE,
59 WID_GL_WATER_SW,
60 };
61
63 enum CreateScenarioWidgets {
64 WID_CS_TEMPERATE,
65 WID_CS_ARCTIC,
66 WID_CS_TROPICAL,
67 WID_CS_TOYLAND,
68 WID_CS_EMPTY_WORLD,
69 WID_CS_RANDOM_WORLD,
70 WID_CS_MAPSIZE_X_PULLDOWN,
71 WID_CS_MAPSIZE_Y_PULLDOWN,
72 WID_CS_START_DATE_DOWN,
73 WID_CS_START_DATE_TEXT,
74 WID_CS_START_DATE_UP,
75 WID_CS_FLAT_LAND_HEIGHT_DOWN,
76 WID_CS_FLAT_LAND_HEIGHT_TEXT,
77 WID_CS_FLAT_LAND_HEIGHT_UP,
78 };
79
81 enum GenerationProgressWidgets {
82 WID_GP_PROGRESS_BAR,
83 WID_GP_PROGRESS_TEXT,
84 WID_GP_ABORT,
85 };
86
87 #endif /* WIDGETS_GENWORLD_WIDGET_H */
WID_GP_PROGRESS_BAR
Progress bar.
Definition: genworld_widget.h:82
WID_CS_START_DATE_TEXT
Clickable start date value.
Definition: genworld_widget.h:73
WID_GL_WATER_SE
SE &#39;Water&#39;/&#39;Freeform&#39;.
Definition: genworld_widget.h:58
WID_GL_SNOW_LEVEL_TEXT
Snow level.
Definition: genworld_widget.h:39
WID_GL_HEIGHTMAP_SIZE_TEXT
Size of heightmap.
Definition: genworld_widget.h:46
WID_CS_TOYLAND
Select toy-land landscape style.
Definition: genworld_widget.h:67
WID_GL_TEMPERATE
Button with icon "Temperate".
Definition: genworld_widget.h:17
WID_GL_WATER_PULLDOWN
Dropdown &#39;Sea level&#39;.
Definition: genworld_widget.h:50
WID_CS_FLAT_LAND_HEIGHT_DOWN
Decrease flat land height.
Definition: genworld_widget.h:75
WID_GL_TROPICAL
Button with icon "Tropical".
Definition: genworld_widget.h:19
WID_GL_START_DATE_UP
Increase start year.
Definition: genworld_widget.h:36
WID_GL_TOYLAND
Button with icon "Toyland".
Definition: genworld_widget.h:20
WID_GL_HEIGHTMAP_ROTATION_PULLDOWN
Dropdown &#39;Heightmap rotation&#39;.
Definition: genworld_widget.h:47
WID_GL_GENERATE_BUTTON
&#39;Generate&#39; button.
Definition: genworld_widget.h:28
WID_GL_BORDERS_RANDOM
&#39;Random&#39;/&#39;Manual&#39; borders.
Definition: genworld_widget.h:55
CreateScenarioWidgets
CreateScenarioWidgets
Widgets of the CreateScenarioWindow class.
Definition: genworld_widget.h:63
WID_GP_PROGRESS_TEXT
Text with the progress bar.
Definition: genworld_widget.h:83
WID_GL_MAPSIZE_Y_PULLDOWN
Dropdown &#39;map Y size&#39;.
Definition: genworld_widget.h:23
WID_CS_TROPICAL
Select tropical landscape style.
Definition: genworld_widget.h:66
WID_GL_SMOOTHNESS_PULLDOWN
Dropdown &#39;Smoothness&#39;.
Definition: genworld_widget.h:52
WID_GL_TERRAIN_PULLDOWN
Dropdown &#39;Terrain type&#39;.
Definition: genworld_widget.h:49
WID_CS_TEMPERATE
Select temperate landscape style.
Definition: genworld_widget.h:64
WID_GL_TOWN_PULLDOWN
Dropdown &#39;No. of towns&#39;.
Definition: genworld_widget.h:25
WID_GL_START_DATE_TEXT
Start year.
Definition: genworld_widget.h:35
WID_GL_SNOW_LEVEL_DOWN
Decrease snow level.
Definition: genworld_widget.h:38
WID_CS_MAPSIZE_Y_PULLDOWN
Pull-down arrow for y map size.
Definition: genworld_widget.h:71
WID_GL_ARCTIC
Button with icon "Arctic".
Definition: genworld_widget.h:18
WID_GL_MAX_HEIGHTLEVEL_TEXT
Max. heightlevel.
Definition: genworld_widget.h:31
WID_GL_INDUSTRY_PULLDOWN
Dropdown &#39;No. of industries&#39;.
Definition: genworld_widget.h:26
WID_GL_MAX_HEIGHTLEVEL_DOWN
Decrease max. heightlevel.
Definition: genworld_widget.h:30
WID_GL_SNOW_LEVEL_UP
Increase snow level.
Definition: genworld_widget.h:40
WID_GL_START_DATE_DOWN
Decrease start year.
Definition: genworld_widget.h:34
WID_GL_VARIETY_PULLDOWN
Dropdown &#39;Variety distribution&#39;.
Definition: genworld_widget.h:53
WID_GP_ABORT
Abort button.
Definition: genworld_widget.h:84
WID_CS_MAPSIZE_X_PULLDOWN
Pull-down arrow for x map size.
Definition: genworld_widget.h:70
WID_GL_HEIGHTMAP_NAME_TEXT
Heightmap name.
Definition: genworld_widget.h:45
WID_GL_WATER_NW
NW &#39;Water&#39;/&#39;Freeform&#39;.
Definition: genworld_widget.h:56
WID_CS_EMPTY_WORLD
Generate an empty flat world.
Definition: genworld_widget.h:68
WID_GL_MAPSIZE_X_PULLDOWN
Dropdown &#39;map X size&#39;.
Definition: genworld_widget.h:22
WID_GL_LANDSCAPE_PULLDOWN
Dropdown &#39;Land generator&#39;.
Definition: genworld_widget.h:43
WID_CS_ARCTIC
Select arctic landscape style.
Definition: genworld_widget.h:65
WID_CS_START_DATE_DOWN
Decrease start year (start earlier).
Definition: genworld_widget.h:72
WID_CS_RANDOM_WORLD
Generate random land button.
Definition: genworld_widget.h:69
WID_GL_MAX_HEIGHTLEVEL_UP
Increase max. heightlevel.
Definition: genworld_widget.h:32
WID_GL_RIVER_PULLDOWN
Dropdown &#39;Rivers&#39;.
Definition: genworld_widget.h:51
WID_GL_WATER_SW
SW &#39;Water&#39;/&#39;Freeform&#39;.
Definition: genworld_widget.h:59
WID_GL_WATER_NE
NE &#39;Water&#39;/&#39;Freeform&#39;.
Definition: genworld_widget.h:57
WID_CS_FLAT_LAND_HEIGHT_TEXT
Clickable flat land height value.
Definition: genworld_widget.h:76
WID_GL_TREE_PULLDOWN
Dropdown &#39;Tree algorithm&#39;.
Definition: genworld_widget.h:42
WID_CS_FLAT_LAND_HEIGHT_UP
Increase flat land height.
Definition: genworld_widget.h:77
WID_CS_START_DATE_UP
Increase start year (start later).
Definition: genworld_widget.h:74
GenerateLandscapeWidgets
GenerateLandscapeWidgets
Widgets of the GenerateLandscapeWindow class.
Definition: genworld_widget.h:16
GenerationProgressWidgets
GenerationProgressWidgets
Widgets of the GenerateProgressWindow class.
Definition: genworld_widget.h:81