Fix some daylength issues, possible division by zero in main menu.
[openttd-joker.git] / src / departures_func.h
blob99574904eb879b2efd88d72dfef61d8360eade25
1 /* $Id: departures_func.h $ */
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 departures_func.h Functions related to departures. */
12 #ifndef DEPARTURES_FUNC_H
13 #define DEPARTURES_FUNC_H
15 #include "station_base.h"
16 #include "core/smallvec_type.hpp"
17 #include "departures_type.h"
19 DepartureList* MakeDepartureList(StationID station,
20 bool show_vehicle_types[4],
21 DepartureType type = D_DEPARTURE,
22 bool show_vehicles_via = false,
23 bool show_pax = true,
24 bool show_freight = true);
26 #endif /* DEPARTURES_FUNC_H */