Add message for sudden death
authorunc0rr
Sun, 06 Jul 2008 23:32:10 +0000
changeset 1063 a86328091611
parent 1062 7b148e157a67
child 1064 9e0701c56fb3
Add message for sudden death
hedgewars/uGears.pas
hedgewars/uLocale.pas
share/hedgewars/Data/Locale/bg.txt
share/hedgewars/Data/Locale/de.txt
share/hedgewars/Data/Locale/en.txt
share/hedgewars/Data/Locale/fr.txt
share/hedgewars/Data/Locale/it.txt
share/hedgewars/Data/Locale/pl.txt
share/hedgewars/Data/Locale/ru.txt
share/hedgewars/Data/Locale/sk.txt
--- a/hedgewars/uGears.pas	Sun Jul 06 23:11:02 2008 +0000
+++ b/hedgewars/uGears.pas	Sun Jul 06 23:32:10 2008 +0000
@@ -505,7 +505,11 @@
                     end
                  end;
        stHealth: begin
-                 if TotalRounds = 15 then cHealthDecrease:= 5;
+                 if (TotalRounds = 15) and (cHealthDecrease = 0) then
+                    begin
+                    cHealthDecrease:= 5;
+                    AddCaption(trmsg[sidSuddenDeath], $FFFFFF, capgrpGameState)
+                    end;
 
                  if (cHealthDecrease = 0)
                    or bBetweenTurns
--- a/hedgewars/uLocale.pas	Sun Jul 06 23:11:02 2008 +0000
+++ b/hedgewars/uLocale.pas	Sun Jul 06 23:32:10 2008 +0000
@@ -26,7 +26,7 @@
                    sidKamikaze);
 
      TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume, sidPaused,
-                  sidConfirm);
+                  sidConfirm, sidSuddenDeath);
 
 var trammo: array[TAmmoStrId] of string;
     trmsg: array[TMsgStrId] of string;
--- a/share/hedgewars/Data/Locale/bg.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/bg.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -31,3 +31,4 @@
 01:03=Звук %1%
 01:04=На Пауза
 01:05=Really quit (Y/Esc)?
+01:06=Sudden death!
--- a/share/hedgewars/Data/Locale/de.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/de.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -31,3 +31,4 @@
 01:03=Lautstärke %1%
 01:04=Pausiert
 01:05=Really quit (Y/Esc)?
+01:06=Sudden death!
--- a/share/hedgewars/Data/Locale/en.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/en.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -30,4 +30,5 @@
 01:02=%1 wins!
 01:03=Volume %1%
 01:04=Paused
-01:05=Really quit (Y/Esc)?
\ No newline at end of file
+01:05=Really quit (Y/Esc)?
+01:06=Sudden death!
--- a/share/hedgewars/Data/Locale/fr.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/fr.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -30,4 +30,5 @@
 01:02=%1 gagne!
 01:03=Volume %1%
 01:04=Pause
-01:05=Really quit (Y/Esc)?
\ No newline at end of file
+01:05=Really quit (Y/Esc)?
+01:06=Sudden death!
--- a/share/hedgewars/Data/Locale/it.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/it.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -31,3 +31,4 @@
 01:03=Volume %1%
 01:04=In pausa
 01:05=Vuoi davvero uscire (Y/Esc)?
+01:06=Sudden death!
--- a/share/hedgewars/Data/Locale/pl.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/pl.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -31,3 +31,4 @@
 01:03=Głośność %1%
 01:04=Gra wstrzymana
 01:05=Really quit (Y/Esc)?
+01:06=Sudden death!
--- a/share/hedgewars/Data/Locale/ru.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/ru.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -31,3 +31,4 @@
 01:03=Громкость %1%
 01:04=Пауза
 01:05=Точно выйти (Y/Esc)?
+01:06=Скоро погибель!
--- a/share/hedgewars/Data/Locale/sk.txt	Sun Jul 06 23:11:02 2008 +0000
+++ b/share/hedgewars/Data/Locale/sk.txt	Sun Jul 06 23:32:10 2008 +0000
@@ -30,4 +30,5 @@
 01:02=%1 vyhral!
 01:03=Hlasitosť %1%
 01:04=Pauza
-01:05=Really quit (Y/Esc)?
\ No newline at end of file
+01:05=Really quit (Y/Esc)?
+01:06=Sudden death!