Show snow on depot tiles. (Looks weird my ass)
[openttd-joker.git] / src / widgets / toolbar_widget.h
blob2e0c3dc75b690ab9885522be7dce12a02e97dc7b
1 /* $Id: toolbar_widget.h 25376 2013-06-09 13:37:04Z zuu $ */
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 toolbar_widget.h Types related to the toolbar widgets. */
12 #ifndef WIDGETS_TOOLBAR_WIDGET_H
13 #define WIDGETS_TOOLBAR_WIDGET_H
15 /** Widgets of the #MainToolbarWindow class. */
16 enum ToolbarNormalWidgets {
17 WID_TN_PAUSE, ///< Pause the game.
18 WID_TN_FAST_FORWARD, ///< Fast forward the game.
19 WID_TN_SETTINGS, ///< Settings menu.
20 WID_TN_SAVE, ///< Save menu.
21 WID_TN_SMALL_MAP, ///< Small map menu.
22 WID_TN_TOWNS, ///< Town menu.
23 WID_TN_SUBSIDIES, ///< Subsidy menu.
24 WID_TN_STATIONS, ///< Station menu.
25 WID_TN_FINANCES, ///< Finance menu.
26 WID_TN_COMPANIES, ///< Company menu.
27 WID_TN_STORY, ///< Story menu.
28 WID_TN_GOAL, ///< Goal menu.
29 WID_TN_GRAPHS, ///< Graph menu.
30 WID_TN_LEAGUE, ///< Company league menu.
31 WID_TN_INDUSTRIES, ///< Industry menu.
32 WID_TN_VEHICLE_START, ///< Helper for the offset of the vehicle menus.
33 WID_TN_TRAINS = WID_TN_VEHICLE_START, ///< Train menu.
34 WID_TN_ROADVEHS, ///< Road vehicle menu.
35 WID_TN_SHIPS, ///< Ship menu.
36 WID_TN_AIRCRAFTS, ///< Aircraft menu.
37 WID_TN_ZOOM_IN, ///< Zoom in the main viewport.
38 WID_TN_ZOOM_OUT, ///< Zoom out the main viewport.
39 WID_TN_BUILDING_TOOLS_START, ///< Helper for the offset of the building tools
40 WID_TN_RAILS = WID_TN_BUILDING_TOOLS_START, ///< Rail building menu.
41 WID_TN_ROADS, ///< Road building menu.
42 WID_TN_WATER, ///< Water building toolbar.
43 WID_TN_AIR, ///< Airport building toolbar.
44 WID_TN_LANDSCAPE, ///< Landscaping toolbar.
45 WID_TN_MUSIC_SOUND, ///< Music/sound configuration menu.
46 WID_TN_MESSAGES, ///< Messages menu.
47 WID_TN_HELP, ///< Help menu.
48 WID_TN_SWITCH_BAR, ///< Only available when toolbar has been split to switch between different subsets.
49 WID_TN_END, ///< Helper for knowing the amount of widgets.
52 /** Widgets of the #ScenarioEditorToolbarWindow class. */
53 enum ToolbarEditorWidgets {
54 WID_TE_PAUSE, ///< Pause the game.
55 WID_TE_FAST_FORWARD, ///< Fast forward the game.
56 WID_TE_SETTINGS, ///< Settings menu.
57 WID_TE_SAVE, ///< Save menu.
58 WID_TE_SPACER, ///< Spacer with "scenario editor" text.
59 WID_TE_DATE, ///< The date of the scenario.
60 WID_TE_DATE_BACKWARD, ///< Reduce the date of the scenario.
61 WID_TE_DATE_FORWARD, ///< Increase the date of the scenario.
62 WID_TE_SMALL_MAP, ///< Small map menu.
63 WID_TE_ZOOM_IN, ///< Zoom in the main viewport.
64 WID_TE_ZOOM_OUT, ///< Zoom out the main viewport.
65 WID_TE_LAND_GENERATE, ///< Land generation.
66 WID_TE_TOWN_GENERATE, ///< Town building window.
67 WID_TE_INDUSTRY, ///< Industry building window.
68 WID_TE_ROADS, ///< Road building menu.
69 WID_TE_WATER, ///< Water building toolbar.
70 WID_TE_TREES, ///< Tree building toolbar.
71 WID_TE_SIGNS, ///< Sign building.
72 WID_TE_DATE_PANEL, ///< Container for the date widgets.
73 /* The following three need to have the same actual widget number as the normal toolbar due to shared code. */
74 WID_TE_MUSIC_SOUND = WID_TN_MUSIC_SOUND, ///< Music/sound configuration menu.
75 WID_TE_HELP = WID_TN_HELP, ///< Help menu.
76 WID_TE_SWITCH_BAR = WID_TN_SWITCH_BAR, ///< Only available when toolbar has been split to switch between different subsets.
79 #endif /* WIDGETS_TOOLBAR_WIDGET_H */