   resources in SDL
  let''s say that i have a file full of bmps.. and i know exactly where to find each one. how do i do to pass the information to an SDL_Surface  
  If you have an archive file containing various bitmap files you can load each bitmap into your own structures and then use SDL_CreateRGBSurfaceFrom.Or you can create one huge bitmap file containing all your images. Then you can simply load that file using SDL_LoadBMP and then blit each sub-image (using SDL_SetClipRect) to its own surface or directly to the display surface.  ;  Load the file in for read using , read each line (filename) individually, then call SDL_LoadBMP on each surface with each filename.    Edit:  oh, an actual file CONTAINING the bitmaps.. my bad   See above"aut viam inveniam aut faciam  " - I will either find a way or make one.MoonStar Projects[edited by - Ronin Magus on December 31, 2002 11:49:39 AM]