From 62861ab38eaa28385c3a84ef940fdb7ff6d5c1d1 Mon Sep 17 00:00:00 2001 From: rftrdev <102184004+rftrdev@users.noreply.github.com> Date: Fri, 28 Oct 2022 00:56:35 -0700 Subject: [PATCH] Add notification when new missions are available --- Strategic/Rebel Command.cpp | 3 +++ Utils/_ChineseText.cpp | 1 + Utils/_DutchText.cpp | 1 + Utils/_EnglishText.cpp | 1 + Utils/_FrenchText.cpp | 1 + Utils/_GermanText.cpp | 1 + Utils/_ItalianText.cpp | 1 + Utils/_PolishText.cpp | 1 + Utils/_RussianText.cpp | 1 + 9 files changed, 11 insertions(+) diff --git a/Strategic/Rebel Command.cpp b/Strategic/Rebel Command.cpp index 20aaa4e1..57f7b5e7 100644 --- a/Strategic/Rebel Command.cpp +++ b/Strategic/Rebel Command.cpp @@ -324,6 +324,7 @@ enum RebelCommandText // keep this synced with szRebelCommandText in the text fi RCT_CONFIRM_CHANGE_ADMIN_ACTION_PROMPT, RCT_INSUFFICIENT_SUPPLIES_ADMIN_ACTIONS_DISABLED, RCT_NEW_MISSIONS_AVAILABLE_TIME, + RCT_NEW_MISSIONS_AVAILABLE_NOTIFICATION, RCT_MISSION_PREP_IN_PROGRESS, RCT_MISSION_DURATION_DAYS, RCT_MISSION_SUCCESS_CHANCE, @@ -3936,6 +3937,8 @@ void DailyUpdate() idx++; } } + + ScreenMsg(FONT_MCOLOR_LTYELLOW, MSG_INTERFACE, szRebelCommandText[RCT_NEW_MISSIONS_AVAILABLE_NOTIFICATION]); } } diff --git a/Utils/_ChineseText.cpp b/Utils/_ChineseText.cpp index 6977c562..b0707e9d 100644 --- a/Utils/_ChineseText.cpp +++ b/Utils/_ChineseText.cpp @@ -11935,6 +11935,7 @@ STR16 szRebelCommandText[] = L"更改此指令操作将花费$%d并重置。确认支出?", //L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_DutchText.cpp b/Utils/_DutchText.cpp index 04bc5016..95d2132c 100644 --- a/Utils/_DutchText.cpp +++ b/Utils/_DutchText.cpp @@ -11945,6 +11945,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_EnglishText.cpp b/Utils/_EnglishText.cpp index fd729a35..7ff18a08 100644 --- a/Utils/_EnglishText.cpp +++ b/Utils/_EnglishText.cpp @@ -11935,6 +11935,7 @@ STR16 szRebelCommandText[] = L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_FrenchText.cpp b/Utils/_FrenchText.cpp index fae83165..2b9c1648 100644 --- a/Utils/_FrenchText.cpp +++ b/Utils/_FrenchText.cpp @@ -11927,6 +11927,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_GermanText.cpp b/Utils/_GermanText.cpp index 672d3fc1..a95d0834 100644 --- a/Utils/_GermanText.cpp +++ b/Utils/_GermanText.cpp @@ -11849,6 +11849,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_ItalianText.cpp b/Utils/_ItalianText.cpp index 6a02a32b..8973e7e0 100644 --- a/Utils/_ItalianText.cpp +++ b/Utils/_ItalianText.cpp @@ -11936,6 +11936,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_PolishText.cpp b/Utils/_PolishText.cpp index 0e52a590..4e4c06c9 100644 --- a/Utils/_PolishText.cpp +++ b/Utils/_PolishText.cpp @@ -11949,6 +11949,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s", diff --git a/Utils/_RussianText.cpp b/Utils/_RussianText.cpp index 4cea1aeb..94898417 100644 --- a/Utils/_RussianText.cpp +++ b/Utils/_RussianText.cpp @@ -11930,6 +11930,7 @@ STR16 szRebelCommandText[] = // TODO.Translate L"Changing this Admin Action will cost $%d and reset its tier. Confirm expenditure?", L"Insufficient supplies! Admin Actions have been DISABLED.", L"New missions will be available every %d hours.", + L"New missions are available at the A.R.C. website.", L"Mission preparations in progress.", L"Mission duration: %d days", L"Chance of success: %d%s",