diff options
author | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-24 10:35:45 +0000 |
---|---|---|
committer | brunzelchen <brunzelchen@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-12-24 10:35:45 +0000 |
commit | 7d76a34f260a3bba7cb1ee4399043167b76d98fe (patch) | |
tree | 6f2c5a2cf7bfecdcae57361e0fbfd3d358d2a8ad /Game/Code/Classes | |
parent | 5ac30f3564337b76cc12b3e5750ee12a859a9767 (diff) | |
download | usdx-7d76a34f260a3bba7cb1ee4399043167b76d98fe.tar.gz usdx-7d76a34f260a3bba7cb1ee4399043167b76d98fe.tar.xz usdx-7d76a34f260a3bba7cb1ee4399043167b76d98fe.zip |
- bugfix: drawing beat delimiters while/after pitch recording
- update of language files
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/1.0.1 Challenge MOD@2773 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/Classes')
-rw-r--r-- | Game/Code/Classes/UDraw.pas | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/Game/Code/Classes/UDraw.pas b/Game/Code/Classes/UDraw.pas index 78d92717..98d5f274 100644 --- a/Game/Code/Classes/UDraw.pas +++ b/Game/Code/Classes/UDraw.pas @@ -199,6 +199,7 @@ begin glEnable(GL_BLEND);
glColor4f(Skin_P1_LinesR, Skin_P1_LinesG, Skin_P1_LinesB, 0.4*Alpha);
+ glLineWidth(1);
glBegin(GL_LINES);
for Pet := 0 to 9 do begin
glVertex2f(Left, Top + Pet * Space);
@@ -220,28 +221,13 @@ begin Exit;
CP := NrCzesci;
- {if (Length(Czesci[CP].Czesc[Czesci[CP].Akt].Nuta)=0) then
- begin
- CP := (CP+1) mod 2;
- st := Czesci[CP].Czesc[Czesci[CP].Akt].StartNote;
- end_ := Czesci[CP].Czesc[Czesci[CP].Akt].Koniec;
- end else
- begin }
- st := Czesci[CP].Czesc[Czesci[CP].Akt].StartNote;
- end_ := Czesci[CP].Czesc[Czesci[CP].Akt].Koniec;
- {if AktSong.isDuet and (Length(Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].Nuta)>0)then
- begin
- if (Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].Koniec > end_) then
- end_ := Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].Koniec;
-
- if (Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].StartNote < st) then
- st := Czesci[(CP+1) mod 2].Czesc[Czesci[CP].Akt].StartNote;
- end;
- end; }
+ st := Czesci[CP].Czesc[Czesci[CP].Akt].StartNote;
+ end_ := Czesci[CP].Czesc[Czesci[CP].Akt].Koniec;
TempR := (Right-Left) / (end_ - st);
glEnable(GL_BLEND);
+ glLineWidth(1);
glBegin(GL_LINES);
for Pet := st to end_ do
begin
|