X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FMap.h;h=e0a95dd9bca2d062447249a1b9a88b02ae3dfd5f;hb=e1dab8a680a76f8621e967a693dbf2b481ba8f75;hp=595e62b35c5926bb6776b516195d8517d575759b;hpb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;p=l2e.git diff --git a/src/map/Map.h b/src/map/Map.h index 595e62b..e0a95dd 100644 --- a/src/map/Map.h +++ b/src/map/Map.h @@ -1,10 +1,17 @@ #ifndef MAP_MAP_H_ #define MAP_MAP_H_ +namespace map { + class Area; + class Tile; + class Trigger; +} +namespace math { + template + class Vector; +} + #include "Entity.h" -#include "fwd.h" -#include "../math/Vector.h" -#include "../graphics/fwd.h" #include @@ -51,7 +58,10 @@ public: /// Render the map. /// Entities are not rendered by this function. - void Render(SDL_Surface *dest, const math::Vector &offset) const; + void Render( + SDL_Surface *dest, + const math::Vector &offset, + unsigned int frame) const; /// Render a debugging overlay that includes collision and trigger /// information. void RenderDebug(SDL_Surface *dest, const math::Vector &offset) const; @@ -74,4 +84,4 @@ private: } -#endif /* MAP_MAP_H_ */ +#endif