]> git.localhorst.tv Git - l2e.git/blobdiff - src/map/Area.h
renamed namespace geometry -> math
[l2e.git] / src / map / Area.h
index 5ea35874c8a088d9d2aae81c101a34c363c91024..90f8f5fc7b3eaf0ab2b322882b1dfa5ff7ee33dc 100644 (file)
@@ -2,7 +2,7 @@
 #define MAP_AREA_H_
 
 #include "fwd.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 #include "../graphics/Sprite.h"
 
 #include <SDL.h>
@@ -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<int> Size() const { return geometry::Vector<int>(Width(), Height()); }
+       math::Vector<int> Size() const { return math::Vector<int>(Width(), Height()); }
        /// Get a tile by tile coordinates (not pixel coordinates!).
-       Tile *TileAt(const geometry::Vector<int> &);
-       const Tile *TileAt(const geometry::Vector<int> &) const;
+       Tile *TileAt(const math::Vector<int> &);
+       const Tile *TileAt(const math::Vector<int> &) 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<int> &offset) const;
-       void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const geometry::Vector<int> &offset) const;
+       void Render(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector<int> &offset) const;
+       void RenderDebug(SDL_Surface *dest, const graphics::Sprite *tileset, const math::Vector<int> &offset) const;
 
        static void CreateTypeDescription();
        static void Construct(void *);