X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FScenarioMenu.h;h=ab6cd668eabdbd9fbf3f6a51bdd491404abd92e4;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=bcc2bbc95eb9ff58fa76461ba9b4c6c2bb009a6c;hpb=350055a7ff27c74882aff8a4d6af2014782f830b;p=l2e.git diff --git a/src/menu/ScenarioMenu.h b/src/menu/ScenarioMenu.h index bcc2bbc..ab6cd66 100644 --- a/src/menu/ScenarioMenu.h +++ b/src/menu/ScenarioMenu.h @@ -1,17 +1,18 @@ -/* - * ScenarioMenu.h - * - * Created on: Nov 30, 2012 - * Author: holy - */ - #ifndef MENU_SCENARIOMENU_H_ #define MENU_SCENARIOMENU_H_ -#include "fwd.h" +namespace common { + class Item; +} +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 +25,7 @@ public: public: virtual void HandleEvents(const app::Input &); - virtual void UpdateWorld(float deltaT); + virtual void UpdateWorld(Uint32 deltaT); virtual void Render(SDL_Surface *); int Width() const; @@ -40,8 +41,8 @@ private: void LoadItems(); - void RenderHeadline(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderItems(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderHeadline(SDL_Surface *screen, const math::Vector &offset) const; + void RenderItems(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent; @@ -51,4 +52,4 @@ private: } -#endif /* MENU_SCENARIOMENU_H_ */ +#endif