Finally!!
[supertux.git] / src / tile.h
index 721b010..40feb80 100644 (file)
@@ -26,8 +26,8 @@ struct Tile
 {
   int id;
 
-  std::vector<texture_type> images;
-  std::vector<texture_type> editor_images;
+  std::vector<Surface*> images;
+  std::vector<Surface*> editor_images;
   
   std::vector<std::string>  filenames;
 
@@ -40,6 +40,9 @@ struct Tile
   /** FIXME: ? */
   bool ice;
 
+  /** water */
+  bool water;
+
   /** Bonusbox, content is stored in \a data */
   bool fullbox;
 
@@ -54,6 +57,9 @@ struct Tile
   int next_tile;
 
   int anim_speed;
+  
+  /** Draw a tile on the screen: */
+  static void draw(float x, float y, unsigned int c, Uint8 alpha = 255);
 };
 
 struct TileGroup
@@ -89,6 +95,4 @@ class TileManager
   }
 };
 
-
-
 #endif