Fix some daylength issues, possible division by zero in main menu.
[openttd-joker.git] / src / rail_gui.h
blob65934e7389a8c52407ad313426ae0d37a5552eb0
1 /* $Id: rail_gui.h 21867 2011-01-20 12:40:04Z rubidium $ */
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 */