About loading images from datafiles. |
Lz
Guest
|
Hello,
I'd really appreciate if anyone could tell me a way of loading archives from a data file. I mean, i'll have a file and i'll be able to read it, so i'd like a way of drawing RGB sdl surfaces from first pixel to last pixel... i have searched in the headers and no functions seems to do that... as i'm even unable to draw to an auxiliar surface with blitsurface, and then copy that surface to videosurface with blitsurface again... Thanks you in advance for your help! :) -- Lz (elezeta at gmail.com). http://elezeta.bounceme.net |
|||||||||||
|
About loading images from datafiles. |
Gabriel
Guest
|
You need to use RWOps. It's an input/output abstraction that you can pass to the loading functions and therefore load the data from any source you may want. -- Gabriel Gambetta Mystery Studio - http://www.mysterystudio.com Gabriel on Graphics - http://gabrielongraphics.blogspot.com |
|||||||||||||
|
About loading images from datafiles. |
Lz
Guest
|
Hmm thanks you :)
It's working now, but it gives me some problem when crosscompiling for windows... i'll have to take a deeper look at it. Thanks again :) On 1/7/06, Gabriel <mystml at adinet.com.uy> wrote:
-- Lz (elezeta at gmail.com). http://elezeta.bounceme.net |
|||||||||||||||
|