X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;ds=sidebyside;f=src%2Fmenu%2FPartyMenu.h;h=5baaf69ac9635c8219e389fb380ed8a160830e77;hb=aedf4ae020e3c811341df79ceae63ca56fb7ce83;hp=ee84239d9a19600c2d6fb313eb89f3aeaccc75e9;hpb=e4f678d8cce5408590178bc873fde1754c037d0d;p=l2e.git diff --git a/src/menu/PartyMenu.h b/src/menu/PartyMenu.h index ee84239..5baaf69 100644 --- a/src/menu/PartyMenu.h +++ b/src/menu/PartyMenu.h @@ -8,9 +8,12 @@ #ifndef MENU_PARTYMENU_H_ #define MENU_PARTYMENU_H_ -#include "Resources.h" +#include "fwd.h" +#include "HeroStatus.h" #include "../app/State.h" -#include "../common/GameConfig.h" +#include "../common/fwd.h" +#include "../geometry/Vector.h" +#include "../graphics/Menu.h" namespace menu { @@ -38,8 +41,14 @@ private: virtual void OnResize(int width, int height); + void RenderHeros(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderMenu(SDL_Surface *screen, const geometry::Vector &offset) const; + void RenderInfo(SDL_Surface *screen, const geometry::Vector &offset) const; + private: + HeroStatus status[4]; common::GameConfig *game; + graphics::Menu mainMenu; };