X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmap%2FArea.h;fp=src%2Fmap%2FArea.h;h=90f8f5fc7b3eaf0ab2b322882b1dfa5ff7ee33dc;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=5ea35874c8a088d9d2aae81c101a34c363c91024;hpb=ef2496b3cb7ce66b7f831278be66261834b732e5;p=l2e.git diff --git a/src/map/Area.h b/src/map/Area.h index 5ea3587..90f8f5f 100644 --- a/src/map/Area.h +++ b/src/map/Area.h @@ -2,7 +2,7 @@ #define MAP_AREA_H_ #include "fwd.h" -#include "../geometry/Vector.h" +#include "../math/Vector.h" #include "../graphics/Sprite.h" #include @@ -27,16 +27,16 @@ public: /// Get the height in tiles. int Height() const { return numTiles / width + (numTiles % width ? 1 : 0); } /// Get the size in tiles. - geometry::Vector Size() const { return geometry::Vector(Width(), Height()); } + math::Vector Size() const { return math::Vector(Width(), Height()); } /// Get a tile by tile coordinates (not pixel coordinates!). - Tile *TileAt(const geometry::Vector &); - const Tile *TileAt(const geometry::Vector &) const; + Tile *TileAt(const math::Vector &); + const Tile *TileAt(const math::Vector &) const; /// Get the default battle background for this area. SDL_Surface *BattleBackground() { return battlebg; } - void Render(SDL_Surface *dest, const graphics::Sprite *tileset, const geometry::Vector &offset) const; - void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const geometry::Vector &offset) const; + void Render(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector &offset) const; + void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector &offset) const; static void CreateTypeDescription(); static void Construct(void *);