Let's say I do not find the LoadImage() command fast enough...
How can I use FastFile for doing this faster, and then make sure I get
this right, so that the UseImage() command can be used with no problems?
Like, old code:
-----------------
LoadImage(0,Texture$)
CreateTexture(a,Billboard_Width,Billboard_Height)
StartDrawing(TextureOutput(a))
DrawImage(UseImage(0),0,0,TextureWidth(a),TextureHeight(a)) StopDrawing()
Never mind the texturepart and how it's done. It can be programmed otherwise, but due to 3dengine.dll problems, I must DRAW the image
onto the texture, because of a textureloading bug (as posted earlier)
Focus only on how to replace the LoadImage command with FastFile
and that the end result is UseImage(0) which then is the fastloaded file.
Using fastfile lib to read images FAST?
Using fastfile lib to read images FAST?
Regards Stone Oakvalley
Currently @ PB 5.70
Currently @ PB 5.70
