Fix #9521: Don't load at just removed docks that were part of a multi-dock station...
[openttd-github.git] / src / road_gui.h
blob580c11e32ea37b0f312765c5443f3b9944d4db04
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 road_gui.h Functions/types related to the road GUIs. */
10 #ifndef ROAD_GUI_H
11 #define ROAD_GUI_H
13 #include "road_type.h"
14 #include "tile_type.h"
15 #include "direction_type.h"
16 #include "widgets/dropdown_type.h"
18 struct Window *ShowBuildRoadToolbar(RoadType roadtype);
19 struct Window *ShowBuildRoadScenToolbar(RoadType roadtype);
20 void ConnectRoadToStructure(TileIndex tile, DiagDirection direction);
21 DropDownList GetRoadTypeDropDownList(RoadTramTypes rtts, bool for_replacement = false, bool all_option = false);
22 DropDownList GetScenRoadTypeDropDownList(RoadTramTypes rtts);
23 void InitializeRoadGUI();
25 #endif /* ROAD_GUI_H */