X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fmenu%2FCapsuleNameMenu.h;h=2fd709a6590d549b03a5daa44266d5aeff9d908c;hb=3aca2860c95bb4d30569a23ab88a5286c3b9b757;hp=77211e2152c8dcc7d53f882d33c31d6aaf25f525;hpb=9666839d0ca6c794d28226a007870c82ef4ddb20;p=l2e.git diff --git a/src/menu/CapsuleNameMenu.h b/src/menu/CapsuleNameMenu.h index 77211e2..2fd709a 100644 --- a/src/menu/CapsuleNameMenu.h +++ b/src/menu/CapsuleNameMenu.h @@ -1,10 +1,18 @@ #ifndef MENU_CAPSULENAMEMENU_H_ #define MENU_CAPSULENAMEMENU_H_ -#include "fwd.h" +namespace common { + class Capsule; +} +namespace math { + template + class Vector; +} +namespace menu { + class CapsuleMenu; +} + #include "../app/State.h" -#include "../common/fwd.h" -#include "../geometry/Vector.h" #include "../graphics/CharSelect.h" namespace menu { @@ -19,7 +27,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: @@ -41,8 +49,8 @@ private: void RemoveChar(); void StoreName(); - void RenderName(SDL_Surface *screen, const geometry::Vector &offset) const; - void RenderAlphabet(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderName(SDL_Surface *screen, const math::Vector &offset) const; + void RenderAlphabet(SDL_Surface *screen, const math::Vector &offset) const; private: CapsuleMenu *parent; @@ -55,4 +63,4 @@ private: } -#endif /* MENU_CAPSULENAMEMENU_H_ */ +#endif