(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum...
[openttd.git] / src / rail_gui.h
blobe7a03b9120219aabf8b70545b705e4bd6ea0016e
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 rail_gui.h Functions/types etc. related to the rail GUI. */
12 #ifndef RAIL_GUI_H
13 #define RAIL_GUI_H
15 #include "rail_type.h"
16 #include "widgets/dropdown_type.h"
18 struct Window *ShowBuildRailToolbar(RailType railtype);
19 void ReinitGuiAfterToggleElrail(bool disable);
20 bool ResetSignalVariant(int32 = 0);
21 void InitializeRailGUI();
22 DropDownList *GetRailTypeDropDownList(bool for_replacement = false, bool all_option = false);
24 #endif /* RAIL_GUI_H */