diff options
author | b_krueger <b_krueger@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-12 11:32:06 +0000 |
---|---|---|
committer | b_krueger <b_krueger@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2010-04-12 11:32:06 +0000 |
commit | a8f65efc0151cb4da88691af775a1256fcc6b2f1 (patch) | |
tree | 32414b3e18b0c729b1ab849ff1534012653df0c5 /game/plugins/teamduel.usdx | |
parent | 41faa3f947dc0f5abfe7890a44f295702c43d30e (diff) | |
download | usdx-a8f65efc0151cb4da88691af775a1256fcc6b2f1.tar.gz usdx-a8f65efc0151cb4da88691af775a1256fcc6b2f1.tar.xz usdx-a8f65efc0151cb4da88691af775a1256fcc6b2f1.zip |
BugFix
Plugin 5000points.usdx is now scoring correct
Plugin teamduel.usdx now shows both player names (from team 1 and team 2)
Maybe, the lua-plugins are not executed atomic (can go wrong on drawing in gl): please verify!
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@2230 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'game/plugins/teamduel.usdx')
-rw-r--r-- | game/plugins/teamduel.usdx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/game/plugins/teamduel.usdx b/game/plugins/teamduel.usdx index 844e53b0..a32d963d 100644 --- a/game/plugins/teamduel.usdx +++ b/game/plugins/teamduel.usdx @@ -130,13 +130,12 @@ function DrawPlayerText(i, Text) Gl.Vertex(OSD[i].Right, OSD[i].Bottom);
Gl.Vertex(OSD[i].Right, OSD[i].Top);
Gl.End();
-
+
-- text
Gl.Color(1, 0, 0, 1);
- TextGl.Size(6);
+ TextGl.Size(18);
TextGl.Style(1);
TextGl.Italic(false);
-
local PosX = (OSD[i].Left + OSD[i].Right) / 2;
PosX = PosX - TextGl.Width(Text) / 2;
|