Go to the documentation of this file.
1 /* $Id: timetable.h 18809 2010-01-15 16:41:15Z 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 <>.
8  */
12 #ifndef TIMETABLE_H
13 #define TIMETABLE_H
15 #include "date_type.h"
16 #include "vehicle_type.h"
18 void ShowTimetableWindow(const Vehicle *v);
19 void UpdateVehicleTimetable(Vehicle *v, bool travelling);
20 void SetTimetableParams(int param1, int param2, Ticks ticks);
22 #endif /* TIMETABLE_H */
Vehicle data structure.
Definition: vehicle_base.h:212
void ShowTimetableWindow(const Vehicle *v)
Show the timetable for a given vehicle.
void UpdateVehicleTimetable(Vehicle *v, bool travelling)
Update the timetable for the vehicle.
int32 Ticks
The type to store ticks in.
Definition: date_type.h:18
Types related to vehicles.
void SetTimetableParams(int param1, int param2, Ticks ticks)
Set the timetable parameters in the format as described by the setting.
Types related to the dates in OpenTTD.