diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-10-05 18:28:42 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-10-05 18:28:42 +0000 |
commit | 65ddad359ed3b9b739215ec89a7645455ae10dce (patch) | |
tree | 7fdc703f290b37e68ce0e6a2c56d5bdd2f7ee07b /Game/Code/Screens/UScreenSongMenu.pas | |
parent | dbe444f87b85da27a37f38e80bfd540178b8dde0 (diff) | |
download | usdx-65ddad359ed3b9b739215ec89a7645455ae10dce.tar.gz usdx-65ddad359ed3b9b739215ec89a7645455ae10dce.tar.xz usdx-65ddad359ed3b9b739215ec89a7645455ae10dce.zip |
- added webcam support
- faster program start
- faster sorting (mergesort)
- sync lyrics to music
- some new backgrounds and credits graphics (thx to MezzoX)
- own thread for video decoding
- finished 6-Player-on-one-screen-mode
- changqed player-colors
- fixed some bugs...
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2637 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens/UScreenSongMenu.pas')
-rw-r--r-- | Game/Code/Screens/UScreenSongMenu.pas | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/Game/Code/Screens/UScreenSongMenu.pas b/Game/Code/Screens/UScreenSongMenu.pas index 72ec1337..dbdea42e 100644 --- a/Game/Code/Screens/UScreenSongMenu.pas +++ b/Game/Code/Screens/UScreenSongMenu.pas @@ -151,8 +151,7 @@ begin Result := false;
end;
- SDLK_ESCAPE,
- SDLK_BACKSPACE :
+ SDLK_ESCAPE:
begin
Music.PlayBack;
Visible := False;
@@ -180,9 +179,10 @@ begin if (CurMenu = SM_Sort) then
Button[3].Visible := (Ini.Sorting <> SelectValue);
- if (ScreenSong.Mode = smParty) and (ScreenSong.Sel3<=0) then
+ if (ScreenSong.Mode = smParty) and (PartySession.Rand3) and (ScreenSong.Sel3<=0) then
begin
- Inc(ScreenSong.Sel3);
+ if (ScreenSong.Sel3<1) then
+ Inc(ScreenSong.Sel3);
Music.PlayChange;
ScreenSong.SelectNext;
ScreenSong.ChangeMusic;
@@ -197,9 +197,10 @@ begin if (CurMenu = SM_Sort) then
Button[3].Visible := (Ini.Sorting <> SelectValue);
- if (ScreenSong.Mode = smParty) and (ScreenSong.Sel3>=0) then
+ if (ScreenSong.Mode = smParty) and (PartySession.Rand3) and (ScreenSong.Sel3>=0) then
begin
- Dec(ScreenSong.Sel3);
+ if (ScreenSong.Sel3>-1) then
+ Dec(ScreenSong.Sel3);
Music.PlayChange;
ScreenSong.SelectPrev;
ScreenSong.ChangeMusic;
|