From fc127763b21d40ca78d11934ec2d8284367e3b61 Mon Sep 17 00:00:00 2001 From: Ilgwon Ha Date: Fri, 19 Jun 2026 16:30:11 -0700 Subject: [PATCH] added placeholder cpp files to the project --- LevelUnderNine.uproject | 10 ++++++ Source/LevelUnderNine.Target.cs | 15 ++++++++ Source/LevelUnderNine/LevelUnderNine.Build.cs | 23 +++++++++++++ Source/LevelUnderNine/LevelUnderNine.cpp | 6 ++++ Source/LevelUnderNine/LevelUnderNine.h | 6 ++++ .../LevelUnderNine/PlaceholderCharacter.cpp | 34 +++++++++++++++++++ Source/LevelUnderNine/PlaceholderCharacter.h | 29 ++++++++++++++++ Source/LevelUnderNineEditor.Target.cs | 15 ++++++++ 8 files changed, 138 insertions(+) create mode 100644 Source/LevelUnderNine.Target.cs create mode 100644 Source/LevelUnderNine/LevelUnderNine.Build.cs create mode 100644 Source/LevelUnderNine/LevelUnderNine.cpp create mode 100644 Source/LevelUnderNine/LevelUnderNine.h create mode 100644 Source/LevelUnderNine/PlaceholderCharacter.cpp create mode 100644 Source/LevelUnderNine/PlaceholderCharacter.h create mode 100644 Source/LevelUnderNineEditor.Target.cs diff --git a/LevelUnderNine.uproject b/LevelUnderNine.uproject index 768fd00..abd1875 100644 --- a/LevelUnderNine.uproject +++ b/LevelUnderNine.uproject @@ -3,6 +3,16 @@ "EngineAssociation": "5.8", "Category": "", "Description": "", + "Modules": [ + { + "Name": "LevelUnderNine", + "Type": "Runtime", + "LoadingPhase": "Default", + "AdditionalDependencies": [ + "Engine" + ] + } + ], "Plugins": [ { "Name": "ModelingToolsEditorMode", diff --git a/Source/LevelUnderNine.Target.cs b/Source/LevelUnderNine.Target.cs new file mode 100644 index 0000000..341dd84 --- /dev/null +++ b/Source/LevelUnderNine.Target.cs @@ -0,0 +1,15 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class LevelUnderNineTarget : TargetRules +{ + public LevelUnderNineTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V7; + + ExtraModuleNames.AddRange( new string[] { "LevelUnderNine" } ); + } +} diff --git a/Source/LevelUnderNine/LevelUnderNine.Build.cs b/Source/LevelUnderNine/LevelUnderNine.Build.cs new file mode 100644 index 0000000..f2f01fa --- /dev/null +++ b/Source/LevelUnderNine/LevelUnderNine.Build.cs @@ -0,0 +1,23 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; + +public class LevelUnderNine : ModuleRules +{ + public LevelUnderNine(ReadOnlyTargetRules Target) : base(Target) + { + PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; + + PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); + + PrivateDependencyModuleNames.AddRange(new string[] { }); + + // 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/LevelUnderNine/LevelUnderNine.cpp b/Source/LevelUnderNine/LevelUnderNine.cpp new file mode 100644 index 0000000..a3715e3 --- /dev/null +++ b/Source/LevelUnderNine/LevelUnderNine.cpp @@ -0,0 +1,6 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#include "LevelUnderNine.h" +#include "Modules/ModuleManager.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, LevelUnderNine, "LevelUnderNine" ); diff --git a/Source/LevelUnderNine/LevelUnderNine.h b/Source/LevelUnderNine/LevelUnderNine.h new file mode 100644 index 0000000..90aad9e --- /dev/null +++ b/Source/LevelUnderNine/LevelUnderNine.h @@ -0,0 +1,6 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" + diff --git a/Source/LevelUnderNine/PlaceholderCharacter.cpp b/Source/LevelUnderNine/PlaceholderCharacter.cpp new file mode 100644 index 0000000..5958f53 --- /dev/null +++ b/Source/LevelUnderNine/PlaceholderCharacter.cpp @@ -0,0 +1,34 @@ +// Fill out your copyright notice in the Description page of Project Settings. + + +#include "PlaceholderCharacter.h" + +// Sets default values +APlaceholderCharacter::APlaceholderCharacter() +{ + // Set this character to call Tick() every frame. You can turn this off to improve performance if you don't need it. + PrimaryActorTick.bCanEverTick = true; + +} + +// Called when the game starts or when spawned +void APlaceholderCharacter::BeginPlay() +{ + Super::BeginPlay(); + +} + +// Called every frame +void APlaceholderCharacter::Tick(float DeltaTime) +{ + Super::Tick(DeltaTime); + +} + +// Called to bind functionality to input +void APlaceholderCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent) +{ + Super::SetupPlayerInputComponent(PlayerInputComponent); + +} + diff --git a/Source/LevelUnderNine/PlaceholderCharacter.h b/Source/LevelUnderNine/PlaceholderCharacter.h new file mode 100644 index 0000000..baa5b21 --- /dev/null +++ b/Source/LevelUnderNine/PlaceholderCharacter.h @@ -0,0 +1,29 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/Character.h" +#include "PlaceholderCharacter.generated.h" + +UCLASS() +class LEVELUNDERNINE_API APlaceholderCharacter : public ACharacter +{ + GENERATED_BODY() + +public: + // Sets default values for this character's properties + APlaceholderCharacter(); + +protected: + // Called when the game starts or when spawned + virtual void BeginPlay() override; + +public: + // Called every frame + virtual void Tick(float DeltaTime) override; + + // Called to bind functionality to input + virtual void SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) override; + +}; diff --git a/Source/LevelUnderNineEditor.Target.cs b/Source/LevelUnderNineEditor.Target.cs new file mode 100644 index 0000000..339f74d --- /dev/null +++ b/Source/LevelUnderNineEditor.Target.cs @@ -0,0 +1,15 @@ +// Fill out your copyright notice in the Description page of Project Settings. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class LevelUnderNineEditorTarget : TargetRules +{ + public LevelUnderNineEditorTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V7; + + ExtraModuleNames.AddRange( new string[] { "LevelUnderNine" } ); + } +}