aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenMain.pas
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-03 00:19:52 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-05-03 00:19:52 +0000
commit5bf0ebf274fef28811ab952338bd261bd1dd0fa8 (patch)
treef6271ebd739455d74a7e6e4abd535c7ad3413b33 /Game/Code/Screens/UScreenMain.pas
parent28b809432bd8064400bbc9a52a4e354debf86bb6 (diff)
downloadusdx-5bf0ebf274fef28811ab952338bd261bd1dd0fa8.tar.gz
usdx-5bf0ebf274fef28811ab952338bd261bd1dd0fa8.tar.xz
usdx-5bf0ebf274fef28811ab952338bd261bd1dd0fa8.zip
added "popups" to ask for confirmation when leaving party mode or game or to display messages (like minor errors)
still ugly, needs some theme work git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@157 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenMain.pas10
1 files changed, 7 insertions, 3 deletions
diff --git a/Game/Code/Screens/UScreenMain.pas b/Game/Code/Screens/UScreenMain.pas
index 78c98218..f339fa04 100644
--- a/Game/Code/Screens/UScreenMain.pas
+++ b/Game/Code/Screens/UScreenMain.pas
@@ -55,7 +55,9 @@ begin
SDLK_ESCAPE :
begin
- Result := False;
+ //popup hack
+ CheckFadeTo(NIL,'MSG_QUIT_USDX');
+// Result := False;
end;
SDLK_C:
@@ -116,7 +118,7 @@ begin
Music.PlayStart;
FadeTo(@ScreenStatMain);
end;
-
+
//Editor
if Interaction = 3 then begin
Music.PlayStart;
@@ -131,7 +133,9 @@ begin
//Exit
if Interaction = 5 then begin
- Result := false;
+ //popup hack
+ CheckFadeTo(NIL,'MSG_QUIT_USDX');
+// Result := false;
end;
end;
// Up and Down could be done at the same time,