X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fbattle%2FBattleState.h;h=fbaa1d0169f79107b954ba3ece200ca18018454f;hb=2a1d9169e1f6c2dfe0f93ed40d5fb68d3da342af;hp=27953cd013cd5e050aa9d2bded9a20eeb78856f8;hpb=0542849dfccfec1ce1477265fa0fee2401a8fb23;p=l2e.git diff --git a/src/battle/BattleState.h b/src/battle/BattleState.h index 27953cd..fbaa1d0 100644 --- a/src/battle/BattleState.h +++ b/src/battle/BattleState.h @@ -8,6 +8,7 @@ #ifndef BATTLE_BATTLESTATE_H_ #define BATTLE_BATTLESTATE_H_ +#include "fwd.h" #include "AttackTypeMenu.h" #include "Hero.h" #include "HeroTag.h" @@ -15,34 +16,20 @@ #include "MoveMenu.h" #include "Resources.h" #include "SmallHeroTag.h" +#include "../app/fwd.h" #include "../app/State.h" +#include "../common/fwd.h" #include "../geometry/Vector.h" #include "../graphics/Animation.h" +#include "../graphics/fwd.h" #include "../graphics/Menu.h" #include #include #include -namespace app { class Input; } -namespace common { - class Inventory; - class Item; - class Spell; -} -namespace graphics { - class Font; - class Frame; - class Gauge; - class Sprite; -} - namespace battle { -class AttackChoice; -class PartyLayout; -class Stats; - class BattleState : public app::State { @@ -139,6 +126,7 @@ public: } int Width() const { return background->w; } int Height() const { return background->h; } + geometry::Vector Size() const { return geometry::Vector(Width(), Height()); } void RenderBackground(SDL_Surface *screen, const geometry::Vector &offset); void RenderMonsters(SDL_Surface *screen, const geometry::Vector &offset);