1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Fix ios compile

This commit is contained in:
Ivan Savenko 2023-01-18 17:32:57 +02:00
parent fc0f5a9fb3
commit 8ed115a628
12 changed files with 23 additions and 14 deletions

View File

@ -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

View File

@ -15,12 +15,11 @@
VCMI_LIB_NAMESPACE_BEGIN
class CStack;
VCMI_LIB_NAMESPACE_END
class Rect;
class Point;
VCMI_LIB_NAMESPACE_END
class ClickableHex;
class BattleHero;
class Canvas;

View File

@ -13,6 +13,7 @@ VCMI_LIB_NAMESPACE_BEGIN
struct BattleHex;
struct CObstacleInstance;
class Point;
VCMI_LIB_NAMESPACE_END
@ -21,7 +22,6 @@ class Canvas;
class CAnimation;
class BattleInterface;
class BattleRenderer;
class Point;
/// Controls all currently active projectiles on the battlefield
/// (with exception of moat, which is apparently handled by siege controller)

View File

@ -18,10 +18,10 @@ struct CatapultAttack;
class CCreature;
class CStack;
class CGTownInstance;
class Point;
VCMI_LIB_NAMESPACE_END
class Point;
class Canvas;
class BattleInterface;
class BattleRenderer;

View File

@ -18,6 +18,7 @@ class BattleAction;
class CStack;
class CSpell;
class SpellID;
class Point;
VCMI_LIB_NAMESPACE_END
@ -32,7 +33,6 @@ class CreatureAnimation;
class BattleAnimation;
class BattleRenderer;
class IImage;
class Point;
struct BattleStackFilterEffect
{

View File

@ -23,6 +23,8 @@
VCMI_LIB_NAMESPACE_BEGIN
class JsonNode;
class Rect;
class Point;
VCMI_LIB_NAMESPACE_END
@ -30,8 +32,6 @@ struct SDL_Surface;
struct SDL_Color;
class CDefFile;
class ColorFilter;
class Rect;
class Point;
/*
* Base class for images, can be used for non-animation pictures as well

View File

@ -12,10 +12,10 @@
VCMI_LIB_NAMESPACE_BEGIN
class JsonNode;
class Point;
VCMI_LIB_NAMESPACE_END
class Point;
struct SDL_Surface;
struct SDL_Color;

View File

@ -25,9 +25,13 @@ extern SDL_Renderer * mainRenderer;
extern SDL_Texture * screenTexture;
extern SDL_Surface * screen, *screen2, *screenBuf;
VCMI_LIB_NAMESPACE_BEGIN
class Rect;
class Point;
VCMI_LIB_NAMESPACE_END
/**
* The colors class defines color constants of type SDL_Color.
*/

View File

@ -19,11 +19,11 @@ namespace config
{
struct ButtonInfo;
}
class Rect;
VCMI_LIB_NAMESPACE_END
struct SDL_Surface;
class Rect;
class CAnimImage;
class CLabel;
class CAnimation;

View File

@ -14,8 +14,11 @@
#include <SDL_render.h>
struct SDL_Surface;
VCMI_LIB_NAMESPACE_BEGIN
class Rect;
VCMI_LIB_NAMESPACE_END
struct SDL_Surface;
class CAnimImage;
class CLabel;
class CAnimation;

View File

@ -11,8 +11,11 @@
#include "../gui/CIntObject.h"
struct SDL_Surface;
VCMI_LIB_NAMESPACE_BEGIN
class Rect;
VCMI_LIB_NAMESPACE_END
struct SDL_Surface;
class CAnimImage;
class CSlider;
class CLabel;

View File

@ -16,11 +16,11 @@
VCMI_LIB_NAMESPACE_BEGIN
class CGGarrison;
class Rect;
VCMI_LIB_NAMESPACE_END
struct SDL_Surface;
class Rect;
class CAnimImage;
class CLabel;
class CAnimation;