Reverted bigger parts of tuxdev patch:
[supertux.git] / src / worldmap / special_tile.hpp
index f958d9b..f32b7b0 100644 (file)
@@ -1,4 +1,4 @@
-//  $Id: worldmap.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $
+//  $Id$
 //
 //  SuperTux
 //  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
@@ -41,17 +41,17 @@ public:
   virtual void update(float elapsed_time);
 
   Vector pos;
-  
+
   /** Sprite to render instead of guessing what image to draw */
   std::auto_ptr<Sprite> sprite;
 
-  /** Position to swap to player */
-  Vector teleport_dest;
-
   /** Message to show in the Map */
   std::string map_message;
   bool passive_message;
 
+  /** Script to execute when tile is touched */
+  std::string script;
+
   /** Hide special tile */
   bool invisible;
 
@@ -65,4 +65,3 @@ public:
 }
 
 #endif
-