aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-01-14 17:51:44 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-01-14 17:51:44 +0000
commitf9aeb4b3618d327bc0475ffe72b755fe0d5156fe (patch)
tree2c645e7f175e54821eedcbdcf4b115f567014354 /src/screens
parent9f89fe4ddce40eb79dacef382af3b3d9614e31fa (diff)
downloadusdx-f9aeb4b3618d327bc0475ffe72b755fe0d5156fe.tar.gz
usdx-f9aeb4b3618d327bc0475ffe72b755fe0d5156fe.tar.xz
usdx-f9aeb4b3618d327bc0475ffe72b755fe0d5156fe.zip
rating icon bouncing depends on time now instead of frames
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2090 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens')
-rw-r--r--src/screens/UScreenScore.pas8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/screens/UScreenScore.pas b/src/screens/UScreenScore.pas
index 1b965832..bbc0be1d 100644
--- a/src/screens/UScreenScore.pas
+++ b/src/screens/UScreenScore.pas
@@ -347,7 +347,12 @@ begin
// GoldenNotebonus
else if (BarGolden_EaseOut_Step < EaseOut_MaxSteps * 10) then
- BarGolden_EaseOut_Step := BarGolden_EaseOut_Step + 1;
+ BarGolden_EaseOut_Step := BarGolden_EaseOut_Step + 1
+
+ // rating icon
+ else
+ for I := 1 to PlayersPlay do
+ CalculateBouncing(I);
end;
end;
@@ -672,7 +677,6 @@ var
ThemeIndex: integer;
begin
ThemeIndex := PlayerPositionMap[PlayerNumber-1].Position;
- CalculateBouncing(PlayerNumber);
PosX := Theme.Score.StaticRatings[ThemeIndex].X + (Theme.Score.StaticRatings[ThemeIndex].W * 0.5);
PosY := Theme.Score.StaticRatings[ThemeIndex].Y + (Theme.Score.StaticRatings[ThemeIndex].H * 0.5); ;