]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/StatusMenu.h
removed useless comments
[l2e.git] / src / menu / StatusMenu.h
index 08d2e0b1dbc958ee874031fef5c6857eff9b6d85..45af969a72bd4f3fd110265d8feb5da3f5495964 100644 (file)
@@ -1,10 +1,19 @@
 #ifndef MENU_STATUSMENU_H_
 #define MENU_STATUSMENU_H_
 
-#include "fwd.h"
+namespace common {
+       class Hero;
+       class Item;
+}
+namespace math {
+       template<class>
+       class Vector;
+}
+namespace menu {
+       class PartyMenu;
+}
+
 #include "../app/State.h"
-#include "../common/fwd.h"
-#include "../geometry/Vector.h"
 #include "../graphics/Menu.h"
 
 namespace menu {
@@ -17,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:
@@ -37,17 +46,17 @@ private:
 
        const common::Hero &GetHero() const;
 
-       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 RenderEquipment(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderEquipmentLine(const common::Item *, SDL_Surface *screen, const geometry::Vector<int> &position) const;
+       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 RenderEquipment(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderEquipmentLine(const common::Item *, SDL_Surface *screen, const math::Vector<int> &position) const;
        /// @param offset the top right corner!
-       void RenderExperience(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void RenderExperience(SDL_Surface *screen, const math::Vector<int> &offset) const;
        /// @param offset the top right corner!
-       void RenderNextLevel(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderIkari(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void RenderNextLevel(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderIkari(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 private:
        PartyMenu *parent;
@@ -58,4 +67,4 @@ private:
 
 }
 
-#endif /* MENU_STATUSMENU_H_ */
+#endif