2022-07-16 23:24:16 +00:00
|
|
|
set(DGAME_DBEHAVIORS_SOURCES "AirMovementBehavior.cpp"
|
|
|
|
"AndBehavior.cpp"
|
|
|
|
"ApplyBuffBehavior.cpp"
|
|
|
|
"AreaOfEffectBehavior.cpp"
|
|
|
|
"AttackDelayBehavior.cpp"
|
|
|
|
"BasicAttackBehavior.cpp"
|
|
|
|
"Behavior.cpp"
|
|
|
|
"BehaviorBranchContext.cpp"
|
|
|
|
"BehaviorContext.cpp"
|
|
|
|
"BlockBehavior.cpp"
|
|
|
|
"BuffBehavior.cpp"
|
|
|
|
"CarBoostBehavior.cpp"
|
|
|
|
"ChainBehavior.cpp"
|
2022-12-16 21:24:13 +00:00
|
|
|
"ChangeIdleFlagsBehavior.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"ChangeOrientationBehavior.cpp"
|
|
|
|
"ChargeUpBehavior.cpp"
|
|
|
|
"ClearTargetBehavior.cpp"
|
2023-11-15 01:38:52 +00:00
|
|
|
"ConsumeItemBehavior.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"DamageAbsorptionBehavior.cpp"
|
|
|
|
"DamageReductionBehavior.cpp"
|
2022-12-24 02:05:30 +00:00
|
|
|
"DarkInspirationBehavior.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"DurationBehavior.cpp"
|
|
|
|
"EndBehavior.cpp"
|
2023-05-13 14:30:59 +00:00
|
|
|
"FallSpeedBehavior.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"ForceMovementBehavior.cpp"
|
|
|
|
"HealBehavior.cpp"
|
|
|
|
"ImaginationBehavior.cpp"
|
|
|
|
"ImmunityBehavior.cpp"
|
|
|
|
"InterruptBehavior.cpp"
|
|
|
|
"JetPackBehavior.cpp"
|
|
|
|
"KnockbackBehavior.cpp"
|
|
|
|
"LootBuffBehavior.cpp"
|
|
|
|
"MovementSwitchBehavior.cpp"
|
|
|
|
"NpcCombatSkillBehavior.cpp"
|
|
|
|
"OverTimeBehavior.cpp"
|
|
|
|
"PlayEffectBehavior.cpp"
|
|
|
|
"ProjectileAttackBehavior.cpp"
|
2023-01-07 06:16:43 +00:00
|
|
|
"PropertyTeleportBehavior.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"PullToPointBehavior.cpp"
|
2022-11-28 00:40:14 +00:00
|
|
|
"RemoveBuffBehavior.cpp"
|
2022-07-16 23:24:16 +00:00
|
|
|
"RepairBehavior.cpp"
|
|
|
|
"SkillCastFailedBehavior.cpp"
|
|
|
|
"SkillEventBehavior.cpp"
|
|
|
|
"SpawnBehavior.cpp"
|
|
|
|
"SpawnQuickbuildBehavior.cpp"
|
|
|
|
"SpeedBehavior.cpp"
|
|
|
|
"StartBehavior.cpp"
|
|
|
|
"StunBehavior.cpp"
|
|
|
|
"SwitchBehavior.cpp"
|
|
|
|
"SwitchMultipleBehavior.cpp"
|
|
|
|
"TacArcBehavior.cpp"
|
|
|
|
"TargetCasterBehavior.cpp"
|
|
|
|
"TauntBehavior.cpp"
|
|
|
|
"VentureVisionBehavior.cpp"
|
2024-01-04 00:41:46 +00:00
|
|
|
"VerifyBehavior.cpp")
|
|
|
|
|
2024-03-06 02:13:24 +00:00
|
|
|
add_library(dBehaviors OBJECT ${DGAME_DBEHAVIORS_SOURCES})
|
2024-12-17 07:10:17 +00:00
|
|
|
target_link_libraries(dBehaviors PUBLIC dDatabaseCDClient dPhysics magic_enum::magic_enum)
|
2024-03-06 02:13:24 +00:00
|
|
|
target_include_directories(dBehaviors PUBLIC "."
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" # via BehaviorContext.h
|
|
|
|
PRIVATE
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dComponents" # direct BuffComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # Preconditions.h via QuickBuildComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager.h, Spawner.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via CharacterComponent.h
|
|
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # via BasicAttackBehavior.cpp
|
|
|
|
)
|
2024-01-04 00:41:46 +00:00
|
|
|
target_precompile_headers(dBehaviors REUSE_FROM dGameBase)
|