--- a/foecommand.h +++ b/foecommand.h @@ -39,10 +39,10 @@ virtual void doChangeDirection(double d); virtual void doChangeSpeed(double s); - virtual void FoeCommand::doAccelX(double ax); - virtual void FoeCommand::doAccelY(double ay); - virtual double FoeCommand::getBulletSpeedX(); - virtual double FoeCommand::getBulletSpeedY(); + virtual void doAccelX(double ax); + virtual void doAccelY(double ay); + virtual double getBulletSpeedX(); + virtual double getBulletSpeedY(); private: struct foe *foe; --- a/screen.c +++ b/screen.c @@ -73,7 +73,7 @@ void loadGLTexture(char *fileName, GLuint *texture) { SDL_Surface *surface; - char name[32]; + char name[128]; strcpy(name, SHARE_LOC); strcat(name, "images/"); strcat(name, fileName);