X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FScenarioMenu.h;h=7f1036741eb0755bad2b0477d7a5e8ed72b2e791;hb=092a2dd175a4001a495c84ee85211734fb928c83;hp=23cb5145bf2d3fa42a8b7e5d9da4678fcc1a77a6;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/menu/ScenarioMenu.h b/src/menu/ScenarioMenu.h index 23cb514..7f10367 100644 --- a/src/menu/ScenarioMenu.h +++ b/src/menu/ScenarioMenu.h @@ -1,10 +1,18 @@ #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 { @@ -17,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; @@ -33,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;