Moved game save notification to StartGameNotification
This commit is contained in:
@@ -30,9 +30,6 @@ namespace OpenRA.Network
|
|||||||
[FluentReference]
|
[FluentReference]
|
||||||
const string GameStarted = "notification-game-has-started";
|
const string GameStarted = "notification-game-has-started";
|
||||||
|
|
||||||
[FluentReference]
|
|
||||||
const string GameSaved = "notification-game-saved";
|
|
||||||
|
|
||||||
[FluentReference("player")]
|
[FluentReference("player")]
|
||||||
const string GamePaused = "notification-game-paused";
|
const string GamePaused = "notification-game-paused";
|
||||||
|
|
||||||
@@ -213,9 +210,6 @@ namespace OpenRA.Network
|
|||||||
}
|
}
|
||||||
|
|
||||||
case "GameSaved":
|
case "GameSaved":
|
||||||
if (!orderManager.World.IsReplay)
|
|
||||||
TextNotificationsManager.AddSystemLine(GameSaved);
|
|
||||||
|
|
||||||
foreach (var nsr in orderManager.World.WorldActor.TraitsImplementing<INotifyGameSaved>())
|
foreach (var nsr in orderManager.World.WorldActor.TraitsImplementing<INotifyGameSaved>())
|
||||||
nsr.GameSaved(orderManager.World);
|
nsr.GameSaved(orderManager.World);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -21,6 +21,8 @@ notification-ally-under-attack = Our ally is under attack.
|
|||||||
notification-silos-needed = Silos needed.
|
notification-silos-needed = Silos needed.
|
||||||
|
|
||||||
## world.yaml
|
## world.yaml
|
||||||
|
notification-game-saved = Game saved.
|
||||||
|
|
||||||
options-starting-units =
|
options-starting-units =
|
||||||
.mcv-only = MCV Only
|
.mcv-only = MCV Only
|
||||||
.light-support = Light Support
|
.light-support = Light Support
|
||||||
|
|||||||
@@ -265,6 +265,11 @@ World:
|
|||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: SKIRMISH_STATS
|
PanelName: SKIRMISH_STATS
|
||||||
RadarPings:
|
RadarPings:
|
||||||
|
StartGameNotification:
|
||||||
|
Notification:
|
||||||
|
LoadedNotification:
|
||||||
|
SavedNotification:
|
||||||
|
SavedTextNotification: notification-game-saved
|
||||||
LoadWidgetAtGameStart:
|
LoadWidgetAtGameStart:
|
||||||
ShellmapRoot: MENU_BACKGROUND
|
ShellmapRoot: MENU_BACKGROUND
|
||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
|
|||||||
@@ -87,7 +87,6 @@ notification-lobby-disconnected = { $player } has left.
|
|||||||
|
|
||||||
## UnitOrders
|
## UnitOrders
|
||||||
notification-game-has-started = The game has started.
|
notification-game-has-started = The game has started.
|
||||||
notification-game-saved = Game saved.
|
|
||||||
notification-game-paused = The game has been paused by { $player }.
|
notification-game-paused = The game has been paused by { $player }.
|
||||||
notification-game-unpaused = The game has been un-paused by { $player }.
|
notification-game-unpaused = The game has been un-paused by { $player }.
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,8 @@ notification-cannot-build-here = Cannot build here.
|
|||||||
notification-one-of-our-buildings-has-been-captured = One of our buildings has been captured.
|
notification-one-of-our-buildings-has-been-captured = One of our buildings has been captured.
|
||||||
|
|
||||||
## world.yaml
|
## world.yaml
|
||||||
|
notification-game-saved = Game saved.
|
||||||
|
|
||||||
dropdown-map-worms =
|
dropdown-map-worms =
|
||||||
.label = Worms
|
.label = Worms
|
||||||
.description = Worms roam the map, devouring unprepared forces
|
.description = Worms roam the map, devouring unprepared forces
|
||||||
|
|||||||
@@ -246,6 +246,7 @@ World:
|
|||||||
ScriptTriggers:
|
ScriptTriggers:
|
||||||
CellTriggerOverlay:
|
CellTriggerOverlay:
|
||||||
StartGameNotification:
|
StartGameNotification:
|
||||||
|
SavedTextNotification: notification-game-saved
|
||||||
FlashPostProcessEffect:
|
FlashPostProcessEffect:
|
||||||
Type: flash
|
Type: flash
|
||||||
Color: E2DD8F4D
|
Color: E2DD8F4D
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ notification-ally-under-attack = Our ally is under attack.
|
|||||||
notification-silos-needed = Silos needed.
|
notification-silos-needed = Silos needed.
|
||||||
|
|
||||||
## world.yaml
|
## world.yaml
|
||||||
|
notification-game-saved = Game saved.
|
||||||
|
|
||||||
options-starting-units =
|
options-starting-units =
|
||||||
.mcv-only = MCV Only
|
.mcv-only = MCV Only
|
||||||
.light-support = Light Support
|
.light-support = Light Support
|
||||||
|
|||||||
@@ -271,6 +271,7 @@ World:
|
|||||||
DebugPauseState:
|
DebugPauseState:
|
||||||
RadarPings:
|
RadarPings:
|
||||||
StartGameNotification:
|
StartGameNotification:
|
||||||
|
SavedTextNotification: notification-game-saved
|
||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: SKIRMISH_STATS
|
PanelName: SKIRMISH_STATS
|
||||||
LoadWidgetAtGameStart:
|
LoadWidgetAtGameStart:
|
||||||
|
|||||||
@@ -19,6 +19,8 @@ notification-harvester-under-attack = Harvester under attack.
|
|||||||
notification-silos-needed = Silos needed.
|
notification-silos-needed = Silos needed.
|
||||||
|
|
||||||
## World
|
## World
|
||||||
|
notification-game-saved = Game saved.
|
||||||
|
|
||||||
options-starting-units =
|
options-starting-units =
|
||||||
.mcv-only = MCV Only
|
.mcv-only = MCV Only
|
||||||
.light = Light
|
.light = Light
|
||||||
|
|||||||
@@ -381,6 +381,7 @@ World:
|
|||||||
ScreenShaker:
|
ScreenShaker:
|
||||||
RadarPings:
|
RadarPings:
|
||||||
StartGameNotification:
|
StartGameNotification:
|
||||||
|
SavedTextNotification: notification-game-saved
|
||||||
ObjectivesPanel:
|
ObjectivesPanel:
|
||||||
PanelName: SKIRMISH_STATS
|
PanelName: SKIRMISH_STATS
|
||||||
LoadWidgetAtGameStart:
|
LoadWidgetAtGameStart:
|
||||||
|
|||||||
Reference in New Issue
Block a user