You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
2.9 KiB
C++
71 lines
2.9 KiB
C++
/*
|
|
* Copyright (c) Contributors to the Open 3D Engine Project.
|
|
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
|
*
|
|
*/
|
|
#include <AzFramework/AzFrameworkModule.h>
|
|
|
|
// Component includes
|
|
#include <AzFramework/Asset/AssetCatalogComponent.h>
|
|
#include <AzFramework/Asset/CustomAssetTypeComponent.h>
|
|
#include <AzFramework/Asset/AssetSystemComponent.h>
|
|
#include <AzFramework/Components/TransformComponent.h>
|
|
#include <AzFramework/Components/NonUniformScaleComponent.h>
|
|
#include <AzFramework/Components/AzFrameworkConfigurationSystemComponent.h>
|
|
#include <AzFramework/Entity/GameEntityContextComponent.h>
|
|
#include <AzFramework/FileTag/FileTagComponent.h>
|
|
#include <AzFramework/Input/System/InputSystemComponent.h>
|
|
#include <AzFramework/Render/GameIntersectorComponent.h>
|
|
#include <AzFramework/Scene/SceneSystemComponent.h>
|
|
#include <AzFramework/Script/ScriptComponent.h>
|
|
#include <AzFramework/Script/ScriptRemoteDebugging.h>
|
|
#include <AzFramework/Spawnable/SpawnableSystemComponent.h>
|
|
#include <AzFramework/StreamingInstall/StreamingInstall.h>
|
|
#include <AzFramework/TargetManagement/TargetManagementComponent.h>
|
|
#include <AzFramework/Visibility/OctreeSystemComponent.h>
|
|
|
|
AZ_DEFINE_BUDGET(AzFramework);
|
|
|
|
namespace AzFramework
|
|
{
|
|
AzFrameworkModule::AzFrameworkModule()
|
|
: AZ::Module()
|
|
{
|
|
m_descriptors.insert(m_descriptors.end(), {
|
|
AzFramework::AssetCatalogComponent::CreateDescriptor(),
|
|
AzFramework::CustomAssetTypeComponent::CreateDescriptor(),
|
|
AzFramework::FileTag::ExcludeFileComponent::CreateDescriptor(),
|
|
AzFramework::TransformComponent::CreateDescriptor(),
|
|
AzFramework::NonUniformScaleComponent::CreateDescriptor(),
|
|
AzFramework::GameEntityContextComponent::CreateDescriptor(),
|
|
AzFramework::RenderGeometry::GameIntersectorComponent::CreateDescriptor(),
|
|
#if !defined(_RELEASE)
|
|
AzFramework::TargetManagementComponent::CreateDescriptor(),
|
|
#endif
|
|
AzFramework::CreateScriptDebugAgentFactory(),
|
|
AzFramework::AssetSystem::AssetSystemComponent::CreateDescriptor(),
|
|
AzFramework::InputSystemComponent::CreateDescriptor(),
|
|
|
|
#if !defined(AZCORE_EXCLUDE_LUA)
|
|
AzFramework::ScriptComponent::CreateDescriptor(),
|
|
#endif
|
|
AzFramework::SceneSystemComponent::CreateDescriptor(),
|
|
AzFramework::StreamingInstall::StreamingInstallSystemComponent::CreateDescriptor(),
|
|
AzFramework::AzFrameworkConfigurationSystemComponent::CreateDescriptor(),
|
|
|
|
AzFramework::OctreeSystemComponent::CreateDescriptor(),
|
|
AzFramework::SpawnableSystemComponent::CreateDescriptor(),
|
|
});
|
|
}
|
|
|
|
AZ::ComponentTypeList AzFrameworkModule::GetRequiredSystemComponents() const
|
|
{
|
|
return AZ::ComponentTypeList
|
|
{
|
|
azrtti_typeid<AzFramework::OctreeSystemComponent>(),
|
|
};
|
|
}
|
|
}
|