Fixed wrong "top-edge" tiles in data/levels/bonus2/level11.stl ("The long cave")
[supertux.git] / src / tile.hpp
index 07b57d9..d7e3d23 100644 (file)
@@ -99,10 +99,7 @@ private:
   std::vector<ImageSpec> imagespecs;
   std::vector<Surface*> images;
 
-  std::string editor_imagefile;
-  Surface* editor_image;
-  
-  /** tile attributes */
+  /// tile attributes
   uint32_t attributes;
   
   /** General purpose data attached to a tile (content of a box, type of coin)*/
@@ -114,9 +111,7 @@ public:
   ~Tile();
   
   /** Draw a tile on the screen */
-  void draw(DrawingContext& context, const Vector& pos, int layer) const;
-
-  Surface* get_editor_image() const;
+  void draw(DrawingContext& context, const Vector& pos, int z_pos) const;
 
   unsigned int getID() const
   { return id; }