]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/PartyMenu.h
renamed namespace geometry -> math
[l2e.git] / src / menu / PartyMenu.h
index 08ffa3823b46c1a8a6b07db38f6982fd75fdb398..a009c339c4a0acc25c4f5f491b2320eecc955c4a 100644 (file)
@@ -5,7 +5,7 @@
 #include "HeroStatus.h"
 #include "../app/State.h"
 #include "../common/fwd.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 #include "../graphics/Menu.h"
 
 namespace menu {
@@ -33,11 +33,11 @@ public:
 
 public:
        void RenderBackground(SDL_Surface *screen) const;
-       void RenderHeros(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderInfo(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void RenderHeros(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderInfo(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
-       geometry::Vector<int> StatusOffset(int index) const;
+       math::Vector<int> StatusOffset(int index) const;
        const HeroStatus &GetHeroStatus(int index) const { return status[index]; }
 
        static void OnEquipSelect(void *, int);
@@ -66,7 +66,7 @@ private:
 
 private:
        HeroStatus status[4];
-       geometry::Vector<int> statusPositions[4];
+       math::Vector<int> statusPositions[4];
        common::GameConfig *game;
        graphics::Menu<int> mainMenu;