Add PS5 platform defines and types

This commit is contained in:
Wojtek Figat
2021-10-08 16:24:59 +02:00
parent aef024f572
commit 48a867ef16
56 changed files with 216 additions and 46 deletions

View File

@@ -42,6 +42,9 @@
#if PLATFORM_TOOLS_PS4
#include "Platforms/PS4/Editor/PlatformTools/PS4PlatformTools.h"
#endif
#if PLATFORM_TOOLS_PS5
#include "Platforms/PS5/Editor/PlatformTools/PS5PlatformTools.h"
#endif
#if PLATFORM_TOOLS_XBOX_ONE
#include "Platforms/XboxOne/Editor/PlatformTools/XboxOnePlatformTools.h"
#endif
@@ -123,6 +126,8 @@ const Char* ToString(const BuildPlatform platform)
return TEXT("Android ARM64");
case BuildPlatform::Switch:
return TEXT("Switch");
case BuildPlatform::PS5:
return TEXT("PlayStation 5");
default:
return TEXT("?");
}
@@ -314,6 +319,11 @@ PlatformTools* GameCooker::GetTools(BuildPlatform platform)
case BuildPlatform::Switch:
result = New<SwitchPlatformTools>();
break;
#endif
#if PLATFORM_TOOLS_PS5
case BuildPlatform::PS5:
result = New<PS5PlatformTools>();
break;
#endif
}
Tools.Add(platform, result);