Fix #10490: Allow ships to exit depots if another is not moving at the exit point...
[openttd-github.git] / src / widgets / genworld_widget.h
blob8d852a117be6c26a36880bceea585c33b7e7d015
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 */
8 /** @file genworld_widget.h Types related to the genworld widgets. */
10 #ifndef WIDGETS_GENWORLD_WIDGET_H
11 #define WIDGETS_GENWORLD_WIDGET_H
13 /** Widgets of the #GenerateLandscapeWindow class. */
14 enum GenerateLandscapeWidgets : WidgetID {
15 WID_GL_TEMPERATE, ///< Button with icon "Temperate".
16 WID_GL_ARCTIC, ///< Button with icon "Arctic".
17 WID_GL_TROPICAL, ///< Button with icon "Tropical".
18 WID_GL_TOYLAND, ///< Button with icon "Toyland".
20 WID_GL_MAPSIZE_X_PULLDOWN, ///< Dropdown 'map X size'.
21 WID_GL_MAPSIZE_Y_PULLDOWN, ///< Dropdown 'map Y size'.
23 WID_GL_TOWN_PULLDOWN, ///< Dropdown 'No. of towns'.
24 WID_GL_TOWNNAME_DROPDOWN, ///< Dropdown 'Townnames'.
25 WID_GL_INDUSTRY_PULLDOWN, ///< Dropdown 'No. of industries'.
27 WID_GL_GENERATE_BUTTON, ///< 'Generate' button.
29 WID_GL_HEIGHTMAP_HEIGHT_DOWN, ///< Decrease heightmap highest mountain
30 WID_GL_HEIGHTMAP_HEIGHT_TEXT, ///< Max. heightmap highest mountain
31 WID_GL_HEIGHTMAP_HEIGHT_UP, ///< Increase max. heightmap highest mountain
33 WID_GL_START_DATE_DOWN, ///< Decrease start year.
34 WID_GL_START_DATE_TEXT, ///< Start year.
35 WID_GL_START_DATE_UP, ///< Increase start year.
37 WID_GL_SNOW_COVERAGE_DOWN, ///< Decrease snow coverage.
38 WID_GL_SNOW_COVERAGE_TEXT, ///< Snow coverage.
39 WID_GL_SNOW_COVERAGE_UP, ///< Increase snow coverage.
41 WID_GL_DESERT_COVERAGE_DOWN, ///< Decrease desert coverage.
42 WID_GL_DESERT_COVERAGE_TEXT, ///< Desert coverage.
43 WID_GL_DESERT_COVERAGE_UP, ///< Increase desert coverage.
45 WID_GL_LANDSCAPE_PULLDOWN, ///< Dropdown 'Land generator'.
47 WID_GL_HEIGHTMAP_NAME_TEXT, ///< Heightmap name.
48 WID_GL_HEIGHTMAP_SIZE_TEXT, ///< Size of heightmap.
49 WID_GL_HEIGHTMAP_ROTATION_PULLDOWN, ///< Dropdown 'Heightmap rotation'.
51 WID_GL_TERRAIN_PULLDOWN, ///< Dropdown 'Terrain type'.
52 WID_GL_WATER_PULLDOWN, ///< Dropdown 'Sea level'.
53 WID_GL_RIVER_PULLDOWN, ///< Dropdown 'Rivers'.
54 WID_GL_SMOOTHNESS_PULLDOWN, ///< Dropdown 'Smoothness'.
55 WID_GL_VARIETY_PULLDOWN, ///< Dropdown 'Variety distribution'.
57 WID_GL_BORDERS_RANDOM, ///< 'Random'/'Manual' borders.
58 WID_GL_WATER_NW, ///< NW 'Water'/'Freeform'.
59 WID_GL_WATER_NE, ///< NE 'Water'/'Freeform'.
60 WID_GL_WATER_SE, ///< SE 'Water'/'Freeform'.
61 WID_GL_WATER_SW, ///< SW 'Water'/'Freeform'.
63 WID_GL_AI_BUTTON, ///< 'AI Settings' button.
64 WID_GL_GS_BUTTON, ///< 'Game Script Settings' button.
65 WID_GL_NEWGRF_BUTTON, ///< 'NewGRF Settings' button.
67 WID_GL_CLIMATE_SEL_LABEL, ///< NWID_SELECTION for snow or desert coverage label
68 WID_GL_CLIMATE_SEL_SELECTOR, ///< NWID_SELECTION for snow or desert coverage selector
71 /** Widgets of the #CreateScenarioWindow class. */
72 enum CreateScenarioWidgets : WidgetID {
73 WID_CS_TEMPERATE, ///< Select temperate landscape style.
74 WID_CS_ARCTIC, ///< Select arctic landscape style.
75 WID_CS_TROPICAL, ///< Select tropical landscape style.
76 WID_CS_TOYLAND, ///< Select toy-land landscape style.
77 WID_CS_EMPTY_WORLD, ///< Generate an empty flat world.
78 WID_CS_RANDOM_WORLD, ///< Generate random land button
79 WID_CS_MAPSIZE_X_PULLDOWN, ///< Pull-down arrow for x map size.
80 WID_CS_MAPSIZE_Y_PULLDOWN, ///< Pull-down arrow for y map size.
81 WID_CS_START_DATE_DOWN, ///< Decrease start year (start earlier).
82 WID_CS_START_DATE_TEXT, ///< Clickable start date value.
83 WID_CS_START_DATE_UP, ///< Increase start year (start later).
84 WID_CS_FLAT_LAND_HEIGHT_DOWN, ///< Decrease flat land height.
85 WID_CS_FLAT_LAND_HEIGHT_TEXT, ///< Clickable flat land height value.
86 WID_CS_FLAT_LAND_HEIGHT_UP, ///< Increase flat land height.
89 /** Widgets of the #GenerateProgressWindow class. */
90 enum GenerationProgressWidgets : WidgetID {
91 WID_GP_PROGRESS_BAR, ///< Progress bar.
92 WID_GP_PROGRESS_TEXT, ///< Text with the progress bar.
93 WID_GP_ABORT, ///< Abort button.
96 #endif /* WIDGETS_GENWORLD_WIDGET_H */