Tracerestrict: Add status test for if train is stopping at order destination

Station/waypoint of current order
This commit is contained in:
Jonathan G Rennison
2023-04-11 22:01:51 +01:00
parent cfc6b1b302
commit 55f11129c8
5 changed files with 21 additions and 1 deletions

View File

@@ -306,6 +306,7 @@ static const StringID _train_status_value_str[] = {
STR_TRACE_RESTRICT_TRAIN_STATUS_WAITING,
STR_TRACE_RESTRICT_TRAIN_STATUS_LOST,
STR_TRACE_RESTRICT_TRAIN_STATUS_REQUIRES_SERVICE,
STR_TRACE_RESTRICT_TRAIN_STATUS_STOPPING_AT_STATION_WAYPOINT,
INVALID_STRING_ID
};
static const uint _train_status_value_val[] = {
@@ -320,6 +321,7 @@ static const uint _train_status_value_val[] = {
TRTSVF_WAITING,
TRTSVF_LOST,
TRTSVF_REQUIRES_SERVICE,
TRTSVF_STOPPING_AT_STATION_WAYPOINT,
};
/** value drop down list for train status type strings and values */