mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 00:35:27 +00:00
The zone manager keeps an index of spawners by object ID; the spawner now belongs to the SpawnerComponent of its LOT 176 object and goes with it (the component tells the zone manager to stop indexing it). Spawning, timers and the update order are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.2 KiB
CMake
39 lines
1.2 KiB
CMake
set(DCOMPONENTS_TESTS
|
|
"DeletionRestrictionTests.cpp"
|
|
"MovingPlatformComponentTests.cpp"
|
|
"InventorySaveTests.cpp"
|
|
"EquipMessagesTests.cpp"
|
|
"DestroyableLevelConfigTests.cpp"
|
|
"RailActivatorComponentTests.cpp"
|
|
"VendorBuybackTests.cpp"
|
|
"RacingWrongWayTests.cpp"
|
|
"DestroyableComponentTests.cpp"
|
|
"PetComponentTests.cpp"
|
|
"SimplePhysicsComponentTests.cpp"
|
|
"MovementBlockerScenarioTests.cpp"
|
|
"SavingTests.cpp"
|
|
"CharacterSaveFieldsTests.cpp"
|
|
"CollectibleComponentTests.cpp"
|
|
"ReplicaComponentOrderTests.cpp"
|
|
"QuickBuildCompleteTests.cpp"
|
|
"RocketLaunchTests.cpp"
|
|
"ReplicaConstructionTests.cpp"
|
|
"ReplicaDecoderTests.cpp"
|
|
"CapturePropertyTests.cpp"
|
|
"ItemRemovalTests.cpp"
|
|
"LootMetricsTests.cpp"
|
|
"SpawnerComponentTests.cpp"
|
|
)
|
|
|
|
# Get the folder name and prepend it to the files above
|
|
get_filename_component(thisFolderName ${CMAKE_CURRENT_SOURCE_DIR} NAME)
|
|
list(TRANSFORM DCOMPONENTS_TESTS PREPEND "${thisFolderName}/")
|
|
|
|
# Export to parent scope
|
|
set(DCOMPONENTS_TESTS ${DCOMPONENTS_TESTS} PARENT_SCOPE)
|
|
|
|
# Copy test files to testing directory
|
|
add_subdirectory(TestData)
|
|
list(TRANSFORM COMPONENT_TEST_DATA PREPEND "${thisFolderName}/")
|
|
set(COMPONENT_TEST_DATA ${COMPONENT_TEST_DATA} PARENT_SCOPE)
|