Asset: Added the upgraded UE4.26 to UE5.1 project files

This commit is contained in:
parvan 2025-12-21 13:00:04 -06:00
parent 5a16829092
commit abca2aa92c
7952 changed files with 187142 additions and 0 deletions

14
Source/Cardinal.Target.cs Normal file
View file

@ -0,0 +1,14 @@
using UnrealBuildTool;
using System.Collections.Generic;
public class CardinalTarget : TargetRules
{
public CardinalTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Game;
ExtraModuleNames.Add("Cardinal");
bUsesSteam = true;
// Added for 4.26
DefaultBuildSettings = BuildSettingsVersion.V2;
}
}

View file

@ -0,0 +1,28 @@
using UnrealBuildTool;
public class Cardinal : ModuleRules
{
public Cardinal(ReadOnlyTargetRules Target) : base(Target)
{
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "AdvancedSessions", "OnlineSubsystem", "OnlineSubsystemUtils", "Networking", "Sockets", "OnlineSubsystemSteam", "OnlineSubsystemNull", "MoviePlayer", "DeveloperSettings" });
PrivateDependencyModuleNames.AddRange(new string[] { "OnlineSubsystem", "Sockets", "Networking", "OnlineSubsystemSteam", "OnlineSubsystemNull" });
//For 4.26
PrivatePCHHeaderFile = "Cardinal.h";
bLegacyPublicIncludePaths = true;
// Uncomment if you are using Slate UI
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" });
// Uncomment if you are using online features
//PrivateDependencyModuleNames.Add("OnlineSubsystem");
//if ((Target.Platform == UnrealTargetPlatform.Win32) || (Target.Platform == UnrealTargetPlatform.Win64))
//{
// if (UEBuildConfiguration.bCompileSteamOSS == true)
// {
// DynamicallyLoadedModuleNames.Add("OnlineSubsystemSteam");
// }
// }
}
}

View file

@ -0,0 +1,5 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "Cardinal.h"
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, Cardinal, "Cardinal" );

View file

@ -0,0 +1,6 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "Engine.h"

View file

@ -0,0 +1,12 @@
// Fill out your copyright notice in the Description page of Project Settings.
#include "EmptyClass.h"
#include "Cardinal.h"
EmptyClass::EmptyClass()
{
}
EmptyClass::~EmptyClass()
{
}

View file

@ -0,0 +1,13 @@
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
/**
*
*/
class CARDINAL_API EmptyClass
{
public:
EmptyClass();
~EmptyClass();
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

View file

@ -0,0 +1,13 @@
using UnrealBuildTool;
using System.Collections.Generic;
public class CardinalEditorTarget : TargetRules
{
public CardinalEditorTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Editor;
ExtraModuleNames.Add("Cardinal");
// Added for 4.26
DefaultBuildSettings = BuildSettingsVersion.V2;
}
}

View file

@ -0,0 +1,13 @@
using UnrealBuildTool;
using System.Collections.Generic;
public class CardinalServerTarget : TargetRules
{
public CardinalServerTarget(TargetInfo Target) : base(Target)
{
Type = TargetType.Server;
ExtraModuleNames.Add("Cardinal");
// Added for 4.26
DefaultBuildSettings = BuildSettingsVersion.V2;
}
}