X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftile.h;h=8a0cf8d0bd8bef110f18d78f402d304863c04323;hb=e409aaf88c618c2fc47ff8f9bbe523b8f271c795;hp=a9ea335a744ac7d78ac10d6f148b00f8e26b8bab;hpb=60908c905544776c376421b8d3e12eeb936c068f;p=supertux.git diff --git a/src/tile.h b/src/tile.h index a9ea335a7..8a0cf8d0b 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; @@ -90,7 +90,7 @@ private: /** General purpose data attached to a tile (content of a box, type of coin)*/ int data; - + float anim_fps; public: