From 5d89432a90a62ec10c5a142f614916120ec1d681 Mon Sep 17 00:00:00 2001 From: Hawkear Date: Sun, 11 Jan 2009 18:19:42 +0000 Subject: 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 --- src/lua/ULuaTextGL.pas | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/lua/ULuaTextGL.pas') 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 +} -- cgit v1.2.3