]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Area.h
fix substantial mistake in linker
[l2e.git] / src / map / Area.h
index 90f8f5fc7b3eaf0ab2b322882b1dfa5ff7ee33dc..5bdcf0121fdffeeedcc8d1a47b36081d6f493b29 100644 (file)
@@ -1,9 +1,14 @@
 #ifndef MAP_AREA_H_
 #define MAP_AREA_H_
 
-#include "fwd.h"
+namespace graphics {
+       class Sprite;
+}
+namespace map {
+       class Tile;
+}
+
 #include "../math/Vector.h"
-#include "../graphics/Sprite.h"
 
 #include <SDL.h>
 
@@ -35,7 +40,11 @@ public:
        /// Get the default battle background for this area.
        SDL_Surface *BattleBackground() { return battlebg; }
 
-       void Render(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector<int> &offset) const;
+       void Render(
+                       SDL_Surface *dest,
+                       const graphics::Sprite *tileset,
+                       const math::Vector<int> &offset,
+                       unsigned int frame) const;
        void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector<int> &offset) const;
 
        static void CreateTypeDescription();
@@ -56,4 +65,4 @@ private:
 
 }
 
-#endif /* MAP_AREA_H_ */
+#endif