Function Overwriting with Imports

BlitzMax Forums/BlitzMax Programming/Function Overwriting with Imports

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi
Thx for help. But i need a direct way. I have do this before i ask in this Forum.

Function DrawText(Txt:String,x:Float,y:Float)
	DCDrawText(Txt,x,y)
End Function


Function TextWidth:Float(Txt:String)
	Return DCTextWidth(Txt)
End Function 


Function TextHeight:Float(Txt:String)
	Return DCTextHeight(Txt)
End Function


Thats the Functions in my Maincode. In the Maincode i can overwrite the max2d Functions without errors.
Only problems with the imports...........
And i need no stupid h4xx0r wrapping.
Mfg Suco