]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleMenu.h
removed lazy fwd headers
[l2e.git] / src / menu / CapsuleMenu.h
index 6358a6a269a2d986a09dae61a6a60c6bfdf895ce..c42eb4952c3d631e1c8080d21c872315825432af 100644 (file)
@@ -1,10 +1,20 @@
 #ifndef MENU_CAPSULEMENU_H_
 #define MENU_CAPSULEMENU_H_
 
-#include "fwd.h"
+namespace common {
+       class Capsule;
+       struct GameConfig;
+}
+namespace math {
+       template<class>
+       class Vector;
+}
+namespace menu {
+       class PartyMenu;
+       struct Resources;
+}
+
 #include "../app/State.h"
-#include "../common/fwd.h"
-#include "../geometry/Vector.h"
 #include "../graphics/Menu.h"
 
 namespace menu {
@@ -17,16 +27,16 @@ public:
 
 public:
        virtual void HandleEvents(const app::Input &);
-       virtual void UpdateWorld(float deltaT);
+       virtual void UpdateWorld(Uint32 deltaT);
        virtual void Render(SDL_Surface *);
 
        void RenderBackground(SDL_Surface *screen) const;
-       void RenderCapsule(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderInfo(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderWheel(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderStats(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderStatsLine(SDL_Surface *screen, const geometry::Vector<int> &offset, const char *name, int value) const;
-       void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void RenderCapsule(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderInfo(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderWheel(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderStats(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderStatsLine(SDL_Surface *screen, const math::Vector<int> &offset, const char *name, int value) const;
+       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 public:
        common::GameConfig &Game();