X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FSpellMenu.h;h=c696b03a2b68cf968e68f01c923b4da1e1bf4beb;hb=HEAD;hp=d289794795852b4552d2f07aa68dddfb5f5067b8;hpb=350055a7ff27c74882aff8a4d6af2014782f830b;p=l2e.git diff --git a/src/menu/SpellMenu.h b/src/menu/SpellMenu.h index d289794..c696b03 100644 --- a/src/menu/SpellMenu.h +++ b/src/menu/SpellMenu.h @@ -1,17 +1,19 @@ -/* - * SpellMenu.h - * - * Created on: Nov 18, 2012 - * Author: holy - */ - #ifndef MENU_SPELLMENU_H_ #define MENU_SPELLMENU_H_ -#include "fwd.h" +namespace common { + class Hero; + class Spell; +} +namespace math { + template + class Vector; +} +namespace menu { + class PartyMenu; +} + #include "../app/State.h" -#include "../common/fwd.h" -#include "../geometry/Vector.h" #include "../graphics/Menu.h" namespace menu { @@ -24,7 +26,7 @@ public: public: virtual void HandleEvents(const app::Input &); - virtual void UpdateWorld(float deltaT); + virtual void UpdateWorld(Uint32 deltaT); virtual void Render(SDL_Surface *); public: @@ -44,9 +46,9 @@ private: 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; @@ -63,4 +65,4 @@ private: } -#endif /* MENU_SPELLMENU_H_ */ +#endif