diff --git a/.gitignore b/.gitignore index f5c0ca3..6600c9b 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,8 @@ Project/Saved/Config/WindowsEditor Project/Saved/Config/WorldState Project/Saved/AutoScreenshot.png Project/Platforms +Project/.vs +Project/.vsconfig +*.sln +*.target +*.modules diff --git a/Project/Binaries/Win64/UnrealEditor-Gasa.dll b/Project/Binaries/Win64/UnrealEditor-Gasa.dll new file mode 100644 index 0000000..8a5f792 Binary files /dev/null and b/Project/Binaries/Win64/UnrealEditor-Gasa.dll differ diff --git a/Project/Binaries/Win64/UnrealEditor-Gasa.pdb b/Project/Binaries/Win64/UnrealEditor-Gasa.pdb new file mode 100644 index 0000000..ebd356f Binary files /dev/null and b/Project/Binaries/Win64/UnrealEditor-Gasa.pdb differ diff --git a/Project/Binaries/Win64/UnrealEditor-GasaEditor.dll b/Project/Binaries/Win64/UnrealEditor-GasaEditor.dll new file mode 100644 index 0000000..248271f Binary files /dev/null and b/Project/Binaries/Win64/UnrealEditor-GasaEditor.dll differ diff --git a/Project/Binaries/Win64/UnrealEditor-GasaEditor.pdb b/Project/Binaries/Win64/UnrealEditor-GasaEditor.pdb new file mode 100644 index 0000000..3f03bcf Binary files /dev/null and b/Project/Binaries/Win64/UnrealEditor-GasaEditor.pdb differ diff --git a/Project/Source/Gasa.Target.cs b/Project/Source/Gasa.Target.cs new file mode 100644 index 0000000..1d82e6b --- /dev/null +++ b/Project/Source/Gasa.Target.cs @@ -0,0 +1,15 @@ +using BuildSettingsVersion = UnrealBuildTool.BuildSettingsVersion; +using TargetInfo = UnrealBuildTool.TargetInfo; +using TargetRules = UnrealBuildTool.TargetRules; +using TargetType = UnrealBuildTool.TargetType; + +public class GasaTarget : TargetRules +{ + public GasaTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Game; + DefaultBuildSettings = BuildSettingsVersion.Latest; + + ExtraModuleNames.Add("Gasa"); + } +} diff --git a/Project/Source/Gasa/Gasa.Build.cs b/Project/Source/Gasa/Gasa.Build.cs new file mode 100644 index 0000000..2783e9f --- /dev/null +++ b/Project/Source/Gasa/Gasa.Build.cs @@ -0,0 +1,58 @@ +using System; +using System.Collections.Generic; + +using ModuleRules = UnrealBuildTool.ModuleRules; +using ReadOnlyTargetRules = UnrealBuildTool.ReadOnlyTargetRules; +using TargetRules = UnrealBuildTool.TargetRules; +using UnrealTargetConfiguration = UnrealBuildTool.UnrealTargetConfiguration; + +public class Gasa : ModuleRules +{ + public Gasa(ReadOnlyTargetRules Target) : base(Target) + { + #region Engine + PrivateIncludePathModuleNames.AddRange(new string[] { + "Core", + }); + PrivateDependencyModuleNames.AddRange(new string[] { + "Core", + + "AIModule", + "CoreUObject", + "Engine", + "EnhancedInput", + "GameplayAbilities", + "GameplayTags", + "GameplayTasks", + "InputCore", + "NetCore", + "Niagara", + }); + #endregion Engine + + #region Plugins + if (Target.Configuration != UnrealTargetConfiguration.Shipping && Target.Type != TargetRules.TargetType.Server) + { + PrivateIncludePathModuleNames.AddRange( new string[] + { + "CogCommon", + }); + PrivateDependencyModuleNames.AddRange(new string[] + { + // "UE_ImGui", + "CogCommon", + "CogAbility", + "CogAI", + "CogAll", + "CogDebug", + "CogEngine", + "CogImgui", + "CogInput", + "CogWindow", + }); + } + #endregion Plugins + + PublicIncludePathModuleNames.Add("Gasa"); + } +} diff --git a/Project/Source/Gasa/GasaModule.cpp b/Project/Source/Gasa/GasaModule.cpp new file mode 100644 index 0000000..a51991c --- /dev/null +++ b/Project/Source/Gasa/GasaModule.cpp @@ -0,0 +1,13 @@ +#include "GasaModule.h" + +IMPLEMENT_PRIMARY_GAME_MODULE(FGasaModule, Gasa, Gasa); + +void FGasaModule::StartupModule() +{ + +} + +void FGasaModule::ShutdownModule() +{ + +} diff --git a/Project/Source/Gasa/GasaModule.h b/Project/Source/Gasa/GasaModule.h new file mode 100644 index 0000000..7d4e9ba --- /dev/null +++ b/Project/Source/Gasa/GasaModule.h @@ -0,0 +1,19 @@ +#pragma once + +#include "Modules/ModuleInterface.h" + +class GASA_API FGasaModule : public IModuleInterface +{ +public: + static bool IsAvailable() { + return FModuleManager::Get().IsModuleLoaded("Gasa"); + } + + static FGasaModule& Get() { + return FModuleManager::LoadModuleChecked("Gasa"); + } + +protected: + void StartupModule() override; + void ShutdownModule() override; +}; diff --git a/Project/Source/GasaEditor.Target.cs b/Project/Source/GasaEditor.Target.cs new file mode 100644 index 0000000..da91bbb --- /dev/null +++ b/Project/Source/GasaEditor.Target.cs @@ -0,0 +1,17 @@ +using BuildSettingsVersion = UnrealBuildTool.BuildSettingsVersion; +using TargetInfo = UnrealBuildTool.TargetInfo; +using TargetRules = UnrealBuildTool.TargetRules; +using TargetType = UnrealBuildTool.TargetType; + +public class GasaEditorTarget : TargetRules +{ + public GasaEditorTarget(TargetInfo Target) : base(Target) + { + Type = TargetType.Editor; + + DefaultBuildSettings = BuildSettingsVersion.Latest; + + ExtraModuleNames.Add("Gasa"); + ExtraModuleNames.Add("GasaEditor"); + } +} diff --git a/Project/Source/GasaEditor/GasaEditor.Build.cs b/Project/Source/GasaEditor/GasaEditor.Build.cs new file mode 100644 index 0000000..d4fde14 --- /dev/null +++ b/Project/Source/GasaEditor/GasaEditor.Build.cs @@ -0,0 +1,19 @@ +using ModuleRules = UnrealBuildTool.ModuleRules; +using ReadOnlyTargetRules = UnrealBuildTool.ReadOnlyTargetRules; + +public class GasaEditor : ModuleRules +{ + public GasaEditor(ReadOnlyTargetRules Target) : base(Target) + { + #region Engine + PrivateIncludePathModuleNames.AddRange(new string[] { + "Core", + }); + PrivateDependencyModuleNames.AddRange(new string[] { + "Core", + }); + #endregion Engine + + PublicIncludePathModuleNames.Add("Gasa"); + } +} diff --git a/Project/Source/GasaEditor/GasaEditorModule.cpp b/Project/Source/GasaEditor/GasaEditorModule.cpp new file mode 100644 index 0000000..b9443b7 --- /dev/null +++ b/Project/Source/GasaEditor/GasaEditorModule.cpp @@ -0,0 +1,14 @@ +#include "GasaEditorModule.h" + +IMPLEMENT_PRIMARY_GAME_MODULE(FGasaEditorModule, GasaEditor, GasaEditor); + +void FGasaEditorModule::StartupModule() +{ + +} + +void FGasaEditorModule::ShutdownModule() +{ + +} + \ No newline at end of file diff --git a/Project/Source/GasaEditor/GasaEditorModule.h b/Project/Source/GasaEditor/GasaEditorModule.h new file mode 100644 index 0000000..0d43faa --- /dev/null +++ b/Project/Source/GasaEditor/GasaEditorModule.h @@ -0,0 +1,19 @@ +#pragma once + +#include "Modules/ModuleInterface.h" + +class GASAEDITOR_API FGasaEditorModule : public IModuleInterface +{ +public: + static bool IsAvailable() { + return FModuleManager::Get().IsModuleLoaded("GasaEditor"); + } + + static FGasaEditorModule& Get() { + return FModuleManager::LoadModuleChecked("GasaEditor"); + } + +protected: + void StartupModule() override; + void ShutdownModule() override; +};