mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-11-16 16:55:27 +00:00
Every live save had <mnt a="..."/>, which LWOMountControlComponent::LoadFromSaveData (0x00bf99c0) reads as the character's mount item (0 on the 450 saves looked at). The server wrote no such element. MountControlComponent now writes it: the item of the mount being ridden, 0 on foot. The saved value is read and kept; nothing is mounted from it, as riding does not go on over a world change. A save from before gains <mnt a="0"/> and nothing else in it changes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
86 lines
3.2 KiB
CMake
86 lines
3.2 KiB
CMake
set(DGAME_DCOMPONENTS_SOURCES
|
|
"Vendor/AchievementVendorComponent.cpp"
|
|
"Activity/ActivityComponent.cpp"
|
|
"BaseCombatAIComponent.cpp"
|
|
"BouncerComponent.cpp"
|
|
"BuffComponent.cpp"
|
|
"Property/BuildBorderComponent.cpp"
|
|
"Character/CharacterComponent.cpp"
|
|
"CollectibleComponent.cpp"
|
|
"Physics/ControllablePhysicsComponent.cpp"
|
|
"DestroyableComponent.cpp"
|
|
"Vendor/DonationVendorComponent.cpp"
|
|
"Character/GhostComponent.cpp"
|
|
"InventoryComponent.cpp"
|
|
"ItemComponent.cpp"
|
|
"Character/LevelProgressionComponent.cpp"
|
|
"LUPExhibitComponent.cpp"
|
|
"Character/MissionComponent.cpp"
|
|
"Character/MountControlComponent.cpp"
|
|
"MissionOfferComponent.cpp"
|
|
"ModelComponent.cpp"
|
|
"ModuleAssemblyComponent.cpp"
|
|
"MovementAIComponent.cpp"
|
|
"MovingPlatformComponent.cpp"
|
|
"PetComponent.cpp"
|
|
"Physics/PhantomPhysicsComponent.cpp"
|
|
"Physics/PhysicsComponent.cpp"
|
|
"Character/PlayerForcedMovementComponent.cpp"
|
|
"PossessableComponent.cpp"
|
|
"Character/PossessorComponent.cpp"
|
|
"Property/PropertyEntranceComponent.cpp"
|
|
"Property/PropertyManagementComponent.cpp"
|
|
"Property/PropertyVendorComponent.cpp"
|
|
"ProximityMonitorComponent.cpp"
|
|
"Activity/RacingControlComponent.cpp"
|
|
"RailActivatorComponent.cpp"
|
|
"RollerComponent.cpp"
|
|
"Activity/QuickBuildComponent.cpp"
|
|
"RenderComponent.cpp"
|
|
"Physics/RigidbodyPhantomPhysicsComponent.cpp"
|
|
"MultiZoneEntranceComponent.cpp"
|
|
"RocketLaunchpadControlComponent.cpp"
|
|
"Activity/ShootingGalleryComponent.cpp"
|
|
"Physics/SimplePhysicsComponent.cpp"
|
|
"SkillComponent.cpp"
|
|
"Sound/SoundTriggerComponent.cpp"
|
|
"ExhibitComponent.cpp"
|
|
"SpawnerComponent.cpp"
|
|
"SwitchComponent.cpp"
|
|
"TriggerComponent.cpp"
|
|
"Physics/HavokVehiclePhysicsComponent.cpp"
|
|
"Vendor/BaseVendorComponent.cpp"
|
|
"Vendor/VendorComponent.cpp"
|
|
"BBBComponent.cpp"
|
|
"ScriptComponent.cpp"
|
|
)
|
|
|
|
add_library(dComponents OBJECT ${DGAME_DCOMPONENTS_SOURCES})
|
|
target_include_directories(dComponents PUBLIC ${DLU_COMPONENT_INCLUDE_DIRS}
|
|
"${PROJECT_SOURCE_DIR}/dGame/dPropertyBehaviors" # via ModelComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dPropertyBehaviors/ControlBehaviorMessages"
|
|
"${PROJECT_SOURCE_DIR}/dGame/dMission" # via MissionComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dBehaviors" # via InventoryComponent.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dInventory" # via InventoryComponent.h
|
|
PRIVATE
|
|
"${PROJECT_SOURCE_DIR}/dCommon"
|
|
"${PROJECT_SOURCE_DIR}/dCommon/dEnums"
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/CDClientDatabase"
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/CDClientDatabase/CDClientTables"
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase"
|
|
"${PROJECT_SOURCE_DIR}/dDatabase/GameDatabase/ITables"
|
|
# dPhysics (via dpWorld.h)
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/recastnavigation/Recast/Include"
|
|
"${PROJECT_SOURCE_DIR}/thirdparty/recastnavigation/Detour/Include"
|
|
|
|
"${PROJECT_SOURCE_DIR}/dScripts/02_server/Map/General" # PetDigServer.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dGameMessages" # direct
|
|
"${PROJECT_SOURCE_DIR}/dGame/dUtilities" # direct Loot.h
|
|
"${PROJECT_SOURCE_DIR}/dGame/dEntity" # via dZoneManager/Spawner.h
|
|
"${PROJECT_SOURCE_DIR}/dZoneManager" # via BouncerComponent.cpp, ActivityComponent.cpp
|
|
"${PROJECT_SOURCE_DIR}/dChatFilter" # via PetComponent.cpp
|
|
)
|
|
target_precompile_headers(dComponents REUSE_FROM dGameBase)
|
|
|
|
target_link_libraries(dComponents INTERFACE dBehaviors PRIVATE glm::glm)
|