--- a/hedgewars/uLocale.pas Sun Jun 22 19:26:01 2008 +0000
+++ b/hedgewars/uLocale.pas Sun Jun 22 20:40:39 2008 +0000
@@ -25,7 +25,8 @@
sidGirder, sidTeleport, sidSwitch, sidMortar, sidWhip,
sidKamikaze);
- TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume, sidPaused);
+ TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume, sidPaused,
+ sidConfirm);
var trammo: array[TAmmoStrId] of string;
trmsg: array[TMsgStrId] of string;
--- a/hedgewars/uStore.pas Sun Jun 22 19:26:01 2008 +0000
+++ b/hedgewars/uStore.pas Sun Jun 22 20:40:39 2008 +0000
@@ -45,7 +45,8 @@
var PixelFormat: PSDL_PixelFormat;
SDLPrimSurface: PSDL_Surface;
- PauseTexture: PTexture;
+ PauseTexture,
+ ConfirmTexture: PTexture;
implementation
uses uMisc, uConsole, uLand, uLocale, GLU;
@@ -295,6 +296,7 @@
InitHealth;
PauseTexture:= RenderStringTex(trmsg[sidPaused], $FFFF00, fntBig);
+ConfirmTexture:= RenderStringTex(trmsg[sidConfirm], $FFFF00, fntBig);
for ai:= Low(TAmmoType) to High(TAmmoType) do
with Ammoz[ai] do
--- a/hedgewars/uWorld.pas Sun Jun 22 19:26:01 2008 +0000
+++ b/hedgewars/uWorld.pas Sun Jun 22 20:40:39 2008 +0000
@@ -389,6 +389,8 @@
end
end;
+if GameState = gsConfirm then DrawCentered(cScreenWidth div 2, cScreenHeight div 2, ConfirmTexture);
+
glDisable(GL_TEXTURE_2D);
glDisable(GL_BLEND)
end;
--- a/share/hedgewars/Data/Locale/en.txt Sun Jun 22 19:26:01 2008 +0000
+++ b/share/hedgewars/Data/Locale/en.txt Sun Jun 22 20:40:39 2008 +0000
@@ -29,4 +29,5 @@
01:01=Round draw
01:02=%1 wins!
01:03=Volume %1%
-01:04=Paused
\ No newline at end of file
+01:04=Paused
+01:05=Really quit (Y/Esc)?
\ No newline at end of file
--- a/share/hedgewars/Data/Locale/it.txt Sun Jun 22 19:26:01 2008 +0000
+++ b/share/hedgewars/Data/Locale/it.txt Sun Jun 22 20:40:39 2008 +0000
@@ -30,4 +30,4 @@
01:02=%1 vince!
01:03=Volume %1%
01:04=In pausa
-
+01:05=Really quit (Y/Esc)?
--- a/share/hedgewars/Data/Locale/pl.txt Sun Jun 22 19:26:01 2008 +0000
+++ b/share/hedgewars/Data/Locale/pl.txt Sun Jun 22 20:40:39 2008 +0000
@@ -30,3 +30,4 @@
01:02=%1 wygrywają!
01:03=Głośność %1%
01:04=Gra wstrzymana
+01:05=Really quit (Y/Esc)?
--- a/share/hedgewars/Data/Locale/ru.txt Sun Jun 22 19:26:01 2008 +0000
+++ b/share/hedgewars/Data/Locale/ru.txt Sun Jun 22 20:40:39 2008 +0000
@@ -29,4 +29,5 @@
01:01=Ничья
01:02=Победила команда %1!
01:03=Громкость %1%
-01:04=Пауза
\ No newline at end of file
+01:04=Пауза
+01:05=Точно выйти (Y/Esc)?