|
@@ -10,32 +10,31 @@
|
|
|
#include "StdInc.h"
|
|
|
#include "BattleProcessor.h"
|
|
|
|
|
|
-#include "CGameHandler.h"
|
|
|
-#include "CQuery.h"
|
|
|
-#include "CVCMIServer.h"
|
|
|
-#include "HeroPoolProcessor.h"
|
|
|
-
|
|
|
-#include "../lib/ArtifactUtils.h"
|
|
|
-#include "../lib/CGeneralTextHandler.h"
|
|
|
-#include "../lib/CStack.h"
|
|
|
-#include "../lib/CondSh.h"
|
|
|
-#include "../lib/GameSettings.h"
|
|
|
-#include "../lib/ScopeGuard.h"
|
|
|
-#include "../lib/TerrainHandler.h"
|
|
|
-#include "../lib/UnlockGuard.h"
|
|
|
-#include "../lib/battle/BattleInfo.h"
|
|
|
-#include "../lib/battle/CUnitState.h"
|
|
|
-#include "../lib/gameState/CGameState.h"
|
|
|
-#include "../lib/mapObjects/CGTownInstance.h"
|
|
|
-#include "../lib/mapping/CMap.h"
|
|
|
-#include "../lib/modding/IdentifierStorage.h"
|
|
|
-#include "../lib/serializer/Cast.h"
|
|
|
-#include "../lib/spells/AbilityCaster.h"
|
|
|
-#include "../lib/spells/BonusCaster.h"
|
|
|
-#include "../lib/spells/CSpellHandler.h"
|
|
|
-#include "../lib/spells/ISpellMechanics.h"
|
|
|
-#include "../lib/spells/ObstacleCasterProxy.h"
|
|
|
-#include "../lib/spells/Problem.h"
|
|
|
+#include "../CGameHandler.h"
|
|
|
+#include "../CVCMIServer.h"
|
|
|
+#include "../processors/HeroPoolProcessor.h"
|
|
|
+#include "../queries/CQuery.h"
|
|
|
+
|
|
|
+#include "../../lib/ArtifactUtils.h"
|
|
|
+#include "../../lib/CGeneralTextHandler.h"
|
|
|
+#include "../../lib/CModHandler.h"
|
|
|
+#include "../../lib/CStack.h"
|
|
|
+#include "../../lib/CondSh.h"
|
|
|
+#include "../../lib/GameSettings.h"
|
|
|
+#include "../../lib/ScopeGuard.h"
|
|
|
+#include "../../lib/TerrainHandler.h"
|
|
|
+#include "../../lib/battle/BattleInfo.h"
|
|
|
+#include "../../lib/battle/CUnitState.h"
|
|
|
+#include "../../lib/gameState/CGameState.h"
|
|
|
+#include "../../lib/mapObjects/CGTownInstance.h"
|
|
|
+#include "../../lib/mapping/CMap.h"
|
|
|
+#include "../../lib/serializer/Cast.h"
|
|
|
+#include "../../lib/spells/AbilityCaster.h"
|
|
|
+#include "../../lib/spells/BonusCaster.h"
|
|
|
+#include "../../lib/spells/CSpellHandler.h"
|
|
|
+#include "../../lib/spells/ISpellMechanics.h"
|
|
|
+#include "../../lib/spells/ObstacleCasterProxy.h"
|
|
|
+#include "../../lib/spells/Problem.h"
|
|
|
|
|
|
#define COMPLAIN_RET_IF(cond, txt) do {if (cond){gameHandler->complain(txt); return;}} while(0)
|
|
|
#define COMPLAIN_RET_FALSE_IF(cond, txt) do {if (cond){gameHandler->complain(txt); return false;}} while(0)
|