X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=lib%2Fvideo%2Fsurface.cpp;h=3c98b30747c3526a8fb52798f8cafbb06a7dfe11;hb=8f027528fa72638daf160e2cd7cf3d1e9bdd5b9e;hp=5f51c871a68a9c945cb60cf23c27bd92dd189854;hpb=6fe1f3519eecbbb75eca97c45a6697eee36b2442;p=supertux.git diff --git a/lib/video/surface.cpp b/lib/video/surface.cpp index 5f51c871a..3c98b3074 100644 --- a/lib/video/surface.cpp +++ b/lib/video/surface.cpp @@ -27,10 +27,10 @@ #include "SDL.h" #include "SDL_image.h" -#include "../video/surface.h" -#include "../video/screen.h" -#include "../app/globals.h" -#include "../app/setup.h" +#include "video/surface.h" +#include "video/screen.h" +#include "app/globals.h" +#include "app/setup.h" using namespace SuperTux; @@ -166,8 +166,8 @@ Surface::Surface(const std::string& file, bool use_alpha) surfaces.push_back(this); } -Surface::Surface(const std::string& file, int x, int y, int w, int h, bool use_alpha) - : data(file, x, y, w, h, use_alpha), w(0), h(0) +Surface::Surface(const std::string& file, int x, int y, int w_, int h_, bool use_alpha) + : data(file, x, y, w_, h_, use_alpha), w(0), h(0) { impl = data.create(); if (impl)