2021-05-16 14:39:38 +02:00
|
|
|
set(Nullkiller_SRCS
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/AIPathfinderConfig.cpp
|
|
|
|
Pathfinding/AIPathfinder.cpp
|
|
|
|
Pathfinding/AINodeStorage.cpp
|
2021-05-15 19:59:43 +02:00
|
|
|
Pathfinding/Actors.cpp
|
2021-05-16 13:38:53 +02:00
|
|
|
Pathfinding/Actions/SpecialAction.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Actions/BattleAction.cpp
|
2021-05-16 13:57:26 +02:00
|
|
|
Pathfinding/Actions/QuestAction.cpp
|
|
|
|
Pathfinding/Actions/BuyArmyAction.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Actions/BoatActions.cpp
|
2024-07-20 17:36:07 +02:00
|
|
|
Pathfinding/Actions/WhirlpoolAction.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Actions/TownPortalAction.cpp
|
2023-09-16 11:33:02 +02:00
|
|
|
Pathfinding/Actions/AdventureSpellCastMovementActions.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Rules/AILayerTransitionRule.cpp
|
|
|
|
Pathfinding/Rules/AIMovementAfterDestinationRule.cpp
|
|
|
|
Pathfinding/Rules/AIMovementToDestinationRule.cpp
|
|
|
|
Pathfinding/Rules/AIPreviousNodeRule.cpp
|
2024-01-20 22:54:30 +02:00
|
|
|
Pathfinding/ObjectGraph.cpp
|
2024-05-19 09:04:45 +02:00
|
|
|
Pathfinding/GraphPaths.cpp
|
|
|
|
Pathfinding/ObjectGraphCalculator.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
AIUtility.cpp
|
2020-05-04 17:58:43 +02:00
|
|
|
Analyzers/ArmyManager.cpp
|
|
|
|
Analyzers/HeroManager.cpp
|
2024-02-25 12:39:19 +02:00
|
|
|
Engine/Settings.cpp
|
2020-05-04 17:58:43 +02:00
|
|
|
Engine/FuzzyEngines.cpp
|
|
|
|
Engine/FuzzyHelper.cpp
|
|
|
|
Engine/AIMemory.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/AbstractGoal.cpp
|
2021-05-16 13:38:53 +02:00
|
|
|
Goals/Composition.cpp
|
2021-05-16 14:39:38 +02:00
|
|
|
Goals/SaveResources.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/BuildBoat.cpp
|
|
|
|
Goals/BuildThis.cpp
|
2021-05-16 13:11:35 +02:00
|
|
|
Goals/DismissHero.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/BuyArmy.cpp
|
|
|
|
Goals/AdventureSpellCast.cpp
|
|
|
|
Goals/Trade.cpp
|
2021-05-16 14:09:44 +02:00
|
|
|
Goals/CaptureObject.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/RecruitHero.cpp
|
|
|
|
Goals/DigAtTile.cpp
|
2021-05-15 20:56:31 +02:00
|
|
|
Goals/ExecuteHeroChain.cpp
|
2021-05-15 21:04:26 +02:00
|
|
|
Goals/ExchangeSwapTownHeroes.cpp
|
2021-05-16 13:56:35 +02:00
|
|
|
Goals/CompleteQuest.cpp
|
2023-09-24 12:07:42 +02:00
|
|
|
Goals/StayAtTown.cpp
|
2024-05-22 21:49:11 +02:00
|
|
|
Goals/ExploreNeighbourTile.cpp
|
2021-05-16 13:56:35 +02:00
|
|
|
Markers/ArmyUpgrade.cpp
|
|
|
|
Markers/HeroExchange.cpp
|
|
|
|
Markers/UnlockCluster.cpp
|
2021-05-16 14:00:24 +02:00
|
|
|
Markers/DefendTown.cpp
|
2024-05-19 09:04:45 +02:00
|
|
|
Markers/ExplorationPoint.cpp
|
2021-05-15 18:23:05 +02:00
|
|
|
Engine/Nullkiller.cpp
|
2021-05-16 13:56:42 +02:00
|
|
|
Engine/DeepDecomposer.cpp
|
2021-05-15 18:23:38 +02:00
|
|
|
Engine/PriorityEvaluator.cpp
|
2021-05-16 13:14:17 +02:00
|
|
|
Analyzers/DangerHitMapAnalyzer.cpp
|
|
|
|
Analyzers/BuildAnalyzer.cpp
|
2021-05-16 13:45:12 +02:00
|
|
|
Analyzers/ObjectClusterizer.cpp
|
2021-05-15 18:23:11 +02:00
|
|
|
Behaviors/CaptureObjectsBehavior.cpp
|
|
|
|
Behaviors/RecruitHeroBehavior.cpp
|
2021-05-15 20:57:31 +02:00
|
|
|
Behaviors/BuyArmyBehavior.cpp
|
2021-05-16 12:53:32 +02:00
|
|
|
Behaviors/DefenceBehavior.cpp
|
2021-05-15 21:04:26 +02:00
|
|
|
Behaviors/StartupBehavior.cpp
|
2021-05-16 13:14:17 +02:00
|
|
|
Behaviors/BuildingBehavior.cpp
|
2021-05-16 13:19:07 +02:00
|
|
|
Behaviors/GatherArmyBehavior.cpp
|
2021-05-16 13:45:12 +02:00
|
|
|
Behaviors/ClusterBehavior.cpp
|
2023-09-24 12:07:42 +02:00
|
|
|
Behaviors/StayAtTownBehavior.cpp
|
2024-05-19 09:04:45 +02:00
|
|
|
Behaviors/ExplorationBehavior.cpp
|
2023-06-04 15:02:02 +02:00
|
|
|
Helpers/ArmyFormation.cpp
|
2024-05-22 21:49:11 +02:00
|
|
|
Helpers/ExplorationHelper.cpp
|
2021-05-16 14:39:38 +02:00
|
|
|
AIGateway.cpp
|
2021-05-15 18:22:44 +02:00
|
|
|
)
|
|
|
|
|
2021-05-16 14:39:38 +02:00
|
|
|
set(Nullkiller_HEADERS
|
2021-05-15 18:22:44 +02:00
|
|
|
StdInc.h
|
|
|
|
|
|
|
|
Pathfinding/AIPathfinderConfig.h
|
|
|
|
Pathfinding/AIPathfinder.h
|
|
|
|
Pathfinding/AINodeStorage.h
|
2021-05-15 19:59:43 +02:00
|
|
|
Pathfinding/Actors.h
|
2021-05-16 13:38:53 +02:00
|
|
|
Pathfinding/Actions/SpecialAction.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Actions/BattleAction.h
|
2021-05-16 13:57:26 +02:00
|
|
|
Pathfinding/Actions/QuestAction.h
|
|
|
|
Pathfinding/Actions/BuyArmyAction.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Actions/BoatActions.h
|
2024-07-20 17:36:07 +02:00
|
|
|
Pathfinding/Actions/WhirlpoolAction.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Actions/TownPortalAction.h
|
2023-09-16 11:33:02 +02:00
|
|
|
Pathfinding/Actions/AdventureSpellCastMovementActions.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Pathfinding/Rules/AILayerTransitionRule.h
|
|
|
|
Pathfinding/Rules/AIMovementAfterDestinationRule.h
|
|
|
|
Pathfinding/Rules/AIMovementToDestinationRule.h
|
|
|
|
Pathfinding/Rules/AIPreviousNodeRule.h
|
2024-01-20 22:54:30 +02:00
|
|
|
Pathfinding/ObjectGraph.h
|
2024-05-19 09:04:45 +02:00
|
|
|
Pathfinding/GraphPaths.h
|
|
|
|
Pathfinding/ObjectGraphCalculator.h
|
2021-05-15 18:22:44 +02:00
|
|
|
AIUtility.h
|
2024-03-25 17:05:24 +02:00
|
|
|
pforeach.h
|
2020-05-04 17:58:43 +02:00
|
|
|
Analyzers/ArmyManager.h
|
|
|
|
Analyzers/HeroManager.h
|
2024-02-25 12:39:19 +02:00
|
|
|
Engine/Settings.h
|
2020-05-04 17:58:43 +02:00
|
|
|
Engine/FuzzyEngines.h
|
|
|
|
Engine/FuzzyHelper.h
|
|
|
|
Engine/AIMemory.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/AbstractGoal.h
|
|
|
|
Goals/CGoal.h
|
2021-05-16 13:38:53 +02:00
|
|
|
Goals/Composition.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/Invalid.h
|
|
|
|
Goals/BuildBoat.h
|
2021-05-16 14:39:38 +02:00
|
|
|
Goals/SaveResources.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/BuildThis.h
|
2021-05-16 13:11:35 +02:00
|
|
|
Goals/DismissHero.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/BuyArmy.h
|
|
|
|
Goals/AdventureSpellCast.h
|
|
|
|
Goals/Trade.h
|
2021-05-16 14:09:44 +02:00
|
|
|
Goals/CaptureObject.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/RecruitHero.h
|
|
|
|
Goals/DigAtTile.h
|
2021-05-15 20:56:31 +02:00
|
|
|
Goals/ExecuteHeroChain.h
|
2021-05-15 21:04:26 +02:00
|
|
|
Goals/ExchangeSwapTownHeroes.h
|
2021-05-16 13:56:35 +02:00
|
|
|
Goals/CompleteQuest.h
|
2021-05-15 18:22:44 +02:00
|
|
|
Goals/Goals.h
|
2023-09-24 12:07:42 +02:00
|
|
|
Goals/StayAtTown.h
|
2024-05-22 21:49:11 +02:00
|
|
|
Goals/ExploreNeighbourTile.h
|
2021-05-16 13:56:35 +02:00
|
|
|
Markers/ArmyUpgrade.h
|
|
|
|
Markers/HeroExchange.h
|
|
|
|
Markers/UnlockCluster.h
|
2021-05-16 14:00:24 +02:00
|
|
|
Markers/DefendTown.h
|
2024-05-19 09:04:45 +02:00
|
|
|
Markers/ExplorationPoint.h
|
2021-05-15 18:23:05 +02:00
|
|
|
Engine/Nullkiller.h
|
2021-05-16 13:56:42 +02:00
|
|
|
Engine/DeepDecomposer.h
|
2021-05-15 18:23:38 +02:00
|
|
|
Engine/PriorityEvaluator.h
|
2021-05-16 13:14:17 +02:00
|
|
|
Analyzers/DangerHitMapAnalyzer.h
|
|
|
|
Analyzers/BuildAnalyzer.h
|
2021-05-16 13:45:12 +02:00
|
|
|
Analyzers/ObjectClusterizer.h
|
2021-05-15 18:23:11 +02:00
|
|
|
Behaviors/CaptureObjectsBehavior.h
|
|
|
|
Behaviors/RecruitHeroBehavior.h
|
2021-05-15 20:57:31 +02:00
|
|
|
Behaviors/BuyArmyBehavior.h
|
2021-05-16 12:53:32 +02:00
|
|
|
Behaviors/DefenceBehavior.h
|
2021-05-15 21:04:26 +02:00
|
|
|
Behaviors/StartupBehavior.h
|
2021-05-16 13:14:17 +02:00
|
|
|
Behaviors/BuildingBehavior.h
|
2021-05-16 13:19:07 +02:00
|
|
|
Behaviors/GatherArmyBehavior.h
|
2021-05-16 13:45:12 +02:00
|
|
|
Behaviors/ClusterBehavior.h
|
2023-09-24 12:07:42 +02:00
|
|
|
Behaviors/StayAtTownBehavior.h
|
2024-05-19 09:04:45 +02:00
|
|
|
Behaviors/ExplorationBehavior.h
|
2023-06-04 15:02:02 +02:00
|
|
|
Helpers/ArmyFormation.h
|
2024-05-22 21:49:11 +02:00
|
|
|
Helpers/ExplorationHelper.h
|
2021-05-16 14:39:38 +02:00
|
|
|
AIGateway.h
|
2021-05-15 18:22:44 +02:00
|
|
|
)
|
|
|
|
|
2024-02-11 00:00:58 +02:00
|
|
|
if(NOT ENABLE_STATIC_LIBS)
|
2023-02-26 09:39:36 +02:00
|
|
|
list(APPEND Nullkiller_SRCS main.cpp StdInc.cpp)
|
|
|
|
endif()
|
2021-05-16 14:39:38 +02:00
|
|
|
assign_source_group(${Nullkiller_SRCS} ${Nullkiller_HEADERS})
|
2021-05-15 18:22:44 +02:00
|
|
|
|
2024-02-11 00:00:58 +02:00
|
|
|
if(ENABLE_STATIC_LIBS)
|
2023-02-26 10:39:56 +02:00
|
|
|
add_library(Nullkiller STATIC ${Nullkiller_SRCS} ${Nullkiller_HEADERS})
|
|
|
|
else()
|
|
|
|
add_library(Nullkiller SHARED ${Nullkiller_SRCS} ${Nullkiller_HEADERS})
|
|
|
|
install(TARGETS Nullkiller RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
|
2021-05-15 18:22:44 +02:00
|
|
|
endif()
|
|
|
|
|
2021-05-16 14:39:38 +02:00
|
|
|
target_include_directories(Nullkiller PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
2024-07-25 16:41:37 +02:00
|
|
|
target_link_libraries(Nullkiller PUBLIC vcmi fuzzylite::fuzzylite)
|
2020-09-02 19:16:24 +02:00
|
|
|
|
2021-05-16 14:39:38 +02:00
|
|
|
vcmi_set_output_dir(Nullkiller "AI")
|
2022-06-16 22:02:36 +02:00
|
|
|
enable_pch(Nullkiller)
|