aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-06 12:18:01 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-06 12:18:01 +0000
commit93f69ff9a0c9b05dfbbdcf6f7d737a68fc4d3bd1 (patch)
tree2e78e1b8acb099c952ff1c4931dcc0e4d013900d /Game/Code/Screens
parentb2a824d8f4fcf4d9038e2a360ac586fb0279e739 (diff)
downloadusdx-93f69ff9a0c9b05dfbbdcf6f7d737a68fc4d3bd1.tar.gz
usdx-93f69ff9a0c9b05dfbbdcf6f7d737a68fc4d3bd1.tar.xz
usdx-93f69ff9a0c9b05dfbbdcf6f7d737a68fc4d3bd1.zip
- removed (linux incompatible) PngImage. In addition it was rather outdated (from 2003, newest version is from 2006)
- introduced UImage-unit for JPG/PNG/BMP image saving - the png part uses the libpng12-0.dll (part of SDL_Image) so - the jpg part uses either Delphi's Jpeg unit or FPC's base/pasjpeg unit -> so no additional libs are needed. git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1007 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenScore.pas14
-rw-r--r--Game/Code/Screens/UScreenTop5.pas2
2 files changed, 14 insertions, 2 deletions
diff --git a/Game/Code/Screens/UScreenScore.pas b/Game/Code/Screens/UScreenScore.pas
index 3ce60b2b..9a13681b 100644
--- a/Game/Code/Screens/UScreenScore.pas
+++ b/Game/Code/Screens/UScreenScore.pas
@@ -175,7 +175,7 @@ begin
end;
SDLK_SYSREQ:
begin
- Display.PrintScreen;
+ Display.SaveScreenShot;
end;
end;
end;
@@ -619,6 +619,7 @@ begin
end;
// end todo
+ {{$IFDEF TRANSLATE}
case (Player[PlayerNumber-1].ScoreTotalI) of
0..2000:
begin
@@ -656,6 +657,17 @@ begin
Rating := 6;
end;
end;
+ {{$ELSE}{
+ case (Player[PlayerNumber-1].ScoreTotalI) of
+ 0..2000: Text[TextScore[fu]].Text := 'Tone Deaf';
+ 2010..4000: Text[TextScore[fu]].Text := 'Amateur';
+ 4010..6000: Text[TextScore[fu]].Text := 'Rising Star';
+ 6010..8000: Text[TextScore[fu]].Text := 'Lead Singer';
+ 8010..9000: Text[TextScore[fu]].Text := 'Hit Artist';
+ 9010..9800: Text[TextScore[fu]].Text := 'Superstar';
+ 9810..10000: Text[TextScore[fu]].Text := 'Ultrastar';
+ end;
+ {$ENDIF}
// Bounce the rating picture in
PosX := aPlayerScoreScreenRatings[PlayerNumber].RatePic_X + (aPlayerScoreScreenRatings[PlayerNumber].RatePic_Width / 2);
diff --git a/Game/Code/Screens/UScreenTop5.pas b/Game/Code/Screens/UScreenTop5.pas
index 4b3356dc..2a673880 100644
--- a/Game/Code/Screens/UScreenTop5.pas
+++ b/Game/Code/Screens/UScreenTop5.pas
@@ -59,7 +59,7 @@ begin
end;
SDLK_SYSREQ:
begin
- Display.PrintScreen;
+ Display.SaveScreenShot;
end;
end;
end;