]> git.localhorst.tv Git - l2e.git/blobdiff - src/menu/CapsuleFeedMenu.h
renamed namespace geometry -> math
[l2e.git] / src / menu / CapsuleFeedMenu.h
index 8c75edd11e1d22712190458bc1c316971af90839..3ea8c1a097861c5710e65e6b2934970aa0d734a6 100644 (file)
@@ -4,7 +4,7 @@
 #include "fwd.h"
 #include "../app/State.h"
 #include "../common/fwd.h"
-#include "../geometry/Vector.h"
+#include "../math/Vector.h"
 #include "../graphics/Menu.h"
 
 namespace menu {
@@ -34,15 +34,18 @@ private:
 
        virtual void OnResize(int width, int height);
 
+       common::Capsule &GetCapsule();
        const common::Capsule &GetCapsule() const;
 
        void LoadInventory();
-
-       void RenderName(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderSprite(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderHunger(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderMenu(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
-       void RenderItems(SDL_Surface *screen, const geometry::Vector<int> &offset) const;
+       void FeedSelected();
+
+       void RenderName(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderSprite(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderGrowth(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderHunger(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderMenu(SDL_Surface *screen, const math::Vector<int> &offset) const;
+       void RenderItems(SDL_Surface *screen, const math::Vector<int> &offset) const;
 
 private:
        CapsuleMenu *parent;