Add string code for absolute timetable time

This commit is contained in:
Jonathan G Rennison
2024-02-22 20:29:11 +00:00
parent 6b12539e3f
commit 45b6079899
4 changed files with 6 additions and 2 deletions

View File

@@ -87,6 +87,7 @@ enum StringControlCode {
SCC_TT_TICKS,
SCC_TT_TICKS_LONG,
SCC_TT_TIME,
SCC_TT_TIME_ABS,
/* Must be consecutive */
SCC_STRING1,

View File

@@ -108,6 +108,7 @@ static const CmdStruct _cmd_structs[] = {
{"TT_TICKS", EmitSingleChar, SCC_TT_TICKS, 1, -1, C_NONE},
{"TT_TICKS_LONG", EmitSingleChar, SCC_TT_TICKS_LONG, 1, -1, C_NONE},
{"TT_TIME", EmitSingleChar, SCC_TT_TIME, 1, -1, C_NONE},
{"TT_TIME_ABS", EmitSingleChar, SCC_TT_TIME_ABS, 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},