]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/SpellMenu.h
switched geometric scalars from floating to fixed
[l2e.git] / src / menu / SpellMenu.h
index c9c62a79b6ea968358231d0bf8ffe707564c1372..4bfcb015200ce8d8d33d2ceeb95c78c6b1c7d2e0 100644 (file)
@@ -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 {
@@ -24,7 +17,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:
@@ -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<int> &offset) const;
-       void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderSpells(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void RenderHighlight(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderSpells(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 private:
        PartyMenu *parent;