]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/EquipMenu.h
renamed namespace geometry -> math
[l2e.git] / src / menu / EquipMenu.h
index 2ec66aee992936e4ea87e4ef2303c4e703cc5566..ffa7a837b476ab9a61a8988ec02337a3da313066 100644 (file)
@@ -1,17 +1,10 @@
-/*
- * EquipMenu.h
- *
- *  Created on: Nov 18, 2012
- *      Author: holy
- */
-
 #ifndef MENU_EQUIPMENU_H_
 #define MENU_EQUIPMENU_H_
 
 #include "fwd.h"
 #include "../app/State.h"
 #include "../common/fwd.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 #include "../graphics/Menu.h"
 
 namespace menu {
@@ -50,12 +43,16 @@ private:
        void RemoveItem();
        void DropItem();
 
-       void RenderStatus(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderStats(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const geometry::Vector<int> &position) const;
-       void RenderEquipmentMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderActionMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderInventoryMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       bool InventoryVisible() const;
+       void LoadInventory();
+       void EquipSelected();
+
+       void RenderStatus(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderStats(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const math::Vector<int> &position) const;
+       void RenderEquipmentMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderActionMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderInventoryMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 private:
        PartyMenu *parent;