0

Okay, I have absolutely no idea what is wrong with this code. When I comment out the parameters of the functions, everything works fine. Just like last time, it may be something obvious, I don't see it, though.

#include <SDL/SDL.h>
#include <iostream>
class tnt_Player
{
      private:
              SDL_Surface *Sprite;
              int xVelocity, yVelocity;
              int Frames;
              
      public:
             tnt_Player();
             ~tnt_Player();
             SDL_Surface *TNT_LoadSprite (std::string filename);
             int TNT_DrawSprite(&tnt_Player PlayerRef);
};

All help is appreciated,
EpicAsian

2
Contributors
3
Replies
4
Views
7 Years
Discussion Span
Last Post by NathanOliver
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.