diff options
author | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-11 12:41:51 +0000 |
---|---|---|
committer | tobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-01-11 12:41:51 +0000 |
commit | bc01e7c70cf07c9758e09b07af5f788a45297eee (patch) | |
tree | ce46b70aa970d88a9ba4abab095693772634a9e0 /Game/Code/Screens/UScreenSing.pas | |
parent | 69af8d0951d9c741680e9c7f5c5ccd63f36b8df5 (diff) | |
download | usdx-bc01e7c70cf07c9758e09b07af5f788a45297eee.tar.gz usdx-bc01e7c70cf07c9758e09b07af5f788a45297eee.tar.xz usdx-bc01e7c70cf07c9758e09b07af5f788a45297eee.zip |
Cleanup: Use the property Position in favor of MoveTo() (MoveTo() will be SetPosition() soon)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@784 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r-- | Game/Code/Screens/UScreenSing.pas | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Game/Code/Screens/UScreenSing.pas b/Game/Code/Screens/UScreenSing.pas index 309af301..5a9ecae7 100644 --- a/Game/Code/Screens/UScreenSing.pas +++ b/Game/Code/Screens/UScreenSing.pas @@ -171,7 +171,7 @@ begin SDLK_TAB: //Change Visualization Preset begin if fShowVisualization then - fCurrentVideoPlaybackEngine.MoveTo( now ); // move to a random position + fCurrentVideoPlaybackEngine.Position := now; // move to a random position end; SDLK_RETURN: @@ -213,7 +213,7 @@ begin Czas.Teraz := PauseTime; //Position of Notes // Position of Music - AudioPlayback.MoveTo (PauseTime); + AudioPlayback.Position := PauseTime; // Play Music AudioPlayback.Play; @@ -478,7 +478,7 @@ begin // play music (I) AudioInput.CaptureStart; - AudioPlayback.MoveTo(AktSong.Start); + AudioPlayback.Position := AktSong.Start; // Music.Play; // prepare timer (I) @@ -1344,7 +1344,7 @@ begin // if we are shoing a visualization... change to a new preset after each sentence.. // Maybe we should make this less often or something... just a if fShowVisualization then - fCurrentVideoPlaybackEngine.MoveTo( now ); // move to a random position + fCurrentVideoPlaybackEngine.Position := now; // move to a random position end; //Called on Sentence Change S= New Current Sentence |