X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FStatusMenu.h;h=45af969a72bd4f3fd110265d8feb5da3f5495964;hb=4309d259becd96ead792678257e910c03a6b4a3d;hp=5f6f986eb465b69ba87434de87b3fd138aaac40c;hpb=350055a7ff27c74882aff8a4d6af2014782f830b;p=l2e.git diff --git a/src/menu/StatusMenu.h b/src/menu/StatusMenu.h index 5f6f986..45af969 100644 --- a/src/menu/StatusMenu.h +++ b/src/menu/StatusMenu.h @@ -1,17 +1,19 @@ -/* - * StatusMenu.h - * - * Created on: Oct 22, 2012 - * Author: holy - */ - #ifndef MENU_STATUSMENU_H_ #define MENU_STATUSMENU_H_ -#include "fwd.h" +namespace common { + class Hero; + 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 +26,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: @@ -44,17 +46,17 @@ private: const common::Hero &GetHero() const; - void RenderStatus(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderStats(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const geometry::Vector &position) const; - void RenderEquipment(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderEquipmentLine(const common::Item *, SDL_Surface *screen, const geometry::Vector &position) const; + void RenderStatus(SDL_Surface *screen, const math::Vector &offset) const; + void RenderStats(SDL_Surface *screen, const math::Vector &offset) const; + void RenderStatsLine(const char *label, int number, SDL_Surface *screen, const math::Vector &position) const; + void RenderEquipment(SDL_Surface *screen, const math::Vector &offset) const; + void RenderEquipmentLine(const common::Item *, SDL_Surface *screen, const math::Vector &position) const; /// @param offset the top right corner! - void RenderExperience(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderExperience(SDL_Surface *screen, const math::Vector &offset) const; /// @param offset the top right corner! - void RenderNextLevel(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderIkari(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderNextLevel(SDL_Surface *screen, const math::Vector &offset) const; + void RenderIkari(SDL_Surface *screen, const math::Vector &offset) const; + void RenderMenu(SDL_Surface *screen, const math::Vector &offset) const; private: PartyMenu *parent; @@ -65,4 +67,4 @@ private: } -#endif /* MENU_STATUSMENU_H_ */ +#endif