aboutsummaryrefslogtreecommitdiffstats
path: root/src/screens/UScreenPartyNewRound.pas
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-18 13:43:36 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2010-04-18 13:43:36 +0000
commitf761eb20ce8d3b5ef718be4a305b78712641248d (patch)
tree0cf16adb83c0004af60aeca3b5d8b9cf17b18aa6 /src/screens/UScreenPartyNewRound.pas
parent4b502e678735fe19ccc7bd140b4ff34ac1406628 (diff)
downloadusdx-f761eb20ce8d3b5ef718be4a305b78712641248d.tar.gz
usdx-f761eb20ce8d3b5ef718be4a305b78712641248d.tar.xz
usdx-f761eb20ce8d3b5ef718be4a305b78712641248d.zip
change variable names "static" to "statics"
- "static" is a reserved name and should not be used - code-completion in lazarus does not work as it is not able to cope with variables that are named "static" git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2246 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'src/screens/UScreenPartyNewRound.pas')
-rw-r--r--src/screens/UScreenPartyNewRound.pas28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/screens/UScreenPartyNewRound.pas b/src/screens/UScreenPartyNewRound.pas
index 6a1c8e69..8024108c 100644
--- a/src/screens/UScreenPartyNewRound.pas
+++ b/src/screens/UScreenPartyNewRound.pas
@@ -215,7 +215,7 @@ begin
begin
if (I <= High(Party.Rounds)) then
begin
- Static[StaticRound[I]].Visible := True;
+ Statics[StaticRound[I]].Visible := True;
Text[TextRound[I]].Visible := True;
Text[TextWinner[I]].Visible := True;
@@ -225,7 +225,7 @@ begin
end
else
begin
- Static[StaticRound[I]].Visible := False;
+ Statics[StaticRound[I]].Visible := False;
Text[TextRound[I]].Visible := False;
Text[TextWinner[I]].Visible := False;
end;
@@ -242,16 +242,16 @@ begin
Text[TextScoreTeam1].Visible := true;
Text[TextNameTeam1].Visible := true;
Text[TextTeam1Players].Visible := true;
- Static[StaticTeam1].Visible := true;
- Static[StaticNextPlayer1].Visible := true;
+ Statics[StaticTeam1].Visible := true;
+ Statics[StaticNextPlayer1].Visible := true;
end
else
begin
Text[TextScoreTeam1].Visible := false;
Text[TextNameTeam1].Visible := false;
Text[TextTeam1Players].Visible := false;
- Static[StaticTeam1].Visible := false;
- Static[StaticNextPlayer1].Visible := false;
+ Statics[StaticTeam1].Visible := false;
+ Statics[StaticNextPlayer1].Visible := false;
end;
if (Length(Party.Teams) >= 2) then
@@ -263,16 +263,16 @@ begin
Text[TextScoreTeam2].Visible := true;
Text[TextNameTeam2].Visible := true;
Text[TextTeam2Players].Visible := true;
- Static[StaticTeam2].Visible := true;
- Static[StaticNextPlayer2].Visible := true;
+ Statics[StaticTeam2].Visible := true;
+ Statics[StaticNextPlayer2].Visible := true;
end
else
begin
Text[TextScoreTeam2].Visible := false;
Text[TextNameTeam2].Visible := false;
Text[TextTeam2Players].Visible := false;
- Static[StaticTeam2].Visible := false;
- Static[StaticNextPlayer2].Visible := false;
+ Statics[StaticTeam2].Visible := false;
+ Statics[StaticNextPlayer2].Visible := false;
end;
if (Length(Party.Teams) >= 3) then
@@ -284,16 +284,16 @@ begin
Text[TextScoreTeam3].Visible := true;
Text[TextNameTeam3].Visible := true;
Text[TextTeam3Players].Visible := true;
- Static[StaticTeam3].Visible := true;
- Static[StaticNextPlayer3].Visible := true;
+ Statics[StaticTeam3].Visible := true;
+ Statics[StaticNextPlayer3].Visible := true;
end
else
begin
Text[TextScoreTeam3].Visible := false;
Text[TextNameTeam3].Visible := false;
Text[TextTeam3Players].Visible := false;
- Static[StaticTeam3].Visible := false;
- Static[StaticNextPlayer3].Visible := false;
+ Statics[StaticTeam3].Visible := false;
+ Statics[StaticNextPlayer3].Visible := false;
end;
//nextRound Texts