1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(svn r10331) -Feature: Add the possibility of automatically filling in timetables based on

the times from the first (or subsequent) run-throughs.
This commit is contained in:
maedhros
2007-06-25 20:55:43 +00:00
parent 2fce0506a6
commit 4af9ca5335
6 changed files with 116 additions and 24 deletions

View File

@@ -179,6 +179,7 @@ DEF_COMMAND(CmdSetGroupReplaceProtection);
DEF_COMMAND(CmdMoveOrder);
DEF_COMMAND(CmdChangeTimetable);
DEF_COMMAND(CmdSetVehicleOnTime);
DEF_COMMAND(CmdAutofillTimetable);
/* The master command table */
static const Command _command_proc_table[] = {
@@ -335,6 +336,7 @@ static const Command _command_proc_table[] = {
{CmdMoveOrder, 0}, /* 127 */
{CmdChangeTimetable, 0}, /* 128 */
{CmdSetVehicleOnTime, 0}, /* 129 */
{CmdAutofillTimetable, 0}, /* 130 */
};
/* This function range-checks a cmd, and checks if the cmd is not NULL */