Updated addon repository URL and improved debug output on download
[supertux.git] / src / worldmap / special_tile.hpp
index b2ea7ff..991ab3b 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmail.com>
 //  Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
 //
 //  This program is free software: you can redistribute it and/or modify
 #include <memory>
 #include <string>
 
-#include "lisp/lisp.hpp"
 #include "math/vector.hpp"
+#include "sprite/sprite_ptr.hpp"
 #include "supertux/game_object.hpp"
+#include "util/reader_fwd.hpp"
 
-class Sprite;
-
-namespace WorldMapNS {
+namespace worldmap {
 
 class SpecialTile : public GameObject
 {
 public:
-  SpecialTile(const lisp::Lisp* lisp);
+  SpecialTile(const Reader& lisp);
   virtual ~SpecialTile();
 
   virtual void draw(DrawingContext& context);
@@ -42,7 +41,7 @@ public:
   Vector pos;
 
   /** Sprite to render instead of guessing what image to draw */
-  std::auto_ptr<Sprite> sprite;
+  SpritePtr sprite;
 
   /** Message to show in the Map */
   std::string map_message;
@@ -61,7 +60,7 @@ public:
   bool apply_action_west;
 };
 
-} // namespace WorldMapNS
+} // namespace worldmap
 
 #endif