-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Reflecting code from UE depot as of November 2023 (5.3, 5.4). - Adding build files for Mobu 2024
- Loading branch information
1 parent
57b3cd3
commit 2568852
Showing
15 changed files
with
509 additions
and
432 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
using UnrealBuildTool; | ||
using System.IO; | ||
|
||
public class MobuLiveLinkPlugin2023 : MobuLiveLinkPluginBase | ||
{ | ||
public MobuLiveLinkPlugin2023(ReadOnlyTargetRules Target) : base(Target, "2023") | ||
{ | ||
CppStandard = CppStandardVersion.Cpp17; | ||
|
||
// Replace with PCHUsageMode.UseExplicitOrSharedPCHs when this plugin can compile with cpp20 | ||
PCHUsage = PCHUsageMode.NoPCHs; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
using UnrealBuildTool; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
|
||
public class MobuLiveLinkPlugin2023Target : MobuLiveLinkPluginTargetBase | ||
{ | ||
public MobuLiveLinkPlugin2023Target(TargetInfo Target) : base(Target, "2023") | ||
{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
using UnrealBuildTool; | ||
using System.IO; | ||
|
||
public class MobuLiveLinkPlugin2024 : MobuLiveLinkPluginBase | ||
{ | ||
public MobuLiveLinkPlugin2024(ReadOnlyTargetRules Target) : base(Target, "2024") | ||
{ | ||
CppStandard = CppStandardVersion.Cpp17; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
using UnrealBuildTool; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
|
||
public class MobuLiveLinkPlugin2024Target : MobuLiveLinkPluginTargetBase | ||
{ | ||
public MobuLiveLinkPlugin2024Target(TargetInfo Target) : base(Target, "2024") | ||
{} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,45 @@ | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
#include "RequiredProgramMainCPPInclude.h" | ||
#include "MobuLiveLinkCommon.h" | ||
|
||
DEFINE_LOG_CATEGORY_STATIC(LogMoBuPlugin, Log, All); | ||
|
||
IMPLEMENT_APPLICATION(MobuLiveLinkPlugin, "MobuLiveLinkPlugin"); | ||
|
||
//--- Library declaration | ||
FBLibraryDeclare( FMobuLiveLink ) | ||
{ | ||
FBLibraryRegister( FMobuLiveLink ); | ||
FBLibraryRegister( FMobuLiveLinkLayout ); | ||
} | ||
FBLibraryDeclareEnd; | ||
|
||
/************************************************ | ||
* Library functions. | ||
************************************************/ | ||
bool FBLibrary::LibInit() | ||
{ | ||
GEngineLoop.PreInit(TEXT("MobuLiveLinkPlugin -Messaging")); | ||
|
||
// ensure target platform manager is referenced early as it must be created on the main thread | ||
GetTargetPlatformManager(); | ||
|
||
ProcessNewlyLoadedUObjects(); | ||
|
||
// Tell the module manager that it may now process newly-loaded UObjects when new C++ modules are loaded | ||
FModuleManager::Get().StartProcessingNewlyLoadedObjects(); | ||
FModuleManager::Get().LoadModule(TEXT("UdpMessaging")); | ||
|
||
FBTrace("MobuLiveLink Library Initialized\n"); | ||
return true; | ||
} | ||
|
||
bool FBLibrary::LibOpen() { return true; } | ||
bool FBLibrary::LibReady() { return true; } | ||
bool FBLibrary::LibClose() { return true; } | ||
bool FBLibrary::LibRelease(){ return true; } | ||
// Copyright Epic Games, Inc. All Rights Reserved. | ||
|
||
#include "RequiredProgramMainCPPInclude.h" | ||
#include "MobuLiveLinkCommon.h" | ||
|
||
DEFINE_LOG_CATEGORY_STATIC(LogMoBuPlugin, Log, All); | ||
|
||
IMPLEMENT_APPLICATION(MobuLiveLinkPlugin, "MobuLiveLinkPlugin"); | ||
|
||
//--- Library declaration | ||
FBLibraryDeclare( FMobuLiveLink ) | ||
{ | ||
FBLibraryRegister( FMobuLiveLink ); | ||
FBLibraryRegister( FMobuLiveLinkLayout ); | ||
} | ||
FBLibraryDeclareEnd; | ||
|
||
/************************************************ | ||
* Library functions. | ||
************************************************/ | ||
bool FBLibrary::LibInit() | ||
{ | ||
GEngineLoop.PreInit(TEXT("MobuLiveLinkPlugin -Messaging")); | ||
|
||
// ensure target platform manager is referenced early as it must be created on the main thread | ||
GetTargetPlatformManager(); | ||
|
||
ProcessNewlyLoadedUObjects(); | ||
|
||
// Tell the module manager that it may now process newly-loaded UObjects when new C++ modules are loaded | ||
FModuleManager::Get().StartProcessingNewlyLoadedObjects(); | ||
FModuleManager::Get().LoadModule(TEXT("UdpMessaging")); | ||
|
||
IPluginManager::Get().LoadModulesForEnabledPlugins(ELoadingPhase::PreDefault); | ||
IPluginManager::Get().LoadModulesForEnabledPlugins(ELoadingPhase::Default); | ||
IPluginManager::Get().LoadModulesForEnabledPlugins(ELoadingPhase::PostDefault); | ||
|
||
FBTrace("MobuLiveLink Library Initialized\n"); | ||
return true; | ||
} | ||
|
||
bool FBLibrary::LibOpen() { return true; } | ||
bool FBLibrary::LibReady() { return true; } | ||
bool FBLibrary::LibClose() { return true; } | ||
bool FBLibrary::LibRelease(){ return true; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.