X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FSpellMenu.h;h=42dbfbbbabaf04022748d6de00d8cd89e111f136;hb=a3ba4dc677ad7c92eeb78b20b642241563605c9d;hp=c9c62a79b6ea968358231d0bf8ffe707564c1372;hpb=670dd3c61cba875345b6755d41f479cff8d964c4;p=l2e.git diff --git a/src/menu/SpellMenu.h b/src/menu/SpellMenu.h index c9c62a7..42dbfbb 100644 --- a/src/menu/SpellMenu.h +++ b/src/menu/SpellMenu.h @@ -1,17 +1,10 @@ -/* - * SpellMenu.h - * - * Created on: Nov 18, 2012 - * Author: holy - */ - #ifndef MENU_SPELLMENU_H_ #define MENU_SPELLMENU_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 { @@ -39,13 +32,14 @@ private: virtual void OnResize(int width, int height); + common::Hero &GetHero(); const common::Hero &GetHero() const; void LoadSpells(); - void RenderHighlight(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderSpells(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderHighlight(SDL_Surface *screen, const math::Vector &offset) const; + void RenderMenu(SDL_Surface *screen, const math::Vector &offset) const; + void RenderSpells(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent;