Timetable window: Add further hints about automation with auto-separate

This commit is contained in:
Jonathan G Rennison
2022-10-08 19:35:24 +01:00
parent d61fbb977e
commit 63699e3f24
2 changed files with 4 additions and 0 deletions

View File

@@ -5887,6 +5887,8 @@ STR_TIMETABLE_NON_TIMETABLED_BRANCH :{BLACK}Not all
STR_TIMETABLE_WARNING_NO_SCHEDULED_DISPATCH_ORDER_ASSIGNED :{BLACK}The dispatch schedule is not assigned to an order STR_TIMETABLE_WARNING_NO_SCHEDULED_DISPATCH_ORDER_ASSIGNED :{BLACK}The dispatch schedule is not assigned to an order
STR_TIMETABLE_WARNING_SCHEDULED_DISPATCH_ORDER_NO_WAIT_TIME :{BLACK}The scheduled dispatch order should have a timetabled wait time STR_TIMETABLE_WARNING_SCHEDULED_DISPATCH_ORDER_NO_WAIT_TIME :{BLACK}The scheduled dispatch order should have a timetabled wait time
STR_TIMETABLE_WARNING_SCHEDULE_ID :{BLACK}Schedule {NUM}: {STRING} STR_TIMETABLE_WARNING_SCHEDULE_ID :{BLACK}Schedule {NUM}: {STRING}
STR_TIMETABLE_FILL_TIMETABLE_SUGGESTION :{BLACK}Enable 'Automate' to automatically fill in and update the wait and travel times.
STR_TIMETABLE_FILL_TIMETABLE_SUGGESTION_2 :{BLACK}(Alternatively, enable 'Autofill' or manually fill in all the timetable fields).
STR_TIMETABLE_WARNINGS_OMITTED :{BLACK}{NUM} further warnings omitted... STR_TIMETABLE_WARNINGS_OMITTED :{BLACK}{NUM} further warnings omitted...

View File

@@ -311,6 +311,8 @@ void ProcessTimetableWarnings(const Vehicle *v, std::function<void(StringID, boo
handler(STR_TIMETABLE_AUTOSEP_TIMETABLE_INCOMPLETE, false); handler(STR_TIMETABLE_AUTOSEP_TIMETABLE_INCOMPLETE, false);
} else { } else {
handler(STR_TIMETABLE_WARNING_AUTOSEP_MISSING_TIMINGS, true); handler(STR_TIMETABLE_WARNING_AUTOSEP_MISSING_TIMINGS, true);
handler(STR_TIMETABLE_FILL_TIMETABLE_SUGGESTION, false);
handler(STR_TIMETABLE_FILL_TIMETABLE_SUGGESTION_2, false);
} }
} else if (v->GetNumOrders() == 0) { } else if (v->GetNumOrders() == 0) {
handler(STR_TIMETABLE_AUTOSEP_TIMETABLE_INCOMPLETE, false); handler(STR_TIMETABLE_AUTOSEP_TIMETABLE_INCOMPLETE, false);