aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-03 14:53:17 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-11-03 14:53:17 +0000
commitd33f56a40d9e8325a2782f90bb253dece5127c5f (patch)
tree900bf17f151709a17f2371371e7135bcf96357da /src/menu
parent2b125425a66f54922e8aaf34c2a616c43f024f11 (diff)
downloadusdx-d33f56a40d9e8325a2782f90bb253dece5127c5f.tar.gz
usdx-d33f56a40d9e8325a2782f90bb253dece5127c5f.tar.xz
usdx-d33f56a40d9e8325a2782f90bb253dece5127c5f.zip
All comments are English now (Polish ones have been translated)
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1498 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/menu')
-rw-r--r--src/menu/UDrawTexture.pas1
-rw-r--r--src/menu/UMenuText.pas12
2 files changed, 6 insertions, 7 deletions
diff --git a/src/menu/UDrawTexture.pas b/src/menu/UDrawTexture.pas
index 33082765..bc136f11 100644
--- a/src/menu/UDrawTexture.pas
+++ b/src/menu/UDrawTexture.pas
@@ -74,7 +74,6 @@ var
begin
with Texture do
begin
- // rysuje paski gracza
glColor4f(ColR * Int, ColG * Int, ColB * Int, Alpha);
glEnable(GL_TEXTURE_2D);
glEnable(GL_BLEND);
diff --git a/src/menu/UMenuText.pas b/src/menu/UMenuText.pas
index 3fc60384..a3d13834 100644
--- a/src/menu/UMenuText.pas
+++ b/src/menu/UMenuText.pas
@@ -82,8 +82,8 @@ type
procedure Draw;
constructor Create; overload;
- constructor Create(X, Y: real; Tekst: string); overload;
- constructor Create(ParX, ParY, ParW: real; ParStyle: integer; ParSize, ParColR, ParColG, ParColB: real; ParAlign: integer; ParTekst: string; ParReflection: boolean; ParReflectionSpacing: real; ParZ: real); overload;
+ constructor Create(X, Y: real; Text: string); overload;
+ constructor Create(ParX, ParY, ParW: real; ParStyle: integer; ParSize, ParColR, ParColG, ParColB: real; ParAlign: integer; ParText: string; ParReflection: boolean; ParReflectionSpacing: real; ParZ: real); overload;
end;
implementation
@@ -346,12 +346,12 @@ begin
Create(0, 0, '');
end;
-constructor TText.Create(X, Y: real; Tekst: string);
+constructor TText.Create(X, Y: real; Text: string);
begin
- Create(X, Y, 0, 0, 30, 0, 0, 0, 0, Tekst, false, 0, 0);
+ Create(X, Y, 0, 0, 30, 0, 0, 0, 0, Text, false, 0, 0);
end;
-constructor TText.Create(ParX, ParY, ParW: real; ParStyle: integer; ParSize, ParColR, ParColG, ParColB: real; ParAlign: integer; ParTekst: string; ParReflection: boolean; ParReflectionSpacing: real; ParZ:real);
+constructor TText.Create(ParX, ParY, ParW: real; ParStyle: integer; ParSize, ParColR, ParColG, ParColB: real; ParAlign: integer; ParText: string; ParReflection: boolean; ParReflectionSpacing: real; ParZ:real);
begin
inherited Create;
Alpha := 1;
@@ -361,7 +361,7 @@ begin
Z := ParZ;
Style := ParStyle;
Size := ParSize;
- Text := ParTekst;
+ Text := ParText;
ColR := ParColR;
ColG := ParColG;
ColB := ParColB;