aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-02-22 21:59:06 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2013-02-22 21:59:06 +0000
commit716c7b842a3b5d9a4b0b5b0134a46906661d6522 (patch)
treed91ba0c21d65dbe5cbafe50d6a0b4678ba5d556c
parent16ecad36bd1fd998167d79f5b07221305cf64f4c (diff)
downloadusdx-716c7b842a3b5d9a4b0b5b0134a46906661d6522.tar.gz
usdx-716c7b842a3b5d9a4b0b5b0134a46906661d6522.tar.xz
usdx-716c7b842a3b5d9a4b0b5b0134a46906661d6522.zip
Add Applause for medley mod.
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2944 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--game/sounds/Applause.mp3bin0 -> 59968 bytes
-rw-r--r--src/base/UMusic.pas3
-rw-r--r--src/screens/UScreenSing.pas1
3 files changed, 4 insertions, 0 deletions
diff --git a/game/sounds/Applause.mp3 b/game/sounds/Applause.mp3
new file mode 100644
index 00000000..d5eeb881
--- /dev/null
+++ b/game/sounds/Applause.mp3
Binary files differ
diff --git a/src/base/UMusic.pas b/src/base/UMusic.pas
index c85e3417..ca577db4 100644
--- a/src/base/UMusic.pas
+++ b/src/base/UMusic.pas
@@ -572,6 +572,7 @@ type
Change: TAudioPlaybackStream;
Option: TAudioPlaybackStream;
Click: TAudioPlaybackStream;
+ Applause:TAudioPlaybackStream;
BGMusic: TAudioPlaybackStream;
constructor Create();
@@ -946,6 +947,7 @@ begin
Change := AudioPlayback.OpenSound(SoundPath.Append('select music change music 50.mp3'));
Option := AudioPlayback.OpenSound(SoundPath.Append('option change col.mp3'));
Click := AudioPlayback.OpenSound(SoundPath.Append('rimshot022b.mp3'));
+ Applause:= AudioPlayback.OpenSound(SoundPath.Append('Applause.mp3'));
BGMusic := AudioPlayback.OpenSound(SoundPath.Append('background track.mp3'));
@@ -961,6 +963,7 @@ begin
FreeAndNil(Change);
FreeAndNil(Option);
FreeAndNil(Click);
+ FreeAndNil(Applause);
FreeAndNil(BGMusic);
end;
diff --git a/src/screens/UScreenSing.pas b/src/screens/UScreenSing.pas
index ff4f33e6..f9770cb3 100644
--- a/src/screens/UScreenSing.pas
+++ b/src/screens/UScreenSing.pas
@@ -1437,6 +1437,7 @@ begin
(PlaylistMedley.CurrentMedleySong <= PlaylistMedley.NumMedleySongs) then
begin
PlaylistMedley.ApplausePlayed := true;
+ AudioPlayback.PlaySound(SoundLib.Applause);
end;
end;