aboutsummaryrefslogtreecommitdiffstats
path: root/src/lua/ULuaTextGL.pas
diff options
context:
space:
mode:
authorHawkear <Hawkear@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-01-11 18:19:42 +0000
committerHawkear <Hawkear@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-01-11 18:19:42 +0000
commit5d89432a90a62ec10c5a142f614916120ec1d681 (patch)
treef8c7faeebc98dc4125b336f2eec1ee94cef0bf7b /src/lua/ULuaTextGL.pas
parent9125b396714df4025f083f432f11a26dacd355ac (diff)
downloadusdx-5d89432a90a62ec10c5a142f614916120ec1d681.tar.gz
usdx-5d89432a90a62ec10c5a142f614916120ec1d681.tar.xz
usdx-5d89432a90a62ec10c5a142f614916120ec1d681.zip
First draft of PartyMode interface described in LuaCommands.odt
More OpenGL-Functions in Lua git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/Lua@1555 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to '')
-rw-r--r--src/lua/ULuaTextGL.pas15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/lua/ULuaTextGL.pas b/src/lua/ULuaTextGL.pas
index ffc88154..287695f9 100644
--- a/src/lua/ULuaTextGL.pas
+++ b/src/lua/ULuaTextGL.pas
@@ -61,3 +61,18 @@ begin
result:=1;
end;
end.
+
+{
+procedure BuildFont; // build our bitmap font
+procedure KillFont; // delete the font
+function glTextWidth(const text: string): real; // returns text width
+procedure glPrint(const text: string); // custom GL "Print" routine
+procedure ResetFont(); // reset font settings of active font
+procedure SetFontPos(X, Y: real); // sets X and Y
+procedure SetFontZ(Z: real); // sets Z
+procedure SetFontSize(Size: real);
+procedure SetFontStyle(Style: integer); // sets active font style (normal, bold, etc)
+procedure SetFontItalic(Enable: boolean); // sets italic type letter (works for all fonts)
+procedure SetFontAspectW(Aspect: real);
+procedure SetFontReflection(Enable:boolean;Spacing: real); // enables/disables text reflection
+}