diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-15 21:11:15 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-15 21:11:15 +0000 |
commit | d28987c15a69c7b0c7b26d0243dcbd840cc366a4 (patch) | |
tree | 8a7df8f6180242a3233aea0365a63b26f00219b6 | |
parent | 0d36cedaf8ed6baba1eab7d917baa1ac8adb9db8 (diff) | |
download | usdx-d28987c15a69c7b0c7b26d0243dcbd840cc366a4.tar.gz usdx-d28987c15a69c7b0c7b26d0243dcbd840cc366a4.tar.xz usdx-d28987c15a69c7b0c7b26d0243dcbd840cc366a4.zip |
- kill all sing effects on song start
- activate webcam if no video (and webcam on)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2763 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | Game/Code/Screens/UScreenSing.pas | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas index c15b0f85..daad5d86 100644 --- a/Game/Code/Screens/UScreenSing.pas +++ b/Game/Code/Screens/UScreenSing.pas @@ -491,7 +491,9 @@ begin if Music.VocalRemoverActivated() then
Music.DisableVocalRemover;
-
+
+ GoldenRec.KillAll;
+
FadeOut := false; // 0.5.0: early 0.5.0 problems were by this line commented
AspectHandler.changed := false;
@@ -983,6 +985,7 @@ begin Text[TextP4FourP].Text := 'P4';
end;
+ WebCam := false;
LoadNextSong;
Log.LogStatus('End', 'onShow');
@@ -1635,7 +1638,9 @@ begin end;
end;
- if not FGrabFrameFlag and (Ini.EnableWebCam=1) then
+ if AktSong.VideoLoaded then
+ WebCam := false
+ else if not FGrabFrameFlag and (Ini.EnableWebCam=1) then
begin
//Display White Activating WebCam Text
SetFontStyle(2); //Font: Outlined1
@@ -1644,8 +1649,8 @@ begin SetFontPos (400 - glTextWidth ('Activating Webcam ...')/2, 250); //Position
glColor4f(1,1,1,1);
glPrint('Activating Webcam ...');
- SwapBuffers;
- wStartWebCam();
+ SwapBuffers;
+ WebCam := wStartWebCam();
end;
// play music (II)
|