Преглед на файлове

* VCMI compiles now under MSVC

mateuszb преди 16 години
родител
ревизия
c6b11ee917
променени са 2 файла, в които са добавени 9 реда и са изтрити 1 реда
  1. 1 1
      hch/CVideoHandler.cpp
  2. 8 0
      hch/CVideoHandler.h

+ 1 - 1
hch/CVideoHandler.cpp

@@ -202,7 +202,7 @@ void CBIKHandler::open(std::string name)
 
 #else
 
-#include "SDL_Extensions.h"
+#include "../client/SDL_Extensions.h"
 
 extern "C" {
 #include <libavformat/avformat.h>

+ 8 - 0
hch/CVideoHandler.h

@@ -150,9 +150,17 @@ public:
 	void close();
 };
 
+class CVideoPlayer
+{
+};
+
 #else
 
+#ifdef _WIN32
+#include <SDL_video.h>
+#else
 #include <SDL/SDL_video.h>
+#endif
 
 typedef struct AVFormatContext AVFormatContext;
 typedef struct AVCodecContext AVCodecContext;