@@ -17,6 +17,7 @@ VCMI_LIB_NAMESPACE_BEGIN
class CStack;
class CCreature;
class CSpell;
+class Point;
VCMI_LIB_NAMESPACE_END
@@ -27,7 +28,6 @@ class CAnimation;
class BattleInterface;
class CreatureAnimation;
struct StackAttackedInfo;
-class Point;
/// Base class of battle animations
class BattleAnimation
@@ -15,12 +15,11 @@
VCMI_LIB_NAMESPACE_BEGIN
-
-VCMI_LIB_NAMESPACE_END
class Rect;
class Point;
+VCMI_LIB_NAMESPACE_END
+
class ClickableHex;
class BattleHero;
class Canvas;
@@ -13,6 +13,7 @@ VCMI_LIB_NAMESPACE_BEGIN
struct BattleHex;
struct CObstacleInstance;
@@ -21,7 +22,6 @@ class Canvas;
class CAnimation;
class BattleRenderer;
/// Controls all currently active projectiles on the battlefield
/// (with exception of moat, which is apparently handled by siege controller)
@@ -18,10 +18,10 @@ struct CatapultAttack;
class CGTownInstance;
@@ -18,6 +18,7 @@ class BattleAction;
class SpellID;
@@ -32,7 +33,6 @@ class CreatureAnimation;
class BattleAnimation;
class IImage;
struct BattleStackFilterEffect
{
@@ -23,6 +23,8 @@
class JsonNode;
+class Rect;
@@ -30,8 +32,6 @@ struct SDL_Surface;
struct SDL_Color;
class CDefFile;
class ColorFilter;
-class Rect;
/*
* Base class for images, can be used for non-animation pictures as well
@@ -12,10 +12,10 @@
struct SDL_Surface;
@@ -25,9 +25,13 @@ extern SDL_Renderer * mainRenderer;
extern SDL_Texture * screenTexture;
extern SDL_Surface * screen, *screen2, *screenBuf;
+VCMI_LIB_NAMESPACE_BEGIN
/**
* The colors class defines color constants of type SDL_Color.
*/
@@ -19,11 +19,11 @@ namespace config
struct ButtonInfo;
}
class CAnimImage;
class CLabel;
@@ -14,8 +14,11 @@
#include <SDL_render.h>
-struct SDL_Surface;
+struct SDL_Surface;
@@ -11,8 +11,11 @@
#include "../gui/CIntObject.h"
class CSlider;
@@ -16,11 +16,11 @@
class CGGarrison;