John R. Hall
overcode at overcode.net
Wed Jan 1 16:39:01 PST 2003
> i have a resource file full of graphics (lets say all png) i know the
> where to locate each png in my file.. how do i do to pass this
> informatin to an SDL_Surface.
> thanks for asking this
Have a look at the SDL_image library and SDL's RWOps mechanism. You'll
need to create an RWOps structure for reading from your archive and pass
this to SDL_image for decoding.
More information about the SDL