X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FEquipMenu.h;h=ffa7a837b476ab9a61a8988ec02337a3da313066;hb=06db9f596cd1c5aa4c0832b387882f7c74c1b4c0;hp=39380dcccd2d597ad2699754a069d86d4d9bd0cf;hpb=f2abfc21845c29024ce2478f95429801e91ef8e8;p=l2e.git diff --git a/src/menu/EquipMenu.h b/src/menu/EquipMenu.h index 39380dc..ffa7a83 100644 --- a/src/menu/EquipMenu.h +++ b/src/menu/EquipMenu.h @@ -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 { @@ -42,16 +35,24 @@ private: void NextHero(); void PreviousHero(); + common::Hero &GetHero(); const common::Hero &GetHero() const; void LoadEquipment(); - - void RenderStatus(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderStats(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const geometry::Vector &position) const; - void RenderEquipmentMenu(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderActionMenu(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderInventoryMenu(SDL_Surface *screen, const geometry::Vector &offset) const; + void RemoveAllEquipment(); + void RemoveItem(); + void DropItem(); + + bool InventoryVisible() const; + void LoadInventory(); + void EquipSelected(); + + void RenderStatus(SDL_Surface *screen, const math::Vector &offset) const; + void RenderStats(SDL_Surface *screen, const math::Vector &offset) const; + void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const math::Vector &position) const; + void RenderEquipmentMenu(SDL_Surface *screen, const math::Vector &offset) const; + void RenderActionMenu(SDL_Surface *screen, const math::Vector &offset) const; + void RenderInventoryMenu(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent;