aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-07-20 21:26:39 +0000
committerb1indy <b1indy@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-07-20 21:26:39 +0000
commit0ea8eaa9fcf83bb7c014109eba6a8c4e25fd1a9f (patch)
treef43272dc20f7fdb0e9e071cd4e2430158f7ce57a
parent24e85bb44a27c37d8b6192c785e77bcdd958f751 (diff)
downloadusdx-0ea8eaa9fcf83bb7c014109eba6a8c4e25fd1a9f.tar.gz
usdx-0ea8eaa9fcf83bb7c014109eba6a8c4e25fd1a9f.tar.xz
usdx-0ea8eaa9fcf83bb7c014109eba6a8c4e25fd1a9f.zip
UGraphicClasses.pas: minor modification to Flare effect
UMusic.pas: modified Music.Play to play from start if Loop is set (dunno if this conflicts with something else, don't hope so) git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@303 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r--Game/Code/Classes/UGraphicClasses.pas2
-rw-r--r--Game/Code/Classes/UMusic.pas1
2 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Classes/UGraphicClasses.pas b/Game/Code/Classes/UGraphicClasses.pas
index 5f0b0b4e..032830b9 100644
--- a/Game/Code/Classes/UGraphicClasses.pas
+++ b/Game/Code/Classes/UGraphicClasses.pas
@@ -286,7 +286,7 @@ begin
// move around
X := X + mX;
Y := Y + mY;
- mY:=mY+1.5;
+ mY:=mY+1.8;
// mX:=mX/2;
end;
end;
diff --git a/Game/Code/Classes/UMusic.pas b/Game/Code/Classes/UMusic.pas
index 3fcd2a21..4e647ed3 100644
--- a/Game/Code/Classes/UMusic.pas
+++ b/Game/Code/Classes/UMusic.pas
@@ -407,6 +407,7 @@ procedure TMusic.Play;
begin
if Loaded then begin
// MediaPlayer.Play;
+ if Loop then BASS_ChannelPlay(Bass, True); // start from beginning... actually bass itself does not loop, nor does this TMusic Class
BASS_ChannelPlay(Bass, False); // for setting position before playing
end;
end;