X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Ftile.h;h=692bfe804f31d9b0171f8bd7671d09c03afb3736;hb=6c61f312a1f5a768e202195ca18ed5a51974bdcc;hp=cf809aa3074702328b9b3f456782afdd13565623;hpb=c79b901309bf5e0544fef1e92d264f51402f4370;p=supertux.git diff --git a/src/tile.h b/src/tile.h index cf809aa30..692bfe804 100644 --- a/src/tile.h +++ b/src/tile.h @@ -23,10 +23,13 @@ #include #include "SDL.h" -#include "screen/surface.h" +#include "video/surface.h" -class Vector; +using namespace SuperTux; + +namespace SuperTux { class LispReader; +} /** Tile Class @@ -81,6 +84,9 @@ public: int next_tile; int anim_speed; + + /** This is the angle of the slope. Set to 0, if this is no slope. */ + float slope_angle; /** Draw a tile on the screen: */ static void draw(const Vector& pos, unsigned int c, Uint8 alpha = 255);