X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FConfigMenu.h;h=e8b2692c3d982843adde46d4717dc8468d2fb047;hb=092a2dd175a4001a495c84ee85211734fb928c83;hp=f7dda534966a2672da11e04aaddee6f8bab60c7a;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/menu/ConfigMenu.h b/src/menu/ConfigMenu.h index f7dda53..e8b2692 100644 --- a/src/menu/ConfigMenu.h +++ b/src/menu/ConfigMenu.h @@ -1,9 +1,15 @@ #ifndef MENU_CONFIGMENU_H_ #define MENU_CONFIGMENU_H_ -#include "fwd.h" +namespace math { + template + class Vector; +} +namespace menu { + class PartyMenu; +} + #include "../app/State.h" -#include "../geometry/Vector.h" #include "../graphics/Menu.h" namespace menu { @@ -16,7 +22,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: @@ -31,8 +37,8 @@ private: virtual void OnResize(int width, int height); - void RenderHeadline(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderHeadline(SDL_Surface *screen, const math::Vector &offset) const; + void RenderMenu(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent;