1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-02 00:10:22 +02:00

Fixed includes

This commit is contained in:
Ivan Savenko 2023-02-01 21:11:10 +02:00
parent 108a42e4ba
commit 34772ef830
5 changed files with 14 additions and 19 deletions

View File

@ -11,7 +11,6 @@
#include "CCallback.h"
#include "lib/CCreatureHandler.h"
#include "client/CGameInfo.h"
#include "lib/CGameState.h"
#include "client/CPlayerInterface.h"
#include "client/Client.h"

View File

@ -10,9 +10,7 @@
#pragma once
VCMI_LIB_NAMESPACE_BEGIN
class Point;
VCMI_LIB_NAMESPACE_END
struct SDL_Surface;

View File

@ -10,8 +10,11 @@
#pragma once
class SDLImage;
VCMI_LIB_NAMESPACE_BEGIN
class Point;
VCMI_LIB_NAMESPACE_END
class SDLImage;
struct SDL_Color;

View File

@ -11,24 +11,20 @@
#include "SDL_Extensions.h"
#include "SDL_PixelAccess.h"
//
//#include "../CGameInfo.h"
//#include "../CMessage.h"
#include "../render/Graphics.h"
//#include "../CMT.h"
//
//#include <SDL_version.h>
#include <SDL_render.h>
#include <SDL_video.h>
#include <SDL_events.h>
//
//#ifdef VCMI_APPLE
//#include <dispatch/dispatch.h>
//#endif
//
//#ifdef VCMI_IOS
//#include "ios/utils.h"
//#endif
#ifdef VCMI_APPLE
#include <dispatch/dispatch.h>
#endif
#ifdef VCMI_IOS
#include "ios/utils.h"
#endif
const SDL_Color Colors::YELLOW = { 229, 215, 123, SDL_ALPHA_OPAQUE };
const SDL_Color Colors::WHITE = { 255, 243, 222, SDL_ALPHA_OPAQUE };

View File

@ -11,7 +11,6 @@
#include "ObjectTemplate.h"
//#include "../IGameCallback.h"
#include "../int3.h"
#include "../HeroBonus.h"