X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FArea.h;h=5bdcf0121fdffeeedcc8d1a47b36081d6f493b29;hb=04e4e8797a63c0a89aae9882982cd864213d05ab;hp=90f8f5fc7b3eaf0ab2b322882b1dfa5ff7ee33dc;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/map/Area.h b/src/map/Area.h index 90f8f5f..5bdcf01 100644 --- a/src/map/Area.h +++ b/src/map/Area.h @@ -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 @@ -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 &offset) const; + void Render( + SDL_Surface *dest, + const graphics::Sprite *tileset, + const math::Vector &offset, + unsigned int frame) const; void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector &offset) const; static void CreateTypeDescription(); @@ -56,4 +65,4 @@ private: } -#endif /* MAP_AREA_H_ */ +#endif