diff --git a/Source/PG_Framework.Target.cs b/Source/PG_Framework.Target.cs new file mode 100644 index 0000000..5439a28 --- /dev/null +++ b/Source/PG_Framework.Target.cs @@ -0,0 +1,15 @@ +// // Copyright Ngonart OU. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class PG_FrameworkTarget : TargetRules +{ + public PG_FrameworkTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V6; + + ExtraModuleNames.AddRange( new string[] { "PG_Framework" } ); + } +} diff --git a/Source/Framework/Framework.Build.cs b/Source/PG_Framework/Framework.Build.cs similarity index 100% rename from Source/Framework/Framework.Build.cs rename to Source/PG_Framework/Framework.Build.cs diff --git a/Source/Framework/Framework.cpp b/Source/PG_Framework/Framework.cpp similarity index 100% rename from Source/Framework/Framework.cpp rename to Source/PG_Framework/Framework.cpp diff --git a/Source/PG_Framework/PG_Framework.Build.cs b/Source/PG_Framework/PG_Framework.Build.cs new file mode 100644 index 0000000..852636a --- /dev/null +++ b/Source/PG_Framework/PG_Framework.Build.cs @@ -0,0 +1,44 @@ +// // Copyright Ngonart OU. All Rights Reserved. + +using UnrealBuildTool; + +public class PG_Framework : ModuleRules +{ + public PG_Framework(ReadOnlyTargetRules Target) : base(Target) + { + PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; + + PublicDependencyModuleNames.AddRange(new string[] + { + "Core", + "CoreUObject", + "Engine", + "GameplayTags", + "EnhancedInput", + "InputCore", + "UMG", + "Slate", + "SlateCore", + "AIModule", + "NavigationSystem", + "MotionWarping", + "PhysicsCore", + "DeveloperSettings", + "MetasoundEngine", + }); + + PrivateDependencyModuleNames.AddRange(new string[] + { + "GameplayTasks", + }); + + + // Uncomment if you are using Slate UI + // PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); + + // Uncomment if you are using online features + // PrivateDependencyModuleNames.Add("OnlineSubsystem"); + + // To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true + } +} diff --git a/Source/PG_Framework/PG_Framework.cpp b/Source/PG_Framework/PG_Framework.cpp new file mode 100644 index 0000000..0c43d7d --- /dev/null +++ b/Source/PG_Framework/PG_Framework.cpp @@ -0,0 +1,6 @@ +// // Copyright Ngonart OU. All Rights Reserved. + +#include "PG_Framework.h" +#include "Modules/ModuleManager.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, PG_Framework, "PG_Framework" ); diff --git a/Source/PG_Framework/PG_Framework.h b/Source/PG_Framework/PG_Framework.h new file mode 100644 index 0000000..f748bf4 --- /dev/null +++ b/Source/PG_Framework/PG_Framework.h @@ -0,0 +1,6 @@ +// // Copyright Ngonart OU. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" + diff --git a/Source/Framework/Private/Core/DA_GameTagRegistry.cpp b/Source/PG_Framework/Private/Core/DA_GameTagRegistry.cpp similarity index 100% rename from Source/Framework/Private/Core/DA_GameTagRegistry.cpp rename to Source/PG_Framework/Private/Core/DA_GameTagRegistry.cpp diff --git a/Source/Framework/Private/Core/FL_GameUtilities.cpp b/Source/PG_Framework/Private/Core/FL_GameUtilities.cpp similarity index 100% rename from Source/Framework/Private/Core/FL_GameUtilities.cpp rename to Source/PG_Framework/Private/Core/FL_GameUtilities.cpp diff --git a/Source/Framework/Private/Core/GI_GameFramework.cpp b/Source/PG_Framework/Private/Core/GI_GameFramework.cpp similarity index 100% rename from Source/Framework/Private/Core/GI_GameFramework.cpp rename to Source/PG_Framework/Private/Core/GI_GameFramework.cpp diff --git a/Source/Framework/Private/Core/GM_CoreGameMode.cpp b/Source/PG_Framework/Private/Core/GM_CoreGameMode.cpp similarity index 100% rename from Source/Framework/Private/Core/GM_CoreGameMode.cpp rename to Source/PG_Framework/Private/Core/GM_CoreGameMode.cpp diff --git a/Source/Framework/Private/Core/GS_CoreGameState.cpp b/Source/PG_Framework/Private/Core/GS_CoreGameState.cpp similarity index 100% rename from Source/Framework/Private/Core/GS_CoreGameState.cpp rename to Source/PG_Framework/Private/Core/GS_CoreGameState.cpp diff --git a/Source/Framework/Private/Input/SS_EnhancedInputManager.cpp b/Source/PG_Framework/Private/Input/SS_EnhancedInputManager.cpp similarity index 100% rename from Source/Framework/Private/Input/SS_EnhancedInputManager.cpp rename to Source/PG_Framework/Private/Input/SS_EnhancedInputManager.cpp diff --git a/Source/Framework/Private/Inventory/BPC_InventorySystem.cpp b/Source/PG_Framework/Private/Inventory/BPC_InventorySystem.cpp similarity index 100% rename from Source/Framework/Private/Inventory/BPC_InventorySystem.cpp rename to Source/PG_Framework/Private/Inventory/BPC_InventorySystem.cpp diff --git a/Source/Framework/Private/Inventory/DA_EquipmentConfig.cpp b/Source/PG_Framework/Private/Inventory/DA_EquipmentConfig.cpp similarity index 100% rename from Source/Framework/Private/Inventory/DA_EquipmentConfig.cpp rename to Source/PG_Framework/Private/Inventory/DA_EquipmentConfig.cpp diff --git a/Source/Framework/Private/Inventory/DA_ItemData.cpp b/Source/PG_Framework/Private/Inventory/DA_ItemData.cpp similarity index 100% rename from Source/Framework/Private/Inventory/DA_ItemData.cpp rename to Source/PG_Framework/Private/Inventory/DA_ItemData.cpp diff --git a/Source/Framework/Private/Player/BPC_HealthSystem.cpp b/Source/PG_Framework/Private/Player/BPC_HealthSystem.cpp similarity index 100% rename from Source/Framework/Private/Player/BPC_HealthSystem.cpp rename to Source/PG_Framework/Private/Player/BPC_HealthSystem.cpp diff --git a/Source/Framework/Private/Player/BPC_MovementStateSystem.cpp b/Source/PG_Framework/Private/Player/BPC_MovementStateSystem.cpp similarity index 100% rename from Source/Framework/Private/Player/BPC_MovementStateSystem.cpp rename to Source/PG_Framework/Private/Player/BPC_MovementStateSystem.cpp diff --git a/Source/Framework/Private/Player/BPC_StaminaSystem.cpp b/Source/PG_Framework/Private/Player/BPC_StaminaSystem.cpp similarity index 100% rename from Source/Framework/Private/Player/BPC_StaminaSystem.cpp rename to Source/PG_Framework/Private/Player/BPC_StaminaSystem.cpp diff --git a/Source/Framework/Private/Player/BPC_StateManager.cpp b/Source/PG_Framework/Private/Player/BPC_StateManager.cpp similarity index 100% rename from Source/Framework/Private/Player/BPC_StateManager.cpp rename to Source/PG_Framework/Private/Player/BPC_StateManager.cpp diff --git a/Source/Framework/Private/Player/BPC_StressSystem.cpp b/Source/PG_Framework/Private/Player/BPC_StressSystem.cpp similarity index 100% rename from Source/Framework/Private/Player/BPC_StressSystem.cpp rename to Source/PG_Framework/Private/Player/BPC_StressSystem.cpp diff --git a/Source/Framework/Private/Player/PC_CoreController.cpp b/Source/PG_Framework/Private/Player/PC_CoreController.cpp similarity index 100% rename from Source/Framework/Private/Player/PC_CoreController.cpp rename to Source/PG_Framework/Private/Player/PC_CoreController.cpp diff --git a/Source/Framework/Private/Player/PS_CorePlayerState.cpp b/Source/PG_Framework/Private/Player/PS_CorePlayerState.cpp similarity index 100% rename from Source/Framework/Private/Player/PS_CorePlayerState.cpp rename to Source/PG_Framework/Private/Player/PS_CorePlayerState.cpp diff --git a/Source/Framework/Private/Save/SS_SaveManager.cpp b/Source/PG_Framework/Private/Save/SS_SaveManager.cpp similarity index 100% rename from Source/Framework/Private/Save/SS_SaveManager.cpp rename to Source/PG_Framework/Private/Save/SS_SaveManager.cpp diff --git a/Source/Framework/Private/State/DA_StateGatingTable.cpp b/Source/PG_Framework/Private/State/DA_StateGatingTable.cpp similarity index 100% rename from Source/Framework/Private/State/DA_StateGatingTable.cpp rename to Source/PG_Framework/Private/State/DA_StateGatingTable.cpp diff --git a/Source/Framework/Private/Weapons/BPC_DamageReceptionSystem.cpp b/Source/PG_Framework/Private/Weapons/BPC_DamageReceptionSystem.cpp similarity index 100% rename from Source/Framework/Private/Weapons/BPC_DamageReceptionSystem.cpp rename to Source/PG_Framework/Private/Weapons/BPC_DamageReceptionSystem.cpp diff --git a/Source/Framework/Private/Weapons/BPC_HitReactionSystem.cpp b/Source/PG_Framework/Private/Weapons/BPC_HitReactionSystem.cpp similarity index 100% rename from Source/Framework/Private/Weapons/BPC_HitReactionSystem.cpp rename to Source/PG_Framework/Private/Weapons/BPC_HitReactionSystem.cpp diff --git a/Source/Framework/Private/Weapons/BPC_ShieldDefenseSystem.cpp b/Source/PG_Framework/Private/Weapons/BPC_ShieldDefenseSystem.cpp similarity index 100% rename from Source/Framework/Private/Weapons/BPC_ShieldDefenseSystem.cpp rename to Source/PG_Framework/Private/Weapons/BPC_ShieldDefenseSystem.cpp diff --git a/Source/Framework/Public/Core/DA_GameTagRegistry.h b/Source/PG_Framework/Public/Core/DA_GameTagRegistry.h similarity index 100% rename from Source/Framework/Public/Core/DA_GameTagRegistry.h rename to Source/PG_Framework/Public/Core/DA_GameTagRegistry.h diff --git a/Source/Framework/Public/Core/FL_GameUtilities.h b/Source/PG_Framework/Public/Core/FL_GameUtilities.h similarity index 100% rename from Source/Framework/Public/Core/FL_GameUtilities.h rename to Source/PG_Framework/Public/Core/FL_GameUtilities.h diff --git a/Source/Framework/Public/Core/GI_GameFramework.h b/Source/PG_Framework/Public/Core/GI_GameFramework.h similarity index 100% rename from Source/Framework/Public/Core/GI_GameFramework.h rename to Source/PG_Framework/Public/Core/GI_GameFramework.h diff --git a/Source/Framework/Public/Core/GM_CoreGameMode.h b/Source/PG_Framework/Public/Core/GM_CoreGameMode.h similarity index 100% rename from Source/Framework/Public/Core/GM_CoreGameMode.h rename to Source/PG_Framework/Public/Core/GM_CoreGameMode.h diff --git a/Source/Framework/Public/Core/GS_CoreGameState.h b/Source/PG_Framework/Public/Core/GS_CoreGameState.h similarity index 100% rename from Source/Framework/Public/Core/GS_CoreGameState.h rename to Source/PG_Framework/Public/Core/GS_CoreGameState.h diff --git a/Source/Framework/Public/Core/I_InterfaceLibrary.h b/Source/PG_Framework/Public/Core/I_InterfaceLibrary.h similarity index 100% rename from Source/Framework/Public/Core/I_InterfaceLibrary.h rename to Source/PG_Framework/Public/Core/I_InterfaceLibrary.h diff --git a/Source/Framework/Public/Input/SS_EnhancedInputManager.h b/Source/PG_Framework/Public/Input/SS_EnhancedInputManager.h similarity index 100% rename from Source/Framework/Public/Input/SS_EnhancedInputManager.h rename to Source/PG_Framework/Public/Input/SS_EnhancedInputManager.h diff --git a/Source/Framework/Public/Inventory/BPC_InventorySystem.h b/Source/PG_Framework/Public/Inventory/BPC_InventorySystem.h similarity index 100% rename from Source/Framework/Public/Inventory/BPC_InventorySystem.h rename to Source/PG_Framework/Public/Inventory/BPC_InventorySystem.h diff --git a/Source/Framework/Public/Inventory/DA_EquipmentConfig.h b/Source/PG_Framework/Public/Inventory/DA_EquipmentConfig.h similarity index 100% rename from Source/Framework/Public/Inventory/DA_EquipmentConfig.h rename to Source/PG_Framework/Public/Inventory/DA_EquipmentConfig.h diff --git a/Source/Framework/Public/Inventory/DA_ItemData.h b/Source/PG_Framework/Public/Inventory/DA_ItemData.h similarity index 100% rename from Source/Framework/Public/Inventory/DA_ItemData.h rename to Source/PG_Framework/Public/Inventory/DA_ItemData.h diff --git a/Source/Framework/Public/Player/BPC_HealthSystem.h b/Source/PG_Framework/Public/Player/BPC_HealthSystem.h similarity index 100% rename from Source/Framework/Public/Player/BPC_HealthSystem.h rename to Source/PG_Framework/Public/Player/BPC_HealthSystem.h diff --git a/Source/Framework/Public/Player/BPC_MovementStateSystem.h b/Source/PG_Framework/Public/Player/BPC_MovementStateSystem.h similarity index 100% rename from Source/Framework/Public/Player/BPC_MovementStateSystem.h rename to Source/PG_Framework/Public/Player/BPC_MovementStateSystem.h diff --git a/Source/Framework/Public/Player/BPC_StaminaSystem.h b/Source/PG_Framework/Public/Player/BPC_StaminaSystem.h similarity index 100% rename from Source/Framework/Public/Player/BPC_StaminaSystem.h rename to Source/PG_Framework/Public/Player/BPC_StaminaSystem.h diff --git a/Source/Framework/Public/Player/BPC_StateManager.h b/Source/PG_Framework/Public/Player/BPC_StateManager.h similarity index 100% rename from Source/Framework/Public/Player/BPC_StateManager.h rename to Source/PG_Framework/Public/Player/BPC_StateManager.h diff --git a/Source/Framework/Public/Player/BPC_StressSystem.h b/Source/PG_Framework/Public/Player/BPC_StressSystem.h similarity index 100% rename from Source/Framework/Public/Player/BPC_StressSystem.h rename to Source/PG_Framework/Public/Player/BPC_StressSystem.h diff --git a/Source/Framework/Public/Player/PC_CoreController.h b/Source/PG_Framework/Public/Player/PC_CoreController.h similarity index 100% rename from Source/Framework/Public/Player/PC_CoreController.h rename to Source/PG_Framework/Public/Player/PC_CoreController.h diff --git a/Source/Framework/Public/Player/PS_CorePlayerState.h b/Source/PG_Framework/Public/Player/PS_CorePlayerState.h similarity index 100% rename from Source/Framework/Public/Player/PS_CorePlayerState.h rename to Source/PG_Framework/Public/Player/PS_CorePlayerState.h diff --git a/Source/Framework/Public/Save/SS_SaveManager.h b/Source/PG_Framework/Public/Save/SS_SaveManager.h similarity index 100% rename from Source/Framework/Public/Save/SS_SaveManager.h rename to Source/PG_Framework/Public/Save/SS_SaveManager.h diff --git a/Source/Framework/Public/State/DA_StateGatingTable.h b/Source/PG_Framework/Public/State/DA_StateGatingTable.h similarity index 100% rename from Source/Framework/Public/State/DA_StateGatingTable.h rename to Source/PG_Framework/Public/State/DA_StateGatingTable.h diff --git a/Source/Framework/Public/Weapons/BPC_DamageReceptionSystem.h b/Source/PG_Framework/Public/Weapons/BPC_DamageReceptionSystem.h similarity index 100% rename from Source/Framework/Public/Weapons/BPC_DamageReceptionSystem.h rename to Source/PG_Framework/Public/Weapons/BPC_DamageReceptionSystem.h diff --git a/Source/Framework/Public/Weapons/BPC_HitReactionSystem.h b/Source/PG_Framework/Public/Weapons/BPC_HitReactionSystem.h similarity index 100% rename from Source/Framework/Public/Weapons/BPC_HitReactionSystem.h rename to Source/PG_Framework/Public/Weapons/BPC_HitReactionSystem.h diff --git a/Source/Framework/Public/Weapons/BPC_ShieldDefenseSystem.h b/Source/PG_Framework/Public/Weapons/BPC_ShieldDefenseSystem.h similarity index 100% rename from Source/Framework/Public/Weapons/BPC_ShieldDefenseSystem.h rename to Source/PG_Framework/Public/Weapons/BPC_ShieldDefenseSystem.h diff --git a/Source/PG_FrameworkEditor.Target.cs b/Source/PG_FrameworkEditor.Target.cs new file mode 100644 index 0000000..bd77aab --- /dev/null +++ b/Source/PG_FrameworkEditor.Target.cs @@ -0,0 +1,15 @@ +// // Copyright Ngonart OU. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class PG_FrameworkEditorTarget : TargetRules +{ + public PG_FrameworkEditorTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V6; + + ExtraModuleNames.AddRange( new string[] { "PG_Framework" } ); + } +}