Fix: CmdSetAutoReplace didn't validate group type and engine type match (#9950)
[openttd-github.git] / src / toolbar_gui.h
blob5b8000f0c19fb1f9afbfb31b2d22a2834911350b
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 toolbar_gui.h Stuff related to the (main) toolbar. */
10 #ifndef TOOLBAR_GUI_H
11 #define TOOLBAR_GUI_H
13 enum MainToolbarHotkeys {
14 MTHK_PAUSE,
15 MTHK_FASTFORWARD,
16 MTHK_SETTINGS,
17 MTHK_SAVEGAME,
18 MTHK_LOADGAME,
19 MTHK_SMALLMAP,
20 MTHK_TOWNDIRECTORY,
21 MTHK_SUBSIDIES,
22 MTHK_STATIONS,
23 MTHK_FINANCES,
24 MTHK_COMPANIES,
25 MTHK_STORY,
26 MTHK_GOAL,
27 MTHK_GRAPHS,
28 MTHK_LEAGUE,
29 MTHK_INDUSTRIES,
30 MTHK_TRAIN_LIST,
31 MTHK_ROADVEH_LIST,
32 MTHK_SHIP_LIST,
33 MTHK_AIRCRAFT_LIST,
34 MTHK_ZOOM_IN,
35 MTHK_ZOOM_OUT,
36 MTHK_BUILD_RAIL,
37 MTHK_BUILD_ROAD,
38 MTHK_BUILD_TRAM,
39 MTHK_BUILD_DOCKS,
40 MTHK_BUILD_AIRPORT,
41 MTHK_BUILD_TREES,
42 MTHK_MUSIC,
43 MTHK_LANDINFO,
44 MTHK_AI_DEBUG,
45 MTHK_SMALL_SCREENSHOT,
46 MTHK_ZOOMEDIN_SCREENSHOT,
47 MTHK_DEFAULTZOOM_SCREENSHOT,
48 MTHK_GIANT_SCREENSHOT,
49 MTHK_CHEATS,
50 MTHK_TERRAFORM,
51 MTHK_EXTRA_VIEWPORT,
52 MTHK_CLIENT_LIST,
53 MTHK_SIGN_LIST
56 void AllocateToolbar();
57 void ToggleBoundingBoxes();
58 void ToggleDirtyBlocks();
60 extern uint _toolbar_width;
62 #endif /* TOOLBAR_GUI_H */