aboutsummaryrefslogtreecommitdiffstats
path: root/Modis/Don't_Get_Worse/Hold_The_Line.dpr
diff options
context:
space:
mode:
authortobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-31 14:34:31 +0000
committertobigun <tobigun@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-03-31 14:34:31 +0000
commit13bf0be662f660d9f283b6c01b20dc2137dc835e (patch)
treef5594160c2bff17fa1394fae95405be4974b8c2a /Modis/Don't_Get_Worse/Hold_The_Line.dpr
parenteefbef6f9670e43b5f5f54f5f98ddee8f42b29d8 (diff)
downloadusdx-13bf0be662f660d9f283b6c01b20dc2137dc835e.tar.gz
usdx-13bf0be662f660d9f283b6c01b20dc2137dc835e.tar.xz
usdx-13bf0be662f660d9f283b6c01b20dc2137dc835e.zip
- removed "Font Black" and "Font" texture type
- use TEXTURE_TYPE_TRANSPARENT/COLORIZED/PLAIN in the future - texture-type is an enum now (not a string as before) -> pros: less memory consumption, compiler-check, case-insensitive, ... git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@988 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Modis/Don't_Get_Worse/Hold_The_Line.dpr')
-rw-r--r--Modis/Don't_Get_Worse/Hold_The_Line.dpr8
1 files changed, 4 insertions, 4 deletions
diff --git a/Modis/Don't_Get_Worse/Hold_The_Line.dpr b/Modis/Don't_Get_Worse/Hold_The_Line.dpr
index de19858b..27b9c3df 100644
--- a/Modis/Don't_Get_Worse/Hold_The_Line.dpr
+++ b/Modis/Don't_Get_Worse/Hold_The_Line.dpr
@@ -58,14 +58,14 @@ end;
function Init (const TeamInfo: TTeamInfo; var Playerinfo: TPlayerinfo; const Sentences: TSentences; const Methods: TMethodRec): boolean; stdcall;
var
I: Integer;
- Texname, TexType: PChar;
+ Texname: PChar;
+ TexType: TTextureType;
begin
TexName := CreateStr(PChar('HDL_Pointer'));
- TexType := CreateStr(PChar('Font Black'));
+ TexType := TEXTURE_TYPE_TRANSPARENT;
PointerTex := Methods.LoadTex(TexName, TexType);
FreeStr(TexName);
- FreeStr(TexType);
TexName := CreateStr(PChar('dismissed.mp3'));
DismissedSound := Methods.LoadSound (TexName);
@@ -209,4 +209,4 @@ PluginInfo, Init, Draw, Finish;
begin
-end. \ No newline at end of file
+end.