ソースを参照

Compile fix for MVS.

DjWarmonger 12 年 前
コミット
51e6961d08
4 ファイル変更14 行追加0 行削除
  1. 1 0
      AI/VCAI/Goals.cpp
  2. 1 0
      client/CPreGame.cpp
  3. 1 0
      lib/CGameState.h
  4. 11 0
      lib/filesystem/AdapterLoaders.h

+ 1 - 0
AI/VCAI/Goals.cpp

@@ -2,6 +2,7 @@
 #include "Goals.h"
 #include "VCAI.h"
 #include "Fuzzy.h"
+#include "../../lib/mapping/CMap.h" //for victory conditions
 
 /*
  * Goals.cpp, part of VCMI engine

+ 1 - 0
client/CPreGame.cpp

@@ -42,6 +42,7 @@
 #include "gui/CGuiHandler.h"
 #include "gui/CIntObjectClasses.h"
 #include "../lib/mapping/CMapService.h"
+#include "../lib/mapping/CMap.h"
 
 /*
  * CPreGame.cpp, part of VCMI engine

+ 1 - 0
lib/CGameState.h

@@ -60,6 +60,7 @@ class CGameInfo;
 struct QuestInfo;
 class CQuest;
 class CCampaignScenario;
+struct EventCondition;
 
 namespace boost
 {

+ 11 - 0
lib/filesystem/AdapterLoaders.h

@@ -58,6 +58,17 @@ class DLL_LINKAGE CFilesystemList : public ISimpleResourceLoader
 
 	std::set<ISimpleResourceLoader *> writeableLoaders;
 
+	//FIXME: this is only compile fix, should be removed in the end
+	CFilesystemList(CFilesystemList &) 
+    { 
+		//class is not copyable 
+    } 
+    CFilesystemList &operator=(CFilesystemList &) 
+    { 
+        //class is not copyable 
+        return *this; 
+    }
+
 public:
 	CFilesystemList();
 	~CFilesystemList();