[SDL] grief loading/getting xpm in function with char *

neil at cloudsprinter.com neil at cloudsprinter.com
Sun Mar 9 08:29:32 PDT 2008


/* sorry i have snipped everything // sorry i am braking some rules of list
posting.. will try not to in future */

basically this is way to much grief.. i tested the new bits to IMG_xpm.c i
added, that code snippet now means you should be able to throw any xpm at
SDL_image now and it will cope loading them with named colors.


i am trying to do a low colour low power low res version of my game, and i
thought xpm was a good format to hold some low color gfx, but i think i will
just attempt to use png, and bin to hex them and rwop them in, it is critical
that the gfx of the game are not messed with, so i want them compiled in the
binary, the gfx are 'made' while the game plays from colors textures and
shapes.

anyway i am rambling again, thanks for all your advice on my crazy xpm 
schemeing
;)

back to staring blanky at my code now ;)



More information about the SDL mailing list