Upgrade to 5.8
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
|
||||
#include "StevesBPL.h"
|
||||
|
||||
#include "Misc/ConfigCacheIni.h"
|
||||
#include "StevesUiHelpers.h"
|
||||
#include "StevesUI/StevesUI.h"
|
||||
#include "ContentStreaming.h"
|
||||
|
||||
@@ -8,7 +8,7 @@ float UStevesEasings::EaseAlpha(float InAlpha, EStevesEaseFunction Func)
|
||||
constexpr float BackC2 = BackC1 * 1.525f;
|
||||
constexpr float BackC3 = BackC1 + 1.f;
|
||||
constexpr float ElasticC4 = UE_TWO_PI / 3.f;
|
||||
constexpr float ElasticC5 = UE_TWO_PI / 4.5;
|
||||
constexpr float ElasticC5 = UE_TWO_PI / 4.5f;
|
||||
|
||||
switch(Func)
|
||||
{
|
||||
|
||||
@@ -110,7 +110,7 @@ void UStevesGameSubsystem::NotifyEnhancedInputMappingsChanged()
|
||||
OnEnhancedInputMappingsChanged.Broadcast();
|
||||
};
|
||||
FTimerHandle TempHandle;
|
||||
GetWorld()->GetTimerManager().SetTimer(TempHandle, FTimerDelegate::CreateLambda(DelayedFunc), 0.05, false);
|
||||
GetWorld()->GetTimerManager().SetTimer(TempHandle, FTimerDelegate::CreateLambda(DelayedFunc), 0.05f, false);
|
||||
}
|
||||
|
||||
TSoftObjectPtr<UInputAction> UStevesGameSubsystem::FindEnhancedInputAction(const FString& Name)
|
||||
|
||||
@@ -262,13 +262,13 @@ public:
|
||||
*/
|
||||
uint32 GetCurrentSeed() const
|
||||
{
|
||||
return InitialSeed;
|
||||
return Seed;
|
||||
}
|
||||
|
||||
|
||||
FString ToString() const
|
||||
{
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream(InitialSeed=%i, Seed=%u)"), InitialSeed, InitialSeed);
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream(InitialSeed=%u, Seed=%u)"), InitialSeed, Seed);
|
||||
}
|
||||
|
||||
|
||||
@@ -407,13 +407,13 @@ public:
|
||||
*/
|
||||
FORCEINLINE uint32 GetCurrentSeed() const
|
||||
{
|
||||
return InitialSeed;
|
||||
return Seed;
|
||||
}
|
||||
|
||||
|
||||
FString ToString() const
|
||||
{
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream1D(InitialSeed=%i, Seed=%u)"), InitialSeed, InitialSeed);
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream1D(InitialSeed=%u, Seed=%u)"), InitialSeed, Seed);
|
||||
}
|
||||
|
||||
};
|
||||
@@ -650,13 +650,13 @@ public:
|
||||
*/
|
||||
uint32 GetCurrentSeed() const
|
||||
{
|
||||
return InitialSeed;
|
||||
return Base2Seed;
|
||||
}
|
||||
|
||||
|
||||
FString ToString() const
|
||||
{
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream2D(InitialSeed=%i, Seed=%u)"), InitialSeed, InitialSeed);
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream2D(InitialSeed=%u, Seed=%u)"), InitialSeed, Base2Seed);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -775,7 +775,7 @@ public:
|
||||
|
||||
uint32 GetInitialSeed() const
|
||||
{
|
||||
return InitialSeed;
|
||||
return Base2Seed;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -922,7 +922,7 @@ public:
|
||||
|
||||
FString ToString() const
|
||||
{
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream(InitialSeed=%i, Seed=%u)"), InitialSeed, InitialSeed);
|
||||
return FString::Printf(TEXT("FStevesBalancedRandomStream(InitialSeed=%u, Seed=%u)"), InitialSeed, Base2Seed);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ protected:
|
||||
const EInputMode DefaultButtonInputMode = EInputMode::Keyboard;
|
||||
const EInputMode DefaultAxisInputMode = EInputMode::Mouse;
|
||||
const float MouseMoveThreshold = 1;
|
||||
const float GamepadAxisThreshold = 0.2;
|
||||
const float GamepadAxisThreshold = 0.2f;
|
||||
|
||||
bool ShouldProcessInputEvents() const;
|
||||
public:
|
||||
|
||||
@@ -1,40 +1,38 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "1.1.1.0",
|
||||
"EngineVersion": "",
|
||||
"FriendlyName": "Steve's UE Helpers",
|
||||
"Description": "A set of common helper classes for UE projects by Steve Streeting",
|
||||
"Category": "Code Utilities",
|
||||
"CreatedBy": "Steve Streeting",
|
||||
"CreatedByURL": "https://www.stevestreeting.com",
|
||||
"DocsURL": "https://github.com/sinbad/StevesUEHelpers/blob/master/ReadMe.md",
|
||||
"MarketplaceURL": "com.epicgames.launcher://ue/Fab/product/6a48c58c-1771-42f6-b46f-2b09e31b1699",
|
||||
"SupportURL": "https://github.com/sinbad/StevesUEHelpers",
|
||||
"EnabledByDefault": true,
|
||||
"CanContainContent": false,
|
||||
"IsBetaVersion": false,
|
||||
"Installed": false,
|
||||
"Modules": [
|
||||
{
|
||||
"Name": "StevesUEHelpers",
|
||||
"Type": "Runtime",
|
||||
"LoadingPhase": "PreDefault",
|
||||
"PlatformAllowList": [
|
||||
"Win64",
|
||||
"Linux",
|
||||
"Mac"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "StevesUEHelpersEd",
|
||||
"Type": "Editor",
|
||||
"LoadingPhase": "PostDefault",
|
||||
"PlatformAllowList": [
|
||||
"Win64",
|
||||
"Linux",
|
||||
"Mac"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "1.2.1.0",
|
||||
"FriendlyName": "Steve's UE Helpers",
|
||||
"Description": "A set of common helper classes for UE projects by Steve Streeting",
|
||||
"Category": "Code Utilities",
|
||||
"CreatedBy": "Steve Streeting",
|
||||
"CreatedByURL": "https://www.stevestreeting.com",
|
||||
"DocsURL": "https://github.com/sinbad/StevesUEHelpers/blob/master/ReadMe.md",
|
||||
"MarketplaceURL": "com.epicgames.launcher://ue/Fab/product/6a48c58c-1771-42f6-b46f-2b09e31b1699",
|
||||
"SupportURL": "https://github.com/sinbad/StevesUEHelpers",
|
||||
"EngineVersion": "5.8.0",
|
||||
"CanContainContent": false,
|
||||
"Installed": true,
|
||||
"Modules": [
|
||||
{
|
||||
"Name": "StevesUEHelpers",
|
||||
"Type": "Runtime",
|
||||
"LoadingPhase": "PreDefault",
|
||||
"PlatformAllowList": [
|
||||
"Win64",
|
||||
"Linux",
|
||||
"Mac"
|
||||
]
|
||||
},
|
||||
{
|
||||
"Name": "StevesUEHelpersEd",
|
||||
"Type": "Editor",
|
||||
"LoadingPhase": "PostDefault",
|
||||
"PlatformAllowList": [
|
||||
"Win64",
|
||||
"Linux",
|
||||
"Mac"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user