aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens/UScreenSong.pas
diff options
context:
space:
mode:
authormogguh <mogguh@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-25 19:46:45 +0000
committermogguh <mogguh@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-08-25 19:46:45 +0000
commit59b053bc8a9e0b52168b73ca86296e6fe890f522 (patch)
treed5438c7afaf89bd33a52a18d77ad4d929af9cf99 /Game/Code/Screens/UScreenSong.pas
parent8bbb53fffcd1959a29b5a040c867ed371e88483b (diff)
downloadusdx-59b053bc8a9e0b52168b73ca86296e6fe890f522.tar.gz
usdx-59b053bc8a9e0b52168b73ca86296e6fe890f522.tar.xz
usdx-59b053bc8a9e0b52168b73ca86296e6fe890f522.zip
Added: Option for background music in sound options (affects UIni too)
Added: New language string SING_OPTIONS_SOUND_BACKGROUNDMUSIC Added: CC licensed music loop Improved: Options positions via Deluxe theme (first pass, next will follow) Improved: Code beautified in UScreenMain git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1290 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Screens/UScreenSong.pas')
-rw-r--r--Game/Code/Screens/UScreenSong.pas7
1 files changed, 4 insertions, 3 deletions
diff --git a/Game/Code/Screens/UScreenSong.pas b/Game/Code/Screens/UScreenSong.pas
index 5e374568..be1320f2 100644
--- a/Game/Code/Screens/UScreenSong.pas
+++ b/Game/Code/Screens/UScreenSong.pas
@@ -23,8 +23,6 @@ uses
UThemes,
UTexture,
ULanguage,
- //ULCD, //TODO: maybe LCD Support as Plugin?
- //ULight, //TODO: maybe Light Support as Plugin?
USong,
UIni;
@@ -792,7 +790,6 @@ end;
procedure TScreenSong.GenerateThumbnails();
var
I: Integer;
- OldTextureLimit: integer;
CoverButtonIndex: integer;
CoverButton: TButton;
CoverName: string;
@@ -1340,6 +1337,10 @@ end;
procedure TScreenSong.onShow;
begin
inherited;
+{**
+ * Pause background music, so we can play it again on scorescreen
+ *}
+ SoundLib.PauseBgMusic;
AudioPlayback.Stop;