Show random event message on round start, instead of the static one
authorWuzzy <almikes@aol.com>
Thu, 06 Apr 2017 22:02:29 +0200
changeset 12174 4a9e2ece6667
parent 12173 b88a4033ab45
child 12175 9237bfb198c7
Show random event message on round start, instead of the static one
hedgewars/uGearsHandlersMess.pas
hedgewars/uTypes.pas
share/hedgewars/Data/Locale/en.txt
--- a/hedgewars/uGearsHandlersMess.pas	Thu Apr 06 21:49:59 2017 +0200
+++ b/hedgewars/uGearsHandlersMess.pas	Thu Apr 06 22:02:29 2017 +0200
@@ -1425,7 +1425,7 @@
         AllInactive := false;
         if Gear^.Timer = 0 then
             begin
-            AddCaption(trmsg[sidStartFight], cWhiteColor, capgrpGameState);
+            AddCaption(GetEventString(eidRoundStart), cWhiteColor, capgrpGameState);
             end
         end;
     gtATFinishGame:
--- a/hedgewars/uTypes.pas	Thu Apr 06 21:49:59 2017 +0200
+++ b/hedgewars/uTypes.pas	Thu Apr 06 22:02:29 2017 +0200
@@ -456,6 +456,7 @@
             sidDrillStrike, sidSnowball, sidNothing, sidTardis,
             {sidStructure,} sidLandGun, sidIceGun, sidKnife, sidRubber, sidAirMine);
 
+    // sidStartFight is unused and free to be replaced
     TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume, sidPaused,
             sidConfirm, sidSuddenDeath, sidRemaining, sidFuel, sidSync,
             sidNoEndTurn, sidNotYetAvailable, sidRoundSD, sidRoundsSD, sidReady,
--- a/share/hedgewars/Data/Locale/en.txt	Thu Apr 06 21:49:59 2017 +0200
+++ b/share/hedgewars/Data/Locale/en.txt	Thu Apr 06 22:02:29 2017 +0200
@@ -61,7 +61,7 @@
 00:57=Rubber
 00:58=Air Mine
 
-01:00=Let's fight!
+01:00=UNUSED
 01:01=Round draw
 01:02=%1 wins!
 01:03=Volume %1%