0 Members and 1 Guest are viewing this topic.
Nice job on all of those. Again, I'm always happy to see when n2DLib comes in handy to someone.What's the issue with color masking again ?
surface = SDL_CreateRGBSurface(SDL_SWSURFACE, width, height, 16, 0x7C00, 0x03E0, 0x001F, 0);
inline void setColorKey(unsigned short *src, unsigned short key){ src[2] = key;}
You indeed have to touch the image buffer, which isn't a big deal, really. It's basically the same as setting the member of the struct, just with no name on it This would work for you.Code: [Select]inline void setColorKey(unsigned short *src, unsigned short key){ src[2] = key;}
That looks great and fun! Good job gameblabla on the port.
Thanks as always critor
even though interest in TI-Nspire software has significantly dropped since a few years ago.