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