X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftile.h;h=cfddd0217d6439d5732de0f64a0d23d8f491c706;hb=c62a9b627722f6371877c4dcbc218c60edb58559;hp=a9ea335a744ac7d78ac10d6f148b00f8e26b8bab;hpb=60908c905544776c376421b8d3e12eeb936c068f;p=supertux.git diff --git a/src/tile.h b/src/tile.h index a9ea335a7..cfddd0217 100644 --- a/src/tile.h +++ b/src/tile.h @@ -22,7 +22,7 @@ #include #include "video/surface.h" -#include "math/rectangle.h" +#include "math/rect.h" #include "lisp/lisp.h" /** @@ -72,12 +72,12 @@ private: unsigned int id; struct ImageSpec { - ImageSpec(const std::string& newfile, const Rectangle& newrect) + ImageSpec(const std::string& newfile, const Rect& newrect) : file(newfile), rect(newrect) { } std::string file; - Rectangle rect; + Rect rect; }; std::vector imagespecs; std::vector images;