From 42b9a6df327c48b14d623ea7c9902bb4671ae5bd Mon Sep 17 00:00:00 2001 From: vorixo Date: Thu, 21 Apr 2022 10:30:39 +0200 Subject: [PATCH] [UPD] ProjectileSim is now sorted in folders to ease readability --- Source/MassSample/Misc/MSBPFunctionLibarary.cpp | 2 +- .../ProjectileSim/{ => Fragments}/MSProjectileFragments.h | 0 Source/MassSample/ProjectileSim/MSProjectileSubsystem.cpp | 2 +- .../ProjectileSim/{ => Processors}/MSDebugPrintProcessors.h | 2 +- .../{ => Processors}/MSNiagaraRepresentationProcessors.cpp | 2 +- .../{ => Processors}/MSNiagaraRepresentationProcessors.h | 4 ++-- .../{ => Processors}/MSProjectileHitObserver.cpp | 4 ++-- .../ProjectileSim/{ => Processors}/MSProjectileHitObserver.h | 0 .../{ => Processors}/MSProjectileSimProcessors.cpp | 2 +- .../{ => Processors}/MSProjectileSimProcessors.h | 0 .../MassSample/ProjectileSim/{ => Traits}/MSDebugTagTrait.cpp | 0 .../MassSample/ProjectileSim/{ => Traits}/MSDebugTagTrait.h | 0 .../{ => Traits}/MSNiagaraRepresentationTrait.cpp | 4 ++-- .../ProjectileSim/{ => Traits}/MSNiagaraRepresentationTrait.h | 2 +- .../ProjectileSim/{ => Traits}/MSProjectileSimTrait.cpp | 2 +- .../ProjectileSim/{ => Traits}/MSProjectileSimTrait.h | 0 16 files changed, 13 insertions(+), 13 deletions(-) rename Source/MassSample/ProjectileSim/{ => Fragments}/MSProjectileFragments.h (100%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSDebugPrintProcessors.h (96%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSNiagaraRepresentationProcessors.cpp (98%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSNiagaraRepresentationProcessors.h (87%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSProjectileHitObserver.cpp (95%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSProjectileHitObserver.h (100%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSProjectileSimProcessors.cpp (98%) rename Source/MassSample/ProjectileSim/{ => Processors}/MSProjectileSimProcessors.h (100%) rename Source/MassSample/ProjectileSim/{ => Traits}/MSDebugTagTrait.cpp (100%) rename Source/MassSample/ProjectileSim/{ => Traits}/MSDebugTagTrait.h (100%) rename Source/MassSample/ProjectileSim/{ => Traits}/MSNiagaraRepresentationTrait.cpp (86%) rename Source/MassSample/ProjectileSim/{ => Traits}/MSNiagaraRepresentationTrait.h (91%) rename Source/MassSample/ProjectileSim/{ => Traits}/MSProjectileSimTrait.cpp (91%) rename Source/MassSample/ProjectileSim/{ => Traits}/MSProjectileSimTrait.h (100%) diff --git a/Source/MassSample/Misc/MSBPFunctionLibarary.cpp b/Source/MassSample/Misc/MSBPFunctionLibarary.cpp index 21abe0e..3da8b7f 100644 --- a/Source/MassSample/Misc/MSBPFunctionLibarary.cpp +++ b/Source/MassSample/Misc/MSBPFunctionLibarary.cpp @@ -10,7 +10,7 @@ #include "MassMovementFragments.h" #include "MSSubsystem.h" #include "AI/NavigationSystemBase.h" -#include "ProjectileSim/MSProjectileFragments.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" FEntityHandleWrapper UMSBPFunctionLibarary::SpawnEntityFromEntityConfig(AActor* Owner, UMassEntityConfigAsset* MassEntityConfig, const UObject* WorldContextObject) diff --git a/Source/MassSample/ProjectileSim/MSProjectileFragments.h b/Source/MassSample/ProjectileSim/Fragments/MSProjectileFragments.h similarity index 100% rename from Source/MassSample/ProjectileSim/MSProjectileFragments.h rename to Source/MassSample/ProjectileSim/Fragments/MSProjectileFragments.h diff --git a/Source/MassSample/ProjectileSim/MSProjectileSubsystem.cpp b/Source/MassSample/ProjectileSim/MSProjectileSubsystem.cpp index 1e9250d..b6a95fd 100644 --- a/Source/MassSample/ProjectileSim/MSProjectileSubsystem.cpp +++ b/Source/MassSample/ProjectileSim/MSProjectileSubsystem.cpp @@ -1,7 +1,7 @@ #include "MSProjectileSubsystem.h" #include "MSNiagaraActor.h" -#include "MSProjectileFragments.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" #include "NiagaraComponent.h" diff --git a/Source/MassSample/ProjectileSim/MSDebugPrintProcessors.h b/Source/MassSample/ProjectileSim/Processors/MSDebugPrintProcessors.h similarity index 96% rename from Source/MassSample/ProjectileSim/MSDebugPrintProcessors.h rename to Source/MassSample/ProjectileSim/Processors/MSDebugPrintProcessors.h index 974f092..2789a17 100644 --- a/Source/MassSample/ProjectileSim/MSDebugPrintProcessors.h +++ b/Source/MassSample/ProjectileSim/Processors/MSDebugPrintProcessors.h @@ -3,7 +3,7 @@ #pragma once #include "CoreMinimal.h" -#include "MSProjectileSubsystem.h" +#include "ProjectileSim/MSProjectileSubsystem.h" #include "MassCommonFragments.h" #include "MassProcessor.h" diff --git a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationProcessors.cpp b/Source/MassSample/ProjectileSim/Processors/MSNiagaraRepresentationProcessors.cpp similarity index 98% rename from Source/MassSample/ProjectileSim/MSNiagaraRepresentationProcessors.cpp rename to Source/MassSample/ProjectileSim/Processors/MSNiagaraRepresentationProcessors.cpp index f430940..85686cd 100644 --- a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationProcessors.cpp +++ b/Source/MassSample/ProjectileSim/Processors/MSNiagaraRepresentationProcessors.cpp @@ -4,7 +4,7 @@ #include "MSNiagaraRepresentationProcessors.h" #include "NiagaraComponent.h" -#include "MSNiagaraActor.h" +#include "ProjectileSim/MSNiagaraActor.h" UMSNiagaraRepresentationProcessors::UMSNiagaraRepresentationProcessors() { diff --git a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationProcessors.h b/Source/MassSample/ProjectileSim/Processors/MSNiagaraRepresentationProcessors.h similarity index 87% rename from Source/MassSample/ProjectileSim/MSNiagaraRepresentationProcessors.h rename to Source/MassSample/ProjectileSim/Processors/MSNiagaraRepresentationProcessors.h index c66616c..afb8f92 100644 --- a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationProcessors.h +++ b/Source/MassSample/ProjectileSim/Processors/MSNiagaraRepresentationProcessors.h @@ -1,8 +1,8 @@ #pragma once #include "CoreMinimal.h" -#include "MSProjectileSubsystem.h" -#include "MSProjectileFragments.h" +#include "ProjectileSim/MSProjectileSubsystem.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" #include "MassCommonFragments.h" #include "MassMovementFragments.h" #include "MassProcessor.h" diff --git a/Source/MassSample/ProjectileSim/MSProjectileHitObserver.cpp b/Source/MassSample/ProjectileSim/Processors/MSProjectileHitObserver.cpp similarity index 95% rename from Source/MassSample/ProjectileSim/MSProjectileHitObserver.cpp rename to Source/MassSample/ProjectileSim/Processors/MSProjectileHitObserver.cpp index dc4718d..5423809 100644 --- a/Source/MassSample/ProjectileSim/MSProjectileHitObserver.cpp +++ b/Source/MassSample/ProjectileSim/Processors/MSProjectileHitObserver.cpp @@ -5,8 +5,8 @@ #include "MassCommonFragments.h" #include "MassMovementFragments.h" -#include "MassProjectileHitInterface.h" -#include "MSProjectileFragments.h" +#include "ProjectileSim/MassProjectileHitInterface.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" UMSProjectileHitObserver::UMSProjectileHitObserver() { diff --git a/Source/MassSample/ProjectileSim/MSProjectileHitObserver.h b/Source/MassSample/ProjectileSim/Processors/MSProjectileHitObserver.h similarity index 100% rename from Source/MassSample/ProjectileSim/MSProjectileHitObserver.h rename to Source/MassSample/ProjectileSim/Processors/MSProjectileHitObserver.h diff --git a/Source/MassSample/ProjectileSim/MSProjectileSimProcessors.cpp b/Source/MassSample/ProjectileSim/Processors/MSProjectileSimProcessors.cpp similarity index 98% rename from Source/MassSample/ProjectileSim/MSProjectileSimProcessors.cpp rename to Source/MassSample/ProjectileSim/Processors/MSProjectileSimProcessors.cpp index 5a91033..2b8565e 100644 --- a/Source/MassSample/ProjectileSim/MSProjectileSimProcessors.cpp +++ b/Source/MassSample/ProjectileSim/Processors/MSProjectileSimProcessors.cpp @@ -5,7 +5,7 @@ #include "MassCommonFragments.h" #include "MassObserverRegistry.h" -#include "MSProjectileFragments.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" #include "MassRepresentationTypes.h" #include "Fragments/MSFragments.h" #include "HAL/ThreadManager.h" diff --git a/Source/MassSample/ProjectileSim/MSProjectileSimProcessors.h b/Source/MassSample/ProjectileSim/Processors/MSProjectileSimProcessors.h similarity index 100% rename from Source/MassSample/ProjectileSim/MSProjectileSimProcessors.h rename to Source/MassSample/ProjectileSim/Processors/MSProjectileSimProcessors.h diff --git a/Source/MassSample/ProjectileSim/MSDebugTagTrait.cpp b/Source/MassSample/ProjectileSim/Traits/MSDebugTagTrait.cpp similarity index 100% rename from Source/MassSample/ProjectileSim/MSDebugTagTrait.cpp rename to Source/MassSample/ProjectileSim/Traits/MSDebugTagTrait.cpp diff --git a/Source/MassSample/ProjectileSim/MSDebugTagTrait.h b/Source/MassSample/ProjectileSim/Traits/MSDebugTagTrait.h similarity index 100% rename from Source/MassSample/ProjectileSim/MSDebugTagTrait.h rename to Source/MassSample/ProjectileSim/Traits/MSDebugTagTrait.h diff --git a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationTrait.cpp b/Source/MassSample/ProjectileSim/Traits/MSNiagaraRepresentationTrait.cpp similarity index 86% rename from Source/MassSample/ProjectileSim/MSNiagaraRepresentationTrait.cpp rename to Source/MassSample/ProjectileSim/Traits/MSNiagaraRepresentationTrait.cpp index 3986bb8..f66a1e2 100644 --- a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationTrait.cpp +++ b/Source/MassSample/ProjectileSim/Traits/MSNiagaraRepresentationTrait.cpp @@ -5,8 +5,8 @@ #include "MassCommonFragments.h" #include "MassEntityTemplateRegistry.h" -#include "MSProjectileFragments.h" -#include "MSProjectileSubsystem.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" +#include "ProjectileSim/MSProjectileSubsystem.h" #include "NiagaraSystem.h" #include "Fragments/MSFragments.h" diff --git a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationTrait.h b/Source/MassSample/ProjectileSim/Traits/MSNiagaraRepresentationTrait.h similarity index 91% rename from Source/MassSample/ProjectileSim/MSNiagaraRepresentationTrait.h rename to Source/MassSample/ProjectileSim/Traits/MSNiagaraRepresentationTrait.h index daaf4ce..6013232 100644 --- a/Source/MassSample/ProjectileSim/MSNiagaraRepresentationTrait.h +++ b/Source/MassSample/ProjectileSim/Traits/MSNiagaraRepresentationTrait.h @@ -4,7 +4,7 @@ #include "CoreMinimal.h" #include "MassEntityTraitBase.h" -#include "MSProjectileFragments.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" #include "NiagaraSystem.h" #include "MSNiagaraRepresentationTrait.generated.h" diff --git a/Source/MassSample/ProjectileSim/MSProjectileSimTrait.cpp b/Source/MassSample/ProjectileSim/Traits/MSProjectileSimTrait.cpp similarity index 91% rename from Source/MassSample/ProjectileSim/MSProjectileSimTrait.cpp rename to Source/MassSample/ProjectileSim/Traits/MSProjectileSimTrait.cpp index 16da620..5b2dfa9 100644 --- a/Source/MassSample/ProjectileSim/MSProjectileSimTrait.cpp +++ b/Source/MassSample/ProjectileSim/Traits/MSProjectileSimTrait.cpp @@ -6,7 +6,7 @@ #include "MassCommonFragments.h" #include "MassEntityTemplateRegistry.h" #include "MassMovementFragments.h" -#include "MSProjectileFragments.h" +#include "ProjectileSim/Fragments/MSProjectileFragments.h" #include "NiagaraSystem.h" void UMSProjectileSimTrait::BuildTemplate(FMassEntityTemplateBuildContext& BuildContext, UWorld& World) const diff --git a/Source/MassSample/ProjectileSim/MSProjectileSimTrait.h b/Source/MassSample/ProjectileSim/Traits/MSProjectileSimTrait.h similarity index 100% rename from Source/MassSample/ProjectileSim/MSProjectileSimTrait.h rename to Source/MassSample/ProjectileSim/Traits/MSProjectileSimTrait.h