About loading images from datafiles

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 (@Lz1).
http://elezeta.bounceme.net

I’d really appreciate if anyone could tell me a way of loading
archives from a data file.

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

Hmm thanks you :slight_smile:

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 wrote:

I’d really appreciate if anyone could tell me a way of loading
archives from a data file.

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


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl


Lz (@Lz1).
http://elezeta.bounceme.net