aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Screens
diff options
context:
space:
mode:
authorf1fth_freed0m <f1fth_freed0m@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-11 19:32:27 +0000
committerf1fth_freed0m <f1fth_freed0m@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-04-11 19:32:27 +0000
commite4fc1ba3d1b0c146ea806319514d2603f0d4f112 (patch)
tree6a2d7a2d5851e640403816731a5126f49918055e /Game/Code/Screens
parentefe03774a1736d28512746f1a56b5c1f4e3da0c2 (diff)
downloadusdx-e4fc1ba3d1b0c146ea806319514d2603f0d4f112.tar.gz
usdx-e4fc1ba3d1b0c146ea806319514d2603f0d4f112.tar.xz
usdx-e4fc1ba3d1b0c146ea806319514d2603f0d4f112.zip
translated some polish code
AddCzesc -> AddLine NrCzesc -> NrLine NrCzesci -> NrLines Pet -> Count SingDrawCzesc -> SingDrawLine SingDrawPlayerCzesc -> SingDrawPlayerLine SingDrawPlayerBGCzesc -> SingDrawPlayerBGLine EditDrawCzesc -> EditDrawLine Tekst -> Text git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1020 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--Game/Code/Screens/UScreenEditSub.pas13
1 files changed, 6 insertions, 7 deletions
diff --git a/Game/Code/Screens/UScreenEditSub.pas b/Game/Code/Screens/UScreenEditSub.pas
index c3071640..8ca1c3f3 100644
--- a/Game/Code/Screens/UScreenEditSub.pas
+++ b/Game/Code/Screens/UScreenEditSub.pas
@@ -522,8 +522,7 @@ begin
begin
// skip to next sentence
- if SDL_ModState = 0 then begin
- {$IFDEF UseMIDIPort}
+ if SDL_ModState = 0 then begin {$IFDEF UseMIDIPort}
MidiOut.PutShort($81, Lines[0].Line[Lines[0].Current].Note[MidiLastNote].Tone + 60, 127);
PlaySentenceMidi := false;
{$endif}
@@ -534,7 +533,7 @@ begin
if Lines[0].Current > Lines[0].High then Lines[0].Current := 0;
Lines[0].Line[Lines[0].Current].Note[CurrentNote].Color := 1;
- Lyric.AddCzesc(Lines[0].Current);
+ Lyric.AddLine(Lines[0].Current);
Lyric.Selected := 0;
AudioPlayback.Stop;
PlaySentence := false;
@@ -563,7 +562,7 @@ begin
if Lines[0].Current = -1 then Lines[0].Current := Lines[0].High;
Lines[0].Line[Lines[0].Current].Note[CurrentNote].Color := 1;
- Lyric.AddCzesc(Lines[0].Current);
+ Lyric.AddLine(Lines[0].Current);
Lyric.Selected := 0;
AudioPlayback.Stop;
PlaySentence := false;
@@ -827,7 +826,7 @@ begin
Lines[0].Current := Lines[0].Current + 1;
CurrentNote := 0;
Lines[0].Line[Lines[0].Current].Note[CurrentNote].Color := 1;
- Lyric.AddCzesc(Lines[0].Current);
+ Lyric.AddLine(Lines[0].Current);
end;
procedure TScreenEditSub.JoinSentence;
@@ -1191,7 +1190,7 @@ begin
Lyric.ColSG := Skin_FontHighlightG;
Lyric.ColSB := Skin_FontHighlightB;
Lyric.Style := 0;
- Lyric.AddCzesc(0);
+ Lyric.AddLine(0);
Lyric.Selected := 0;
NotesH := 7;
@@ -1304,7 +1303,7 @@ begin
if not Error then
begin
SingDrawBeatDelimeters(40, 300, 760, 0);
- EditDrawCzesc(40, 405, 760, 0, 15);
+ EditDrawLine(40, 405, 760, 0, 15);
end;
// draw text