Looks like we are gonna need pretty soon a wrapping around the RWOps, even if they dont look really stable according to some SDL users...
Anyway to get rid of file dependency ( like the default icon in RAGE::SDL, and maybe later default cursors ) we need a way to read images and load surface from memory the same way than frmo a file.
Since SDL_LoadBMP uses SDL_LoadBMP_RW, we might be able to do the same but read from memory.
Still need investigations...
Looks like we are gonna need pretty soon a wrapping around the RWOps, even if they dont look really stable according to some SDL users... Anyway to get rid of file dependency ( like the default icon in RAGE::SDL, and maybe later default cursors ) we need a way to read images and load surface from memory the same way than frmo a file. Since SDL_LoadBMP uses SDL_LoadBMP_RW, we might be able to do the same but read from memory. Still need investigations...