Browse Source

[c::b] BattleAI project updated, fixed paths

AlexVinS 9 years ago
parent
commit
b7b488b445
4 changed files with 16 additions and 4 deletions
  1. 1 1
      AI/BattleAI/AttackPossibility.h
  2. 12 0
      AI/BattleAI/BattleAI.cbp
  3. 2 2
      AI/BattleAI/EnemyInfo.cpp
  4. 1 1
      AI/BattleAI/EnemyInfo.h

+ 1 - 1
AI/BattleAI/AttackPossibility.h

@@ -9,7 +9,7 @@
  */
 #pragma once
 #include "../../lib/BattleState.h"
-#include "CCallback.h"
+#include "../../CCallback.h"
 #include "common.h"
 
 

+ 12 - 0
AI/BattleAI/BattleAI.cbp

@@ -66,12 +66,24 @@
 			<Add option="-lVCMI_lib" />
 			<Add directory="../.." />
 		</Linker>
+		<Unit filename="AttackPossibility.cpp" />
+		<Unit filename="AttackPossibility.h" />
 		<Unit filename="BattleAI.cpp" />
 		<Unit filename="BattleAI.h" />
+		<Unit filename="EnemyInfo.cpp" />
+		<Unit filename="EnemyInfo.h" />
+		<Unit filename="PotentialTargets.cpp" />
+		<Unit filename="PotentialTargets.h" />
+		<Unit filename="StackWithBonuses.cpp" />
+		<Unit filename="StackWithBonuses.h" />
 		<Unit filename="StdInc.h">
 			<Option compile="1" />
 			<Option weight="0" />
 		</Unit>
+		<Unit filename="ThreatMap.cpp" />
+		<Unit filename="ThreatMap.h" />
+		<Unit filename="common.cpp" />
+		<Unit filename="common.h" />
 		<Unit filename="main.cpp" />
 		<Extensions>
 			<code_completion />

+ 2 - 2
AI/BattleAI/EnemyInfo.cpp

@@ -9,8 +9,8 @@
  */
 #include "StdInc.h"
 #include "EnemyInfo.h"
-#include "CRandomGenerator.h"
-#include "CCallback.h"
+#include "../../lib/CRandomGenerator.h"
+#include "../../CCallback.h"
 #include "common.h"
 
 void EnemyInfo::calcDmg(const CStack * ourStack)

+ 1 - 1
AI/BattleAI/EnemyInfo.h

@@ -8,7 +8,7 @@
  *
  */
 #pragma once
-#include "BattleHex.h"
+#include "../../lib/BattleState.h"
 
 class CStack;