[SDL] My sprites don't show up after converting project from C to C++
Brian
brian.ripoff at gmail.com
Tue Nov 27 16:40:55 PST 2007
I would certainly remove the globals above the Battle class. They can
only confuse you (at any time, are you referring to battle::screen or
::screen?). See if your code works without the globals.
To clarify, I am talking about these:
// ...
SDL_Surface *screen, *image[4], *status[4];
SDL_Rect src[4], dest[4];
Uint32 colorkey;
TTF_Font *font;
class battle {
// ...
More information about the SDL
mailing list