- fixed warnings
[supertux.git] / src / tile.h
index cf809aa..692bfe8 100644 (file)
 
 #include <vector>
 #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);