This commit is contained in:
Oleg Petruny 2025-07-13 12:14:23 +02:00
parent f32f8f9149
commit 107e750d02
9 changed files with 29 additions and 10 deletions

View File

@ -62,10 +62,13 @@ InternationalizationPreset=English
LocalizationTargetCatchAllChunkId=0
bCookAll=False
bCookMapsOnly=False
bTreatWarningsAsErrorsOnCook=False
bSkipEditorContent=True
bSkipMovies=False
-IniKeyDenylist=KeyStorePassword
-IniKeyDenylist=KeyPassword
-IniKeyDenylist=DebugKeyStorePassword
-IniKeyDenylist=DebugKeyPassword
-IniKeyDenylist=rsa.privateexp
-IniKeyDenylist=rsa.modulus
-IniKeyDenylist=rsa.publicexp
@ -81,6 +84,8 @@ bSkipMovies=False
-IniKeyDenylist=MobileProvision
-IniKeyDenylist=IniKeyDenylist
-IniKeyDenylist=IniSectionDenylist
+IniKeyDenylist=DebugKeyStorePassword
+IniKeyDenylist=DebugKeyPassword
+IniKeyDenylist=KeyStorePassword
+IniKeyDenylist=KeyPassword
+IniKeyDenylist=rsa.privateexp
@ -100,6 +105,8 @@ bSkipMovies=False
+IniKeyDenylist=IniSectionDenylist
-IniSectionDenylist=HordeStorageServers
-IniSectionDenylist=StorageServers
-IniSectionDenylist=/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings
+IniSectionDenylist=/Script/AndroidFileServerEditor.AndroidFileServerRuntimeSettings
+IniSectionDenylist=HordeStorageServers
+IniSectionDenylist=StorageServers
+DirectoriesToAlwaysCook=(Path="/Game/Misc/Interactables")
@ -115,6 +122,7 @@ bSkipMovies=False
+DirectoriesToAlwaysCook=(Path="/Game/Audio/FMOD/Reverbs")
+DirectoriesToAlwaysCook=(Path="/Game/Audio/FMOD/Snapshots")
+DirectoriesToAlwaysCook=(Path="/Game/Audio/FMOD/VCAs")
+DirectoriesToAlwaysCook=(Path="/NNEDenoiser")
+DirectoriesToAlwaysStageAsNonUFS=(Path="Audio/FMOD/Desktop")
bRetainStagedDirectory=False
CustomStageCopyHandler=

View File

@ -37,3 +37,5 @@ HDRDisplayOutputNits=1000
[/Script/Engine.GameUserSettings]
bUseDesiredScreenHeight=False
[ScalabilityGroups]
sg.ResolutionQuality=100

Binary file not shown.

Binary file not shown.

View File

@ -361,8 +361,9 @@ FIntPoint UGraphicsSettingsHelper::FilterClosestResolution(const TArray<FIntPoin
for(int32 i = 1; i < resolutions.Num(); ++i)
{
float c = resolutions[i].X / (float)target.X;
if((coefficient > 1 && c < coefficient)
|| (coefficient < 1 && c > coefficient && c < 1))
if((coefficient > 1 && c < coefficient) // 1 < new result < old result
|| (c < 1 && c > coefficient) // old result < new result < 1
|| UCommonFunctions::FloatIsZero(c - 1)) // new result == Omega(1)
{
coefficient = c;
resultId = i;

View File

@ -56,3 +56,9 @@ void AMinigame::Restart()
OnRestart_Internal();
OnRestart();
}
void AMinigame::EndPlay(const EEndPlayReason::Type EndPlayReason)
{
if(instance == this)
instance = nullptr;
}

View File

@ -47,6 +47,8 @@ public:
TSoftObjectPtr<class UInputMappingContext> GetInputMappings() { return context; }
protected:
virtual void EndPlay(const EEndPlayReason::Type EndPlayReason) override;
virtual void OnStart_Internal() {}
UFUNCTION(BlueprintImplementableEvent)
void OnStart();