Add proper source code folder layout

This commit is contained in:
DuOtto
2026-08-15 14:53:19 +02:00
parent 88f9481f19
commit dea8fab2ff
57 changed files with 80 additions and 80 deletions
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseCommand.h" #include "Commands/BaseCommand.h"
void UBaseCommand::Interrupt_Implementation() void UBaseCommand::Interrupt_Implementation()
{ {
@@ -1,9 +1,9 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseCommands.h" #include "Commands/BaseCommands.h"
#include "InteractionInterface.h" #include "Interaction/InteractionInterface.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
// UMoveToCommand // UMoveToCommand
void UMoveToCommand::Execute_Implementation() void UMoveToCommand::Execute_Implementation()
@@ -2,8 +2,8 @@
#include "Commands/CommandComponent.h" #include "Commands/CommandComponent.h"
#include "BaseCommand.h" #include "Commands/BaseCommand.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
// Sets default values for this component's properties // Sets default values for this component's properties
UCommandComponent::UCommandComponent() UCommandComponent::UCommandComponent()
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "MyGameplayTags.h" #include "Core/MyGameplayTags.h"
//6.März //6.März
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ThirdPersonCharacter.h" #include "Core/ThirdPersonCharacter.h"
// Sets default values // Sets default values
AThirdPersonCharacter::AThirdPersonCharacter() AThirdPersonCharacter::AThirdPersonCharacter()
@@ -1,13 +1,13 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ThirdPersonController.h" #include "Core/ThirdPersonController.h"
#include "InteractionInterface.h" #include "Interaction/InteractionInterface.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "UnitManagerComponent.h" #include "Units/UnitManagerComponent.h"
#include "PlayerUnit.h" #include "Units/PlayerUnit.h"
#include "TopDownGameState.h" #include "GameFramework/TopDownGameState.h"
#include "ZoneActor.h" #include "Zones/ZoneActor.h"
#include "ModuleActor.h" #include "Zones/ModuleActor.h"
#include "Framework/Application/SlateApplication.h" #include "Framework/Application/SlateApplication.h"
AThirdPersonController::AThirdPersonController() AThirdPersonController::AThirdPersonController()
@@ -1,5 +1,5 @@
// FactionManager.cpp // FactionManager.cpp
#include "FactionManager.h" #include "Factions/FactionManager.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
UFactionManager::UFactionManager() UFactionManager::UFactionManager()
@@ -1,13 +1,13 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "TopDownGameMode.h" #include "GameFramework/TopDownGameMode.h"
#include "ThirdPersonController.h" #include "Core/ThirdPersonController.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
#include "TopDownGameState.h" #include "GameFramework/TopDownGameState.h"
#include "FactionManager.h" #include "Factions/FactionManager.h"
#include "PlayerUnit.h" #include "Units/PlayerUnit.h"
#include "UnitManagerComponent.h" #include "Units/UnitManagerComponent.h"
ABaseUnit* ATopDownGameMode::SpawnUnit(TSubclassOf<ABaseUnit> UnitClass, FTransform SpawnTransform, FName FactionID) ABaseUnit* ATopDownGameMode::SpawnUnit(TSubclassOf<ABaseUnit> UnitClass, FTransform SpawnTransform, FName FactionID)
{ {
@@ -1,12 +1,12 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "TopDownGameState.h" #include "GameFramework/TopDownGameState.h"
#include "FactionManager.h" #include "Factions/FactionManager.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
#include "ZoneActor.h" #include "Zones/ZoneActor.h"
#include "ThirdPersonController.h" #include "Core/ThirdPersonController.h"
ATopDownGameState::ATopDownGameState() ATopDownGameState::ATopDownGameState()
{ {
@@ -1,4 +1,4 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "InteractionInterface.h" #include "Interaction/InteractionInterface.h"
@@ -1,10 +1,10 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "InventoryComponent.h" #include "Items/InventoryComponent.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "BaseCharacter.h" #include "Units/BaseCharacter.h"
#include "MyGameplayTags.h" #include "Core/MyGameplayTags.h"
// Sets default values for this component's properties // Sets default values for this component's properties
UInventoryComponent::UInventoryComponent() UInventoryComponent::UInventoryComponent()
@@ -1,5 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "InventoryInterface.h" #include "Items/InventoryInterface.h"
@@ -1,10 +1,10 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ItemActor.h" #include "Items/ItemActor.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "BaseCharacter.h" #include "Units/BaseCharacter.h"
#include "InventoryInterface.h" #include "Items/InventoryInterface.h"
// Sets default values // Sets default values
AItemActor::AItemActor() AItemActor::AItemActor()
@@ -1,4 +1,4 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ItemData.h" #include "Items/ItemData.h"
@@ -1,5 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ItemDefinition.h" #include "Items/ItemDefinition.h"
@@ -1,8 +1,8 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ItemObject.h" #include "Items/ItemObject.h"
#include "MyGameplayTags.h" #include "Core/MyGameplayTags.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
UItemObject::UItemObject() UItemObject::UItemObject()
@@ -1,5 +1,5 @@
// ItemRegistry.cpp // ItemRegistry.cpp
#include "ItemRegistry.h" #include "Items/ItemRegistry.h"
void UItemRegistry::Initialize(FSubsystemCollectionBase& Collection) void UItemRegistry::Initialize(FSubsystemCollectionBase& Collection)
{ {
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "PlaceableItemActor.h" #include "Items/PlaceableItemActor.h"
void APlaceableItemActor::BeginPlay() void APlaceableItemActor::BeginPlay()
{ {
@@ -1,5 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "OutlinerTypes.h" #include "UI/OutlinerTypes.h"
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseAttributeSet.h" #include "Units/BaseAttributeSet.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "GameplayEffectExtension.h" #include "GameplayEffectExtension.h"
@@ -1,8 +1,8 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseCharacter.h" #include "Units/BaseCharacter.h"
#include "InteractionInterface.h" #include "Interaction/InteractionInterface.h"
#include "ItemData.h" #include "Items/ItemData.h"
#include "AbilitySystemComponent.h" #include "AbilitySystemComponent.h"
@@ -1,9 +1,9 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseUnit.h" #include "Units/BaseUnit.h"
#include "Components/CapsuleComponent.h" #include "Components/CapsuleComponent.h"
#include "TopDownGameState.h" #include "GameFramework/TopDownGameState.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "Commands/CommandComponent.h" #include "Commands/CommandComponent.h"
@@ -1,5 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "BaseUnitAIController.h" #include "Units/BaseUnitAIController.h"
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "PlayerUnit.h" #include "Units/PlayerUnit.h"
EOutlinerStatus APlayerUnit::GetOutlinerStatus() const EOutlinerStatus APlayerUnit::GetOutlinerStatus() const
{ {
@@ -1,9 +1,9 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "UnitManagerComponent.h" #include "Units/UnitManagerComponent.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
#include "BaseCommands.h" #include "Commands/BaseCommands.h"
#include "Commands/CommandComponent.h" #include "Commands/CommandComponent.h"
UUnitManagerComponent::UUnitManagerComponent() UUnitManagerComponent::UUnitManagerComponent()
@@ -1,7 +1,7 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "AModuleActor.h" #include "Zones/AModuleActor.h"
// Sets default values // Sets default values
AAModuleActor::AAModuleActor() AAModuleActor::AAModuleActor()
@@ -1,11 +1,11 @@
#include "ModuleActor.h" #include "Zones/ModuleActor.h"
#include "ZoneActor.h" #include "Zones/ZoneActor.h"
#include "InventoryComponent.h" #include "Items/InventoryComponent.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include <ItemData.h> #include "Items/ItemData.h"
#include "ItemRegistry.h" #include "Items/ItemRegistry.h"
AModuleActor::AModuleActor() AModuleActor::AModuleActor()
{ {
@@ -2,4 +2,4 @@
#pragma once #pragma once
#include "ModuleDefinition.h" #include "Zones/ModuleDefinition.h"
@@ -1,13 +1,13 @@
// Fill out your copyright notice in the Description page of Project Settings. // Fill out your copyright notice in the Description page of Project Settings.
#include "ZoneActor.h" #include "Zones/ZoneActor.h"
#include "Components/SphereComponent.h" #include "Components/SphereComponent.h"
#include "InventoryComponent.h" #include "Items/InventoryComponent.h"
#include "ModuleActor.h" #include "Zones/ModuleActor.h"
#include "TopDownGameState.h" #include "GameFramework/TopDownGameState.h"
#include "FactionManager.h" #include "Factions/FactionManager.h"
#include "Net/UnrealNetwork.h" #include "Net/UnrealNetwork.h"
#include "BaseUnit.h" #include "Units/BaseUnit.h"
AZoneActor::AZoneActor() AZoneActor::AZoneActor()
{ {
@@ -4,7 +4,7 @@
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "GameFramework/Actor.h" #include "GameFramework/Actor.h"
#include "InteractionInterface.h" #include "Interaction/InteractionInterface.h"
#include "ItemData.h" #include "ItemData.h"
#include "ItemActor.generated.h" #include "ItemActor.generated.h"
@@ -1,7 +1,7 @@
#pragma once #pragma once
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "MyGameplayTags.h" #include "Core/MyGameplayTags.h"
#include "ItemDefinition.h" #include "ItemDefinition.h"
#include "ItemData.generated.h" #include "ItemData.generated.h"
@@ -6,8 +6,8 @@
#include "GameFramework/Character.h" #include "GameFramework/Character.h"
#include "BaseAttributeSet.h" #include "BaseAttributeSet.h"
#include "AbilitySystemInterface.h" #include "AbilitySystemInterface.h"
#include "ItemActor.h" #include "Items/ItemActor.h"
#include "InventoryComponent.h" #include "Items/InventoryComponent.h"
#include "BaseCharacter.generated.h" #include "BaseCharacter.generated.h"
UCLASS(BlueprintType) UCLASS(BlueprintType)
@@ -6,11 +6,11 @@
#include "GameFramework/Character.h" #include "GameFramework/Character.h"
#include "BaseAttributeSet.h" #include "BaseAttributeSet.h"
#include "AbilitySystemInterface.h" #include "AbilitySystemInterface.h"
#include "InventoryComponent.h" #include "Items/InventoryComponent.h"
#include "BaseCommand.h" #include "Commands/BaseCommand.h"
#include "InventoryInterface.h" #include "Items/InventoryInterface.h"
#include "OutlinerTypes.h" #include "UI/OutlinerTypes.h"
#include "InteractionInterface.h" #include "Interaction/InteractionInterface.h"
#include "BaseUnit.generated.h" #include "BaseUnit.generated.h"
class UCommandComponent; class UCommandComponent;
@@ -5,7 +5,7 @@
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "GameFramework/Actor.h" #include "GameFramework/Actor.h"
#include "ModuleDefinition.h" #include "ModuleDefinition.h"
#include "OutlinerTypes.h" #include "UI/OutlinerTypes.h"
#include "ModuleActor.generated.h" #include "ModuleActor.generated.h"
class UInventoryComponent; class UInventoryComponent;
@@ -4,8 +4,8 @@
#include "CoreMinimal.h" #include "CoreMinimal.h"
#include "GameFramework/Actor.h" #include "GameFramework/Actor.h"
#include "InventoryInterface.h" #include "Items/InventoryInterface.h"
#include "OutlinerTypes.h" #include "UI/OutlinerTypes.h"
#include "ZoneActor.generated.h" #include "ZoneActor.generated.h"
class AModuleActor; class AModuleActor;