Page 1 of 1

How To Properly Load PNG files into GapiDraw?

PostPosted: Feb 17, 2007 @ 11:14am
by Bunkai
Based on my information from GapiDraw documentation, if I have a set of .png files stored in GapiVFS, I should them via CGapiFileBuffer::Open().

I can do that, however, then, if I load .png files, I need to know file height, file length, and additional parameters. How to access those parameters, please?

An alternative seems to be loading image file into CGapiSurface(), but this class is designed for outputting data to screen and not to hold dozens of resource images.

Could I kindly ask, what way is the correct one, to load several TileSet .png images into PocketPC memory?

Thank you and with regards,
Rene.

PostPosted: Feb 20, 2007 @ 7:53am
by InexorableTash

PostPosted: Feb 20, 2007 @ 11:30am
by Bunkai