2
0
Ivan Savenko 2 жил өмнө
parent
commit
34772ef830

+ 0 - 1
CCallback.cpp

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

+ 0 - 2
client/render/IFont.h

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

+ 4 - 1
client/render/IImageLoader.h

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

+ 10 - 14
client/renderSDL/SDL_Extensions.cpp

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

+ 0 - 1
lib/mapObjects/CObjectHandler.h

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