From 1a2c9dfcac448c10d46a3e11a46c17cd422f2f85 Mon Sep 17 00:00:00 2001 From: rlatosky Date: Sat, 25 Sep 2021 13:19:34 -0400 Subject: [PATCH] Initial commit --- .gitignore | 14 ++++++++++++ Config/DefaultEditor.ini | 0 Config/DefaultEngine.ini | 17 +++++++++++++++ Config/DefaultGame.ini | 3 +++ Playground.uproject | 13 +++++++++++ README.md | 3 +++ Source/Playground.Target.cs | 14 ++++++++++++ Source/Playground/Playground.Build.cs | 23 ++++++++++++++++++++ Source/Playground/Playground.cpp | 6 +++++ Source/Playground/Playground.h | 6 +++++ Source/Playground/PlaygroundGameModeBase.cpp | 5 +++++ Source/Playground/PlaygroundGameModeBase.h | 17 +++++++++++++++ Source/PlaygroundEditor.Target.cs | 14 ++++++++++++ 13 files changed, 135 insertions(+) create mode 100644 .gitignore create mode 100644 Config/DefaultEditor.ini create mode 100644 Config/DefaultEngine.ini create mode 100644 Config/DefaultGame.ini create mode 100644 Playground.uproject create mode 100644 README.md create mode 100644 Source/Playground.Target.cs create mode 100644 Source/Playground/Playground.Build.cs create mode 100644 Source/Playground/Playground.cpp create mode 100644 Source/Playground/Playground.h create mode 100644 Source/Playground/PlaygroundGameModeBase.cpp create mode 100644 Source/Playground/PlaygroundGameModeBase.h create mode 100644 Source/PlaygroundEditor.Target.cs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f4334a5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +Binaries +DerivedDataCache +Intermediate +Saved +.vscode +.vs +*.VC.db +*.opensdf +*.opendb +*.sdf +*.sln +*.suo +*.xcodeproj +*.xcworkspace \ No newline at end of file diff --git a/Config/DefaultEditor.ini b/Config/DefaultEditor.ini new file mode 100644 index 0000000..e69de29 diff --git a/Config/DefaultEngine.ini b/Config/DefaultEngine.ini new file mode 100644 index 0000000..da1256e --- /dev/null +++ b/Config/DefaultEngine.ini @@ -0,0 +1,17 @@ + + +[/Script/EngineSettings.GameMapsSettings] +GameDefaultMap=/Engine/Maps/Templates/Template_Default.Template_Default + + +[/Script/HardwareTargeting.HardwareTargetingSettings] +TargetedHardwareClass=Desktop +AppliedTargetedHardwareClass=Desktop +DefaultGraphicsPerformance=Maximum +AppliedDefaultGraphicsPerformance=Maximum + +[/Script/Engine.Engine] ++ActiveGameNameRedirects=(OldGameName="TP_Blank",NewGameName="/Script/Playground") ++ActiveGameNameRedirects=(OldGameName="/Script/TP_Blank",NewGameName="/Script/Playground") ++ActiveClassRedirects=(OldClassName="TP_BlankGameModeBase",NewClassName="PlaygroundGameModeBase") + diff --git a/Config/DefaultGame.ini b/Config/DefaultGame.ini new file mode 100644 index 0000000..d3b89ab --- /dev/null +++ b/Config/DefaultGame.ini @@ -0,0 +1,3 @@ + +[/Script/EngineSettings.GeneralProjectSettings] +ProjectID=69406C324E7F2EE4ADEBC1A74FF9D844 diff --git a/Playground.uproject b/Playground.uproject new file mode 100644 index 0000000..999aa48 --- /dev/null +++ b/Playground.uproject @@ -0,0 +1,13 @@ +{ + "FileVersion": 3, + "EngineAssociation": "4.27", + "Category": "", + "Description": "", + "Modules": [ + { + "Name": "Playground", + "Type": "Runtime", + "LoadingPhase": "Default" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..345f508 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# Playground + +Developed with Unreal Engine 4 diff --git a/Source/Playground.Target.cs b/Source/Playground.Target.cs new file mode 100644 index 0000000..a79296c --- /dev/null +++ b/Source/Playground.Target.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class PlaygroundTarget : TargetRules +{ + public PlaygroundTarget( TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.V2; + ExtraModuleNames.AddRange( new string[] { "Playground" } ); + } +} diff --git a/Source/Playground/Playground.Build.cs b/Source/Playground/Playground.Build.cs new file mode 100644 index 0000000..9bec0ed --- /dev/null +++ b/Source/Playground/Playground.Build.cs @@ -0,0 +1,23 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; + +public class Playground : ModuleRules +{ + public Playground(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/Playground/Playground.cpp b/Source/Playground/Playground.cpp new file mode 100644 index 0000000..340d14b --- /dev/null +++ b/Source/Playground/Playground.cpp @@ -0,0 +1,6 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#include "Playground.h" +#include "Modules/ModuleManager.h" + +IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Playground, "Playground" ); diff --git a/Source/Playground/Playground.h b/Source/Playground/Playground.h new file mode 100644 index 0000000..677c8e2 --- /dev/null +++ b/Source/Playground/Playground.h @@ -0,0 +1,6 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" + diff --git a/Source/Playground/PlaygroundGameModeBase.cpp b/Source/Playground/PlaygroundGameModeBase.cpp new file mode 100644 index 0000000..b687f9a --- /dev/null +++ b/Source/Playground/PlaygroundGameModeBase.cpp @@ -0,0 +1,5 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + + +#include "PlaygroundGameModeBase.h" + diff --git a/Source/Playground/PlaygroundGameModeBase.h b/Source/Playground/PlaygroundGameModeBase.h new file mode 100644 index 0000000..4b221ba --- /dev/null +++ b/Source/Playground/PlaygroundGameModeBase.h @@ -0,0 +1,17 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +#pragma once + +#include "CoreMinimal.h" +#include "GameFramework/GameModeBase.h" +#include "PlaygroundGameModeBase.generated.h" + +/** + * + */ +UCLASS() +class PLAYGROUND_API APlaygroundGameModeBase : public AGameModeBase +{ + GENERATED_BODY() + +}; diff --git a/Source/PlaygroundEditor.Target.cs b/Source/PlaygroundEditor.Target.cs new file mode 100644 index 0000000..ab00bf9 --- /dev/null +++ b/Source/PlaygroundEditor.Target.cs @@ -0,0 +1,14 @@ +// Copyright Epic Games, Inc. All Rights Reserved. + +using UnrealBuildTool; +using System.Collections.Generic; + +public class PlaygroundEditorTarget : TargetRules +{ + public PlaygroundEditorTarget( TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + DefaultBuildSettings = BuildSettingsVersion.V2; + ExtraModuleNames.AddRange( new string[] { "Playground" } ); + } +}