Browse Source

change namespace

Mircea TheHonestCTO 3 months ago
parent
commit
64324f4821
100 changed files with 101 additions and 101 deletions
  1. 1 1
      AI/Nullkiller2/AIGateway.cpp
  2. 1 1
      AI/Nullkiller2/AIGateway.h
  3. 1 1
      AI/Nullkiller2/AIUtility.cpp
  4. 1 1
      AI/Nullkiller2/AIUtility.h
  5. 1 1
      AI/Nullkiller2/Analyzers/ArmyManager.cpp
  6. 1 1
      AI/Nullkiller2/Analyzers/ArmyManager.h
  7. 1 1
      AI/Nullkiller2/Analyzers/BuildAnalyzer.cpp
  8. 1 1
      AI/Nullkiller2/Analyzers/BuildAnalyzer.h
  9. 1 1
      AI/Nullkiller2/Analyzers/DangerHitMapAnalyzer.cpp
  10. 1 1
      AI/Nullkiller2/Analyzers/DangerHitMapAnalyzer.h
  11. 1 1
      AI/Nullkiller2/Analyzers/HeroManager.cpp
  12. 1 1
      AI/Nullkiller2/Analyzers/HeroManager.h
  13. 2 2
      AI/Nullkiller2/Analyzers/ObjectClusterizer.cpp
  14. 1 1
      AI/Nullkiller2/Analyzers/ObjectClusterizer.h
  15. 1 1
      AI/Nullkiller2/Behaviors/BuildingBehavior.cpp
  16. 1 1
      AI/Nullkiller2/Behaviors/BuildingBehavior.h
  17. 1 1
      AI/Nullkiller2/Behaviors/BuyArmyBehavior.cpp
  18. 1 1
      AI/Nullkiller2/Behaviors/BuyArmyBehavior.h
  19. 1 1
      AI/Nullkiller2/Behaviors/CaptureObjectsBehavior.cpp
  20. 1 1
      AI/Nullkiller2/Behaviors/CaptureObjectsBehavior.h
  21. 1 1
      AI/Nullkiller2/Behaviors/ClusterBehavior.cpp
  22. 1 1
      AI/Nullkiller2/Behaviors/ClusterBehavior.h
  23. 1 1
      AI/Nullkiller2/Behaviors/DefenceBehavior.cpp
  24. 1 1
      AI/Nullkiller2/Behaviors/DefenceBehavior.h
  25. 1 1
      AI/Nullkiller2/Behaviors/ExplorationBehavior.cpp
  26. 1 1
      AI/Nullkiller2/Behaviors/ExplorationBehavior.h
  27. 1 1
      AI/Nullkiller2/Behaviors/GatherArmyBehavior.cpp
  28. 1 1
      AI/Nullkiller2/Behaviors/GatherArmyBehavior.h
  29. 1 1
      AI/Nullkiller2/Behaviors/RecruitHeroBehavior.cpp
  30. 1 1
      AI/Nullkiller2/Behaviors/RecruitHeroBehavior.h
  31. 1 1
      AI/Nullkiller2/Behaviors/StartupBehavior.cpp
  32. 1 1
      AI/Nullkiller2/Behaviors/StartupBehavior.h
  33. 1 1
      AI/Nullkiller2/Behaviors/StayAtTownBehavior.cpp
  34. 1 1
      AI/Nullkiller2/Behaviors/StayAtTownBehavior.h
  35. 1 1
      AI/Nullkiller2/Engine/AIMemory.cpp
  36. 1 1
      AI/Nullkiller2/Engine/AIMemory.h
  37. 1 1
      AI/Nullkiller2/Engine/DeepDecomposer.cpp
  38. 1 1
      AI/Nullkiller2/Engine/DeepDecomposer.h
  39. 1 1
      AI/Nullkiller2/Engine/FuzzyEngines.cpp
  40. 1 1
      AI/Nullkiller2/Engine/FuzzyEngines.h
  41. 1 1
      AI/Nullkiller2/Engine/FuzzyHelper.cpp
  42. 1 1
      AI/Nullkiller2/Engine/FuzzyHelper.h
  43. 1 1
      AI/Nullkiller2/Engine/Nullkiller.cpp
  44. 1 1
      AI/Nullkiller2/Engine/Nullkiller.h
  45. 1 1
      AI/Nullkiller2/Engine/PriorityEvaluator.cpp
  46. 1 1
      AI/Nullkiller2/Engine/PriorityEvaluator.h
  47. 1 1
      AI/Nullkiller2/Engine/Settings.cpp
  48. 1 1
      AI/Nullkiller2/Engine/Settings.h
  49. 1 1
      AI/Nullkiller2/Goals/AbstractGoal.cpp
  50. 1 1
      AI/Nullkiller2/Goals/AbstractGoal.h
  51. 1 1
      AI/Nullkiller2/Goals/AdventureSpellCast.cpp
  52. 1 1
      AI/Nullkiller2/Goals/AdventureSpellCast.h
  53. 1 1
      AI/Nullkiller2/Goals/BuildBoat.cpp
  54. 1 1
      AI/Nullkiller2/Goals/BuildBoat.h
  55. 1 1
      AI/Nullkiller2/Goals/BuildThis.cpp
  56. 1 1
      AI/Nullkiller2/Goals/BuildThis.h
  57. 1 1
      AI/Nullkiller2/Goals/BuyArmy.cpp
  58. 1 1
      AI/Nullkiller2/Goals/BuyArmy.h
  59. 1 1
      AI/Nullkiller2/Goals/CGoal.h
  60. 1 1
      AI/Nullkiller2/Goals/CaptureObject.cpp
  61. 1 1
      AI/Nullkiller2/Goals/CaptureObject.h
  62. 1 1
      AI/Nullkiller2/Goals/CompleteQuest.cpp
  63. 1 1
      AI/Nullkiller2/Goals/CompleteQuest.h
  64. 1 1
      AI/Nullkiller2/Goals/Composition.cpp
  65. 1 1
      AI/Nullkiller2/Goals/Composition.h
  66. 1 1
      AI/Nullkiller2/Goals/DigAtTile.cpp
  67. 1 1
      AI/Nullkiller2/Goals/DigAtTile.h
  68. 1 1
      AI/Nullkiller2/Goals/DismissHero.cpp
  69. 1 1
      AI/Nullkiller2/Goals/DismissHero.h
  70. 1 1
      AI/Nullkiller2/Goals/ExchangeSwapTownHeroes.cpp
  71. 1 1
      AI/Nullkiller2/Goals/ExchangeSwapTownHeroes.h
  72. 1 1
      AI/Nullkiller2/Goals/ExecuteHeroChain.cpp
  73. 1 1
      AI/Nullkiller2/Goals/ExecuteHeroChain.h
  74. 1 1
      AI/Nullkiller2/Goals/ExploreNeighbourTile.cpp
  75. 1 1
      AI/Nullkiller2/Goals/ExploreNeighbourTile.h
  76. 1 1
      AI/Nullkiller2/Goals/Invalid.h
  77. 1 1
      AI/Nullkiller2/Goals/RecruitHero.cpp
  78. 1 1
      AI/Nullkiller2/Goals/RecruitHero.h
  79. 1 1
      AI/Nullkiller2/Goals/SaveResources.cpp
  80. 1 1
      AI/Nullkiller2/Goals/SaveResources.h
  81. 1 1
      AI/Nullkiller2/Goals/StayAtTown.cpp
  82. 1 1
      AI/Nullkiller2/Goals/StayAtTown.h
  83. 1 1
      AI/Nullkiller2/Goals/Trade.cpp
  84. 1 1
      AI/Nullkiller2/Goals/Trade.h
  85. 1 1
      AI/Nullkiller2/Helpers/ArmyFormation.cpp
  86. 1 1
      AI/Nullkiller2/Helpers/ArmyFormation.h
  87. 1 1
      AI/Nullkiller2/Helpers/ExplorationHelper.cpp
  88. 1 1
      AI/Nullkiller2/Helpers/ExplorationHelper.h
  89. 1 1
      AI/Nullkiller2/Markers/ArmyUpgrade.cpp
  90. 1 1
      AI/Nullkiller2/Markers/ArmyUpgrade.h
  91. 1 1
      AI/Nullkiller2/Markers/DefendTown.cpp
  92. 1 1
      AI/Nullkiller2/Markers/DefendTown.h
  93. 1 1
      AI/Nullkiller2/Markers/ExplorationPoint.cpp
  94. 1 1
      AI/Nullkiller2/Markers/ExplorationPoint.h
  95. 1 1
      AI/Nullkiller2/Markers/HeroExchange.cpp
  96. 1 1
      AI/Nullkiller2/Markers/HeroExchange.h
  97. 1 1
      AI/Nullkiller2/Markers/UnlockCluster.cpp
  98. 1 1
      AI/Nullkiller2/Markers/UnlockCluster.h
  99. 1 1
      AI/Nullkiller2/Pathfinding/AINodeStorage.cpp
  100. 1 1
      AI/Nullkiller2/Pathfinding/AINodeStorage.h

+ 1 - 1
AI/Nullkiller2/AIGateway.cpp

@@ -36,7 +36,7 @@
 #include "AIGateway.h"
 #include "Goals/Goals.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 //one thread may be turn of AI and another will be handling a side effect for AI2

+ 1 - 1
AI/Nullkiller2/AIGateway.h

@@ -25,7 +25,7 @@ VCMI_LIB_NAMESPACE_BEGIN
 class AsyncRunner;
 VCMI_LIB_NAMESPACE_END
 
-namespace NKAI
+namespace NK2AI
 {
 
 class AIStatus

+ 1 - 1
AI/Nullkiller2/AIUtility.cpp

@@ -25,7 +25,7 @@
 
 #include <vcmi/CreatureService.h>
 
-namespace NKAI
+namespace NK2AI
 {
 
 const CGObjectInstance * ObjectIdRef::operator->() const

+ 1 - 1
AI/Nullkiller2/AIUtility.h

@@ -51,7 +51,7 @@
 
 using dwellingContent = std::pair<ui32, std::vector<CreatureID>>;
 
-namespace NKAI
+namespace NK2AI
 {
 struct creInfo;
 class AIGateway;

+ 1 - 1
AI/Nullkiller2/Analyzers/ArmyManager.cpp

@@ -17,7 +17,7 @@
 #include "../../../lib/GameConstants.h"
 #include "../../../lib/TerrainHandler.h"
 
-namespace NKAI
+namespace NK2AI
 {
 class StackUpgradeInfo
 {

+ 1 - 1
AI/Nullkiller2/Analyzers/ArmyManager.h

@@ -15,7 +15,7 @@
 #include "../../../lib/GameConstants.h"
 #include "../../../lib/GameLibrary.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class Nullkiller;

+ 1 - 1
AI/Nullkiller2/Analyzers/BuildAnalyzer.cpp

@@ -13,7 +13,7 @@
 #include "../../../lib/entities/building/CBuilding.h"
 #include "../../../lib/IGameSettings.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 void BuildAnalyzer::updateTownDwellings(TownDevelopmentInfo & developmentInfo)

+ 1 - 1
AI/Nullkiller2/Analyzers/BuildAnalyzer.h

@@ -12,7 +12,7 @@
 #include "../AIUtility.h"
 #include "../../../lib/ResourceSet.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class Nullkiller;

+ 1 - 1
AI/Nullkiller2/Analyzers/DangerHitMapAnalyzer.cpp

@@ -15,7 +15,7 @@
 #include "../../../lib/callback/GameRandomizer.h"
 #include "../../../lib/logging/VisualLogger.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 const HitMapInfo HitMapInfo::NoThreat;

+ 1 - 1
AI/Nullkiller2/Analyzers/DangerHitMapAnalyzer.h

@@ -11,7 +11,7 @@
 
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct AIPath;

+ 1 - 1
AI/Nullkiller2/Analyzers/HeroManager.cpp

@@ -15,7 +15,7 @@
 #include "../../../lib/spells/ISpellMechanics.h"
 #include "../../../lib/spells/adventure/TownPortalEffect.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 const SecondarySkillEvaluator HeroManager::wariorSkillsScores = SecondarySkillEvaluator(

+ 1 - 1
AI/Nullkiller2/Analyzers/HeroManager.h

@@ -15,7 +15,7 @@
 #include "../../../lib/GameConstants.h"
 #include "../../../lib/GameLibrary.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class DLL_EXPORT ISecondarySkillRule

+ 2 - 2
AI/Nullkiller2/Analyzers/ObjectClusterizer.cpp

@@ -13,7 +13,7 @@
 #include "../AIGateway.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 void ObjectCluster::addObject(const CGObjectInstance * obj, const AIPath & path, float priority)
@@ -220,7 +220,7 @@ void ObjectClusterizer::onObjectRemoved(ObjectInstanceID id)
 
 	vstd::erase_if_present(invalidated, id);
 
-	NKAI::ClusterMap::accessor cluster;
+	NK2AI::ClusterMap::accessor cluster;
 	
 	if(blockedObjects.find(cluster, id))
 	{

+ 1 - 1
AI/Nullkiller2/Analyzers/ObjectClusterizer.h

@@ -12,7 +12,7 @@
 #include "../Pathfinding/AINodeStorage.h"
 #include "../Engine/PriorityEvaluator.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct ClusterObjectInfo

+ 1 - 1
AI/Nullkiller2/Behaviors/BuildingBehavior.cpp

@@ -17,7 +17,7 @@
 #include "../Goals/SaveResources.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/BuildingBehavior.h

@@ -13,7 +13,7 @@
 #include "../AIUtility.h"
 #include "../Goals/CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/BuyArmyBehavior.cpp

@@ -14,7 +14,7 @@
 #include "../Goals/BuyArmy.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/BuyArmyBehavior.h

@@ -13,7 +13,7 @@
 #include "../AIUtility.h"
 #include "../Goals/CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/CaptureObjectsBehavior.cpp

@@ -16,7 +16,7 @@
 #include "CaptureObjectsBehavior.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/CaptureObjectsBehavior.h

@@ -14,7 +14,7 @@
 #include "../Goals/CGoal.h"
 #include "../Pathfinding/AINodeStorage.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/ClusterBehavior.cpp

@@ -16,7 +16,7 @@
 #include "../Goals/Composition.h"
 #include "../Behaviors/CaptureObjectsBehavior.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/ClusterBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct ObjectCluster;

+ 1 - 1
AI/Nullkiller2/Behaviors/DefenceBehavior.cpp

@@ -22,7 +22,7 @@
 #include "../Markers/DefendTown.h"
 #include "../Goals/ExchangeSwapTownHeroes.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 const float THREAT_IGNORE_RATIO = 2;

+ 1 - 1
AI/Nullkiller2/Behaviors/DefenceBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HitMapInfo;

+ 1 - 1
AI/Nullkiller2/Behaviors/ExplorationBehavior.cpp

@@ -19,7 +19,7 @@
 #include "../Goals/ExploreNeighbourTile.h"
 #include "../Helpers/ExplorationHelper.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/ExplorationBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/GatherArmyBehavior.cpp

@@ -20,7 +20,7 @@
 #include "../AIUtility.h"
 #include "../Goals/ExchangeSwapTownHeroes.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/GatherArmyBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/RecruitHeroBehavior.cpp

@@ -14,7 +14,7 @@
 #include "../Goals/RecruitHero.h"
 #include "../Goals/ExecuteHeroChain.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/RecruitHeroBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/StartupBehavior.cpp

@@ -18,7 +18,7 @@
 #include "../../../lib/mapObjects/CGResource.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/StartupBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Behaviors/StayAtTownBehavior.cpp

@@ -17,7 +17,7 @@
 #include "lib/mapObjects/MapObjects.h" //for victory conditions
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Behaviors/StayAtTownBehavior.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Engine/AIMemory.cpp

@@ -10,7 +10,7 @@
 #include "../StdInc.h"
 #include "AIMemory.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 void AIMemory::removeFromMemory(const CGObjectInstance * obj)

+ 1 - 1
AI/Nullkiller2/Engine/AIMemory.h

@@ -12,7 +12,7 @@
 #include "../AIUtility.h"
 #include "../../../lib/mapObjects/MapObjects.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class AIMemory

+ 1 - 1
AI/Nullkiller2/Engine/DeepDecomposer.cpp

@@ -21,7 +21,7 @@
 #include "../Goals/Invalid.h"
 #include "../Goals/Composition.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Engine/DeepDecomposer.h

@@ -11,7 +11,7 @@
 
 #include "../Goals/AbstractGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct GoalHash

+ 1 - 1
AI/Nullkiller2/Engine/FuzzyEngines.cpp

@@ -14,7 +14,7 @@
 #include "../../../lib/mapObjects/MapObjects.h"
 #include "../AIGateway.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 constexpr float MIN_AI_STRENGTH = 0.5f; //lower when combat AI gets smarter

+ 1 - 1
AI/Nullkiller2/Engine/FuzzyEngines.h

@@ -21,7 +21,7 @@ class CArmedInstance;
 
 VCMI_LIB_NAMESPACE_END
 
-namespace NKAI
+namespace NK2AI
 {
 
 class engineBase //subclasses create fuzzylite variables with "new" that are not freed - this is desired as fl::Engine wants to destroy these...

+ 1 - 1
AI/Nullkiller2/Engine/FuzzyHelper.cpp

@@ -16,7 +16,7 @@
 #include "../../../lib/mapObjectConstructors/AObjectTypeHandler.h"
 #include "../../../lib/mapObjectConstructors/CObjectClassesHandler.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 ui64 FuzzyHelper::evaluateDanger(const int3 & tile, const CGHeroInstance * visitor, bool checkGuards)

+ 1 - 1
AI/Nullkiller2/Engine/FuzzyHelper.h

@@ -10,7 +10,7 @@
 #pragma once
 #include "FuzzyEngines.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class Nullkiller;

+ 1 - 1
AI/Nullkiller2/Engine/Nullkiller.cpp

@@ -27,7 +27,7 @@
 #include "../../lib/pathfinder/PathfinderCache.h"
 #include "../../lib/pathfinder/PathfinderOptions.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Engine/Nullkiller.h

@@ -29,7 +29,7 @@ class PathfinderCache;
 
 VCMI_LIB_NAMESPACE_END
 
-namespace NKAI
+namespace NK2AI
 {
 
 const float MIN_PRIORITY = 0.01f;

+ 1 - 1
AI/Nullkiller2/Engine/PriorityEvaluator.cpp

@@ -32,7 +32,7 @@
 #include "../Markers/ArmyUpgrade.h"
 #include "../Markers/DefendTown.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 constexpr float MIN_CRITICAL_VALUE = 2.0f;

+ 1 - 1
AI/Nullkiller2/Engine/PriorityEvaluator.h

@@ -20,7 +20,7 @@ VCMI_LIB_NAMESPACE_BEGIN
 
 VCMI_LIB_NAMESPACE_END
 
-namespace NKAI
+namespace NK2AI
 {
 
 class BuildingInfo;

+ 1 - 1
AI/Nullkiller2/Engine/Settings.cpp

@@ -21,7 +21,7 @@
 #include "../../../lib/filesystem/Filesystem.h"
 #include "../../../lib/json/JsonUtils.h"
 
-namespace NKAI
+namespace NK2AI
 {
 	Settings::Settings(int difficultyLevel)
 		: maxRoamingHeroes(8),

+ 1 - 1
AI/Nullkiller2/Engine/Settings.h

@@ -16,7 +16,7 @@ class ResourcePath;
 
 VCMI_LIB_NAMESPACE_END
 
-namespace NKAI
+namespace NK2AI
 {
 	class Settings
 	{

+ 1 - 1
AI/Nullkiller2/Goals/AbstractGoal.cpp

@@ -13,7 +13,7 @@
 #include "../../../lib/constants/StringConstants.h"
 #include "../../../lib/entities/artifact/CArtifact.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/AbstractGoal.h

@@ -14,7 +14,7 @@
 #include "../../../lib/mapObjects/CGHeroInstance.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/AdventureSpellCast.cpp

@@ -13,7 +13,7 @@
 #include "../../../lib/spells/ISpellMechanics.h"
 #include "../../../lib/spells/adventure/TownPortalEffect.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/AdventureSpellCast.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 namespace Goals

+ 1 - 1
AI/Nullkiller2/Goals/BuildBoat.cpp

@@ -12,7 +12,7 @@
 #include "../AIGateway.h"
 #include "../Behaviors/CaptureObjectsBehavior.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/BuildBoat.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 namespace Goals

+ 1 - 1
AI/Nullkiller2/Goals/BuildThis.cpp

@@ -14,7 +14,7 @@
 #include "../../../lib/constants/StringConstants.h"
 #include "../../../lib/entities/building/CBuilding.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/BuildThis.h

@@ -12,7 +12,7 @@
 #include "CGoal.h"
 #include "../Analyzers/BuildAnalyzer.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/BuyArmy.cpp

@@ -14,7 +14,7 @@
 #include "../Engine/Nullkiller.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/BuyArmy.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/CGoal.h

@@ -11,7 +11,7 @@
 
 #include "AbstractGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class AIGateway;

+ 1 - 1
AI/Nullkiller2/Goals/CaptureObject.cpp

@@ -15,7 +15,7 @@
 #include "../Behaviors/CaptureObjectsBehavior.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/CaptureObject.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/CompleteQuest.cpp

@@ -15,7 +15,7 @@
 #include "../../../lib/mapObjects/CQuest.h"
 #include "../../../lib/texts/CGeneralTextHandler.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/CompleteQuest.h

@@ -13,7 +13,7 @@
 #include "../Goals/CGoal.h"
 #include "../../../lib/gameState/QuestInfo.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/Composition.cpp

@@ -14,7 +14,7 @@
 #include "../../../lib/constants/StringConstants.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/Composition.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/DigAtTile.cpp

@@ -13,7 +13,7 @@
 #include "../AIUtility.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/DigAtTile.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/DismissHero.cpp

@@ -11,7 +11,7 @@
 #include "DismissHero.h"
 #include "../AIGateway.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/DismissHero.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/ExchangeSwapTownHeroes.cpp

@@ -13,7 +13,7 @@
 #include "../AIGateway.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/ExchangeSwapTownHeroes.h

@@ -12,7 +12,7 @@
 #include "CGoal.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/ExecuteHeroChain.cpp

@@ -12,7 +12,7 @@
 #include "../AIGateway.h"
 #include "../Engine/Nullkiller.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/ExecuteHeroChain.h

@@ -12,7 +12,7 @@
 #include "CGoal.h"
 #include "../Pathfinding/AIPathfinder.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/ExploreNeighbourTile.cpp

@@ -14,7 +14,7 @@
 #include "../Helpers/ExplorationHelper.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/ExploreNeighbourTile.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class AIGateway;

+ 1 - 1
AI/Nullkiller2/Goals/Invalid.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/RecruitHero.cpp

@@ -14,7 +14,7 @@
 #include "../../../lib/constants/StringConstants.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/RecruitHero.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Goals/SaveResources.cpp

@@ -12,7 +12,7 @@
 #include "../AIGateway.h"
 #include "../Behaviors/CaptureObjectsBehavior.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/SaveResources.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/StayAtTown.cpp

@@ -13,7 +13,7 @@
 #include "../Engine/Nullkiller.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Goals/StayAtTown.h

@@ -14,7 +14,7 @@
 #include "../Analyzers/ArmyManager.h"
 #include "../Analyzers/DangerHitMapAnalyzer.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Goals/Trade.cpp

@@ -10,7 +10,7 @@
 #include "StdInc.h"
 #include "Trade.h"
 
-namespace NKAI
+namespace NK2AI
 {
 using namespace Goals;
 

+ 1 - 1
AI/Nullkiller2/Goals/Trade.h

@@ -11,7 +11,7 @@
 
 #include "CGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Helpers/ArmyFormation.cpp

@@ -11,7 +11,7 @@
 #include "ArmyFormation.h"
 #include "../../../lib/mapObjects/CGTownInstance.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 void ArmyFormation::rearrangeArmyForWhirlpool(const CGHeroInstance * hero)

+ 1 - 1
AI/Nullkiller2/Helpers/ArmyFormation.h

@@ -14,7 +14,7 @@
 #include "../../../lib/GameConstants.h"
 #include "../../../lib/GameLibrary.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Helpers/ExplorationHelper.cpp

@@ -19,7 +19,7 @@
 #include "../Behaviors/CaptureObjectsBehavior.h"
 #include "../Goals/ExploreNeighbourTile.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Helpers/ExplorationHelper.h

@@ -15,7 +15,7 @@
 #include "../../../lib/GameLibrary.h"
 #include "../Goals/AbstractGoal.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 class ExplorationHelper

+ 1 - 1
AI/Nullkiller2/Markers/ArmyUpgrade.cpp

@@ -13,7 +13,7 @@
 #include "../Engine/Nullkiller.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Markers/ArmyUpgrade.h

@@ -13,7 +13,7 @@
 #include "../Pathfinding/AINodeStorage.h"
 #include "../Analyzers/ArmyManager.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Markers/DefendTown.cpp

@@ -13,7 +13,7 @@
 #include "../Engine/Nullkiller.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Markers/DefendTown.h

@@ -14,7 +14,7 @@
 #include "../Analyzers/ArmyManager.h"
 #include "../Analyzers/DangerHitMapAnalyzer.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Markers/ExplorationPoint.cpp

@@ -14,7 +14,7 @@
 #include "../AIUtility.h"
 #include "../Analyzers/ArmyManager.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Markers/ExplorationPoint.h

@@ -12,7 +12,7 @@
 #include "../Goals/CGoal.h"
 #include "../Pathfinding/AINodeStorage.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Markers/HeroExchange.cpp

@@ -14,7 +14,7 @@
 #include "../AIUtility.h"
 #include "../Analyzers/ArmyManager.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Markers/HeroExchange.h

@@ -12,7 +12,7 @@
 #include "../Goals/CGoal.h"
 #include "../Pathfinding/AINodeStorage.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace Goals
 {

+ 1 - 1
AI/Nullkiller2/Markers/UnlockCluster.cpp

@@ -13,7 +13,7 @@
 #include "../Engine/Nullkiller.h"
 #include "../AIUtility.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 using namespace Goals;

+ 1 - 1
AI/Nullkiller2/Markers/UnlockCluster.h

@@ -13,7 +13,7 @@
 #include "../Analyzers/ObjectClusterizer.h"
 
 
-namespace NKAI
+namespace NK2AI
 {
 
 struct HeroPtr;

+ 1 - 1
AI/Nullkiller2/Pathfinding/AINodeStorage.cpp

@@ -22,7 +22,7 @@
 #include "../../../lib/IGameSettings.h"
 #include "../../../lib/CPlayerState.h"
 
-namespace NKAI
+namespace NK2AI
 {
 
 std::shared_ptr<boost::multi_array<AIPathNode, 4>> AISharedStorage::shared;

+ 1 - 1
AI/Nullkiller2/Pathfinding/AINodeStorage.h

@@ -19,7 +19,7 @@ constexpr int NKAI_GRAPH_TRACE_LEVEL = 0; // To actually enable graph visualizat
 #include "Actions/SpecialAction.h"
 #include "Actors.h"
 
-namespace NKAI
+namespace NK2AI
 {
 namespace AIPathfinding
 {

Some files were not shown because too many files changed in this diff