X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FInventoryMenu.h;h=10b9730fbbda7304e337c9dfbf0425d29132a65d;hb=ec824200aec12d6870b70304bcd2e2aeadba767b;hp=e0cb6feee1ca9463528518689688a6e6cd11bdcc;hpb=cc3d698b8c1ad09d7a3f9e3f28bc84e0ac1735ea;p=l2e.git diff --git a/src/menu/InventoryMenu.h b/src/menu/InventoryMenu.h index e0cb6fe..10b9730 100644 --- a/src/menu/InventoryMenu.h +++ b/src/menu/InventoryMenu.h @@ -1,10 +1,18 @@ #ifndef MENU_INVENTORYMENU_H_ #define MENU_INVENTORYMENU_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 LoadInventory(); - void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderInventory(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderMenu(SDL_Surface *screen, const math::Vector &offset) const; + void RenderInventory(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent; @@ -50,4 +58,4 @@ private: } -#endif /* MENU_INVENTORYMENU_H_ */ +#endif