Add timetable lateness/earliness conditional order
This commit is contained in:
@@ -79,6 +79,7 @@ enum StringControlCode {
|
||||
SCC_DATE_WALLCLOCK_ISO,
|
||||
|
||||
SCC_TIME_HHMM,
|
||||
SCC_TT_TICKS,
|
||||
|
||||
/* Must be consecutive */
|
||||
SCC_STRING1,
|
||||
|
@@ -36,6 +36,7 @@ static bool CheckFreeformEdges(int32 p1);
|
||||
static bool ChangeDynamicEngines(int32 p1);
|
||||
static bool StationCatchmentChanged(int32 p1);
|
||||
static bool InvalidateVehTimetableWindow(int32 p1);
|
||||
static bool ChangeTimetableInTicksMode(int32 p1);
|
||||
static bool UpdateTimeSettings(int32 p1);
|
||||
static bool ChangeTimeOverrideMode(int32 p1);
|
||||
static bool InvalidateCompanyLiveryWindow(int32 p1);
|
||||
@@ -4439,7 +4440,7 @@ flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC
|
||||
def = false
|
||||
str = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS
|
||||
strhelp = STR_CONFIG_SETTING_TIMETABLE_IN_TICKS_HELPTEXT
|
||||
proc = InvalidateVehTimetableWindow
|
||||
proc = ChangeTimetableInTicksMode
|
||||
cat = SC_EXPERT
|
||||
|
||||
;; gui.time_in_minutes
|
||||
|
@@ -101,6 +101,7 @@ static const CmdStruct _cmd_structs[] = {
|
||||
{"DATE_WALLCLOCK_ISO", EmitSingleChar, SCC_DATE_WALLCLOCK_ISO, 1, -1, C_NONE},
|
||||
|
||||
{"TIME_HHMM", EmitSingleChar, SCC_TIME_HHMM, 1, -1, C_NONE},
|
||||
{"TT_TICKS", EmitSingleChar, SCC_TT_TICKS, 1, -1, C_NONE},
|
||||
|
||||
{"STRING", EmitSingleChar, SCC_STRING, 1, -1, C_CASE | C_GENDER},
|
||||
{"RAW_STRING", EmitSingleChar, SCC_RAW_STRING_POINTER, 1, -1, C_NONE | C_GENDER},
|
||||
|
Reference in New Issue
Block a user