2016-01-07 08:17:16 -05:00
|
|
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
#include "EngineSettingsPrivatePCH.h"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Implements the EngineSettings module.
|
|
|
|
|
*/
|
|
|
|
|
class FEngineSettingsModule
|
|
|
|
|
: public IModuleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
2014-06-12 23:22:18 -04:00
|
|
|
// IModuleInterface interface
|
2014-05-08 21:34:16 -04:00
|
|
|
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual void StartupModule( ) override { }
|
|
|
|
|
virtual void ShutdownModule( ) override { }
|
2014-03-14 14:13:41 -04:00
|
|
|
|
2014-06-13 06:14:46 -04:00
|
|
|
virtual bool SupportsDynamicReloading( ) override
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
2014-05-08 21:34:16 -04:00
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
/* Class constructors
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UConsoleSettings::UConsoleSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-06-11 12:03:52 -04:00
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UGameMapsSettings::UGameMapsSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-05-08 21:34:16 -04:00
|
|
|
, bUseSplitscreen(true)
|
|
|
|
|
, TwoPlayerSplitscreenLayout(ETwoPlayerSplitScreenType::Horizontal)
|
|
|
|
|
, ThreePlayerSplitscreenLayout(EThreePlayerSplitScreenType::FavorTop)
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 2994668)
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2967465 on 2016/05/05 by Marc.Audy
Fix VS2015 shadow variables fixes
Change 2970637 on 2016/05/09 by Martin.Wilson
Fix incorrect conflict resolve in merge from main
Change 2976393 on 2016/05/12 by Zak.Middleton
#ue4 - Set AudioComponent bUseAttachParentBounds=true to reduce cost of transform updates (avoids virtual CalcBounds() when transform changes).
#tests PIE w/ audio
Change 2976770 on 2016/05/13 by Lina.Halper
Improvement on mirroring fix branch
#code review: Zak.Middleton
Change 2976774 on 2016/05/13 by Lukasz.Furman
fixed missing memory callbacks for instanced behavior tree nodes
#jira UE-30305
Change 2976775 on 2016/05/13 by Lukasz.Furman
fixed multiple calls to behavior tree's instance cleanup
#jira UE-30593
Change 2976801 on 2016/05/13 by Jon.Nabozny
Add an optional argument FSkeletalMeshMerge. When set to EMeshBufferAccess::ForceCPUAndGPU, keeps a reference to the vertex buffer on CPU (e.g. for spawning particle effects).
#JIRA UE-30405
Change 2976985 on 2016/05/13 by Jon.Nabozny
Fix initializer list ordering for FSkeletalMeshMerge.
Change 2977532 on 2016/05/13 by Marc.Audy
PR #2348: [Local Multiplayer] Gamepad player assignment improvements (Contributed by kukiric)
#jira UE-30162
Change 2977637 on 2016/05/13 by Marc.Audy
Add Get/Set controller ID for a player in gameplay statics
#jira UE-28718
Change 2979387 on 2016/05/16 by Jon.Nabozny
Initialize FBox used to store results for CalculateQuatACF96Bounds.
#JIRA UE-30846
Change 2979968 on 2016/05/17 by bruce.nesbit
Added comment in FCanvasLineItem to warn only SE_BLEND_Opaque will be used when rendering.
Change 2979969 on 2016/05/17 by bruce.nesbit
Added comment in AddLine/AddPoint to warn only SE_BLEND_Opaque will be used when rendering.
Change 2980271 on 2016/05/17 by Lina.Halper
Improved comment
#code review: Benn.Gallagher
Change 2980317 on 2016/05/17 by Lukasz.Furman
removing NavCollision from static mesh on property change and PostLoad if static mesh is not supposed to have one
#ue4
Change 2980717 on 2016/05/17 by Zak.Middleton
#ue4 - Optimize UCapsuleComponent::CalcBounds() to remove sqrt and use tighter bounding sphere radius.
Change 2981193 on 2016/05/17 by Lukasz.Furman
fixed missing observers in behavior tree when dynamic subtree is changed while waiting for full restart (out of nodes)
#ue4
Change 2981927 on 2016/05/18 by Lina.Halper
- Remove vertex animation code
- Removing UVertexAnimation
- Fixed reinitialization issue that was triggered by SetVertexAnimation
- todo: consolidate UMorphtarget and UVertexAnimBase
#code review: James.Golding, Martin.Wilson
Change 2981957 on 2016/05/18 by Lina.Halper
Add recursive stack check on update animation
#code review: Martin.Wilson
Change 2982116 on 2016/05/18 by Benn.Gallagher
Removed optimize macros accidentally left after bounds extension feature for skel meshes
Change 2982255 on 2016/05/18 by Jon.Nabozny
FSkeletalMeshMerge constructor "MeshBufferAccess" default should be EMeshBufferAccess:Default instead of EMeshBufferAccess::ForceCPUAndGPU.
Change 2982607 on 2016/05/18 by Marc.Audy
Cleanup places calling GetWorld() multiple times
Change 2982621 on 2016/05/18 by Marc.Audy
Make UActorComponent::GetWorld final and inlined to avoid unnecessary function calls
Put uncached logic in to a separate function
Change 2983424 on 2016/05/19 by Marc.Audy
Minor tweaks to reduce GetWorld calls
Change 2983465 on 2016/05/19 by Lina.Halper
Combine VertexAnimBase and MorphTarget to just MorphTarget
- VertexAnimBase is gone
- Modified most of VertexAnim to MorphTarget
- Removed state, time related data
#code review: James.Golding, Rolando.Caloca
Change 2983609 on 2016/05/19 by Marc.Audy
Inline AActor::GetLevel
Half GetWorld() calls from AActor::GetNetMode()
Change 2983772 on 2016/05/19 by Marc.Audy
Fix Mac compile
Change 2983931 on 2016/05/19 by Marc.Audy
Remove pointless AccelMouse function
Change 2984061 on 2016/05/19 by Marc.Audy
Reorg some headers to fix compilation issues
Change 2984409 on 2016/05/19 by Aaron.McLeran
#jira UE-31049 Updating the Oculus Audio SDK to vs 1.02
Implementing 2984316 from Releases/4.12 to Dev-Framework
Change 2984574 on 2016/05/19 by Aaron.McLeran
Fix for platform headroom scalar. Using correct dB to linear formula (not one for power)
dB = 20 * log(Linear), not dB = 10 * log(Linear)
Change 2985041 on 2016/05/20 by Jon.Nabozny
ConvertQueryOverlap only returns the base actor if multiple actors have bSimulatePhysics enabled and are welded together.
#JIRA UE-30484
Change 2985118 on 2016/05/20 by Marc.Audy
Another attempt to convince Mac to build
Change 2985192 on 2016/05/20 by Marc.Audy
Properly forward declare ABrush
Change 2985724 on 2016/05/20 by Zak.Middleton
#ue4 - Optimize NaN and Infinite checks for FVector, FQuat, FRotator, FMatrix, FTransform. SIMD version VectorContainsNaNOrInfinite() also optimized on relevant platforms. Added startup tests for VectorContainsNaNOrInfinite().
- All our "ContainsNaN()" tests are in fact "IsNaN() || IsInfinite()", which is the same as "!IsFinite()", so exploited this to simplify the tests. Both NaN and +/-Inf are not finite (http://en.cppreference.com/w/cpp/numeric/math/isfinite). In the future we should rename ContainsNaN().
- Still need to audit some uses in shipping configs.
#jira UE-30999
Change 2986016 on 2016/05/20 by Zak.Middleton
#ue4 - Fix uint32 used for int32 values. Behavior was unaffected.
Change 2986017 on 2016/05/20 by Zak.Middleton
#ue4 - Fix overlaps being dropped from within a FScopedMoveUpdate when rotation occurs. Remove invalid assert.
Change 2986833 on 2016/05/23 by Zak.Middleton
#ue4 - Move ETeleportType from ActorComponent.h to EngineTypes.h. Add comment to FHitResult for ImpactPoint when it's penetrating.
Change 2986916 on 2016/05/23 by Rolando.Caloca
DF - GPU morph targets proof of concept
- Disabled by default
- Not compatible with gpu skin cache
- No extra memory required yet until it's used; creates buffers per frame (very slow!)
Change 2987539 on 2016/05/23 by Rolando.Caloca
DF - Remove unused member and downgrade FActiveMorphTarget to not be a USTRUCT
Change 2987981 on 2016/05/24 by James.Golding
PR #2162 : Exported AAudioVolume so that projects can derive custom classes.
https://github.com/EpicGames/UnrealEngine/pull/2162
#github 2162
#jira UE-28533
Change 2987982 on 2016/05/24 by James.Golding
PR #2318 : Fix memory allocation in CustomMeshComponent.cpp
https://github.com/EpicGames/UnrealEngine/pull/2318
#github 2318
#jira UE-29864
Change 2987983 on 2016/05/24 by James.Golding
Merging engine changes back from GDC demo:
- Export FFIRFilterTimeBased from Engine module
- Add FFIRFilterTimeBased::SetWindowDuration
- Add FBaseCompactPose::CopyBonesTo
Change 2987984 on 2016/05/24 by James.Golding
UE-30137 No longer include collision in StatiMeshComponent bounds (bounds no longer user for any collision calculation)
Change 2987985 on 2016/05/24 by James.Golding
UE-27801 Export ConvertToCollisionChannel, ConvertToObjectType, and ConvertToTraceType members of UCollisionProfile
Change 2987987 on 2016/05/24 by James.Golding
OR-17910 : Support 'show collision' in Test configuration
Change 2988123 on 2016/05/24 by Jon.Nabozny
Prevent FBodyInstance::Weld causing duplicate PhsyXShapes to be created / added to ShapeToBodiesMap when toggling SimulatePhysics on PrimitiveComponent.
#JIRA UE-31189
Change 2988449 on 2016/05/24 by Rolando.Caloca
DF - Split FActiveMorphTarget's weight into its own array in prep for GPU friendly data
Change 2988485 on 2016/05/24 by Jon.Nabozny
Swap order of setRigidBodyFlag and setRigidDynamicFlag inside UpdateInstanceSimulatePhysics to prevent PhysX error about Kinematic bodies not using CCD.
#JIRA UE-30993
Change 2988969 on 2016/05/24 by Rolando.Caloca
DF - GPU morph targets
- Enable using r.MorphTarget.Mode 1
Change 2989645 on 2016/05/25 by Marc.Audy
Apply CL# 2989481 to Dev-Framework
#jira UE-31055
Change 2989987 on 2016/05/25 by Wes.Hunt
Redo of CL#2982707 2982716 2982723 2983780 2983864 from //Orion/Dev-General in preparation for continuing Analytics refactor in a Dev branch.
AnalyticsET support for arbitrary Json events.
* AnalyticsET supports a new API, RecordEventJson.
* API supports rvalue refs to avoid unnecessary copies of the attribute array.
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2982707 by Wes.Hunt on 2016/05/18 17:22:20.
Remove Analytics code to divert legacy code to source data collector.
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2982716 by Wes.Hunt on 2016/05/18 17:27:25.
Analytics no longer adds IsEditor attribute to all events. Wasn't actually used by anyone anymore.
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2982723 by Wes.Hunt on 2016/05/18 17:29:40.
Modernize FAnalyticsEventAttribute usage.
Replaced FAnalyticsEventAttribute various ctors with a perfect forwarding one that can convert them to strings.
* The Name must be convertible to a string
* The value must be convertible to a string via an AnalyticsConversion::ToString() overload.
* Added/expanded the supported conversions to strings to analytics attribute values. See AnalyticsConversion.h which contains all the previously supported conversions and more.
Added MakeAnalyticsEventAttributeArray(), which uses variadic templates to create an array of event attributes inline, which can be passed to RecordEvent[Json] and efficiently taken ownership of:
RecordEvent("EventName", MakeAnalyticsEventAttributeArray(
"Attr1", false,
"Attr2", 42.0,
"Attr3", SomeMap,
"Attr4", SomeArray);
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2983780 by Wes.Hunt on 2016/05/19 13:51:48.
Added missing assignment copy/move ops to FAnalyticsEventAttribute. Doh, should have looked at more usages of PLATFORM_COMPILER_HAS_DEFAULTED_FUNCTIONS...
#AUTOMERGE using branch Orion-Dev-General-To-UE4-Dev-Framework of change#2983864 by Wes.Hunt on 2016/05/19 14:17:05.
Change 2989988 on 2016/05/25 by Wes.Hunt
Fix usage of FAnalyticsEventAttribute constructor using a bitfield that was invalidated by the change to make FAnalyticsEventAttribute use a perfect forwarding constructor. bitfields cannot be perfect-forwarded... :(
Change 2990493 on 2016/05/25 by Joe.Graf
Added tooltips to the collision analyzer's buttons
#CodeReview: james.golding
Change 2991064 on 2016/05/26 by James.Golding
- Remove many Animation headers from Engine.h
- Remove AnimationAsset.h from SkeletalMeshComponent.h, Character.h, CharacterMovementComponent.h
Change 2991113 on 2016/05/26 by Benn.Gallagher
Fixed edge case in random sequence player where we might trigger an extra loop when waiting on a blend to finish. And made it impossible for a shuffle list to start with the animation that is currently playing (seemingly duplicating the anim).
Change 2991163 on 2016/05/26 by Rolando.Caloca
DF - Rename and refactor some morph target compute shader in prep for interop with skin cache
Change 2991167 on 2016/05/26 by Jon.Nabozny
Add `#include "DataTable.h"` to GameplayTagsManager.h. FGameplayTagTableRow is derived from FTableRowBase which isn't necessarily included. This issue is hidden in most cases as "Engine.h" includes "DataTable.h".
Change 2991183 on 2016/05/26 by Wes.Hunt
Disable general forwarding constructor for AnalyticsEventAttribute for non arithmetic types, so they are free to choose other overloads more appropriately.
Change 2991199 on 2016/05/26 by Wes.Hunt
Drastically reducing the headers dependencies on analytics headers. Analytics headers no longer appear in PCH files, and rarely if ever appear in a header file.
IAnalyticsProviderModule.h only touches 8 source files.
Analytics.h only touches 8 source files.
IAnalyticsProvider.h only touches 5 headers and 97 source files.
AnalyticsET.h only touches 12 source files.
Change 2991301 on 2016/05/26 by James.Golding
Fix CIS for Fortnite
Change 2991319 on 2016/05/26 by James.Golding
Fix CIS for Orion
Change 2991373 on 2016/05/26 by Joe.Graf
Tweaked the tooltip text for the collision analyzer record button to be correct for both states
Added a common button style so that the buttons have a consistent look
#CodeReview: james.golding
Change 2991401 on 2016/05/26 by James.Golding
Fix UT CIS
Change 2991406 on 2016/05/26 by James.Golding
Fix Ocean CIS
Change 2991491 on 2016/05/26 by Lina.Halper
Moved MorphTarget.h
- Checked in modified functions fo AnimationRuntime for other features coming up
- Should not change any behavior of existing content
#code review: James.Golding, Rolando.Caloca
Change 2991494 on 2016/05/26 by Wes.Hunt
Fix for Unity error in AnalyticsET module after hedaer dependency reduction
Change 2991503 on 2016/05/26 by Jon.Nabozny
Fix issue where FConstraintInstance (inside UPhysicsConstraintComponent) is not editable in InstanceEditor but is editable in BlueprintEditor.
#JIRA UE-31267
Change 2991562 on 2016/05/26 by Zak.Middleton
#ue4 - Reduce allocations during movement and overlap queries and when grabbing shapes from physx actors.
Change 2991586 on 2016/05/26 by James.Golding
More CIS fixes for Orion and Fortnite
Change 2991673 on 2016/05/26 by Wes.Hunt
Another non-unity fix for Analytics include dependency reduction.
Change 2991733 on 2016/05/26 by Zak.Middleton
#dev - Test map, 50 walking dudes.
Change 2991781 on 2016/05/26 by Lina.Halper
Back out revision 15 from //UE4/Dev-Framework/Engine/Source/Runtime/Engine/Private/Animation/AnimationRuntime.cpp
- Back out a part of changes that I didn't mean to check in.
Change 2991922 on 2016/05/26 by Zak.Middleton
#ue4 - Maybe fix Mac build.
Change 2991957 on 2016/05/26 by Joe.Graf
Fixed the collision analyzer file open text (said project instead of collision)
Change 2991991 on 2016/05/26 by Lina.Halper
Fix compile error
Change 2992089 on 2016/05/26 by Zak.Middleton
#ue4 - Fix Mac/PS4 build.
Change 2992108 on 2016/05/26 by Wes.Hunt
Yet another non-unity fix for Analytics header inclusion reduction.
Change 2992190 on 2016/05/26 by Zak.Middleton
#ue4 - Mark FHitResult, FOverlapResult, FOverlapInfo as POD types. Avoids destructors etc when in TArrays.
Change 2992593 on 2016/05/27 by Martin.Wilson
Build fixes for non editor platforms
Change 2992885 on 2016/05/27 by Rolando.Caloca
DF - Fix crash on thumbnails
#jira UE-31398
Change 2993058 on 2016/05/27 by Lukasz.Furman
fixed behavior tree getting stuck on ResumeLogic call
#jira OR-22498
Change 2993064 on 2016/05/27 by Zak.Middleton
#ue4 - Fix root motion network corrections not clearing root motion data.
udn: https://udn.unrealengine.com/questions/294985/jittering-in-character-movement-during-networked-m.html
#jira UE-31316
Change 2993215 on 2016/05/27 by Lukasz.Furman
gameplay debugger fixes: navmesh rendering is not hidden after disabling tool, player stuck in spectator mode after disabling tool, confusing version description for categories without data packs
added replicated input bindings for debugger's categories
#ue4
Change 2993521 on 2016/05/27 by Zak.Middleton
#ue4 - Reduce allocations in UI Canvas items.
Change 2993995 on 2016/05/30 by Mieszko.Zielinski
Temporary fix for BBKeySelector not handling properly multiple UObject subtypes #UE4
#jira UE-31435
Change 2993998 on 2016/05/30 by Mieszko.Zielinski
Improves handling of a special case in EQS score normalization, where all items have the same score #UE4
We used to set the normalized score of 1 for all items, which was counter intuitive if all items have scored 0 in an unnormalized test. The improve handling detects that and assigns score of 0 in that case.
Change 2993999 on 2016/05/30 by Mieszko.Zielinski
Fixed FEQSParametrizedQueryExecutionRequest converting non-BB values into EQS params wrong #UE4
Change 2994000 on 2016/05/30 by Mieszko.Zielinski
Exposed UNavigationInvokerComponent as part of ENGINE_API so that it can be spawned procedurally in C++ in game specific code #UE4
Change 2994003 on 2016/05/30 by Mieszko.Zielinski
Fixed naming of console variable controllin v-logging of FGameplayAttribute #UE4
The old name was copy-pasted from somewhere.
Change 2994007 on 2016/05/30 by Mieszko.Zielinski
Fixed unregistering listeners from perception system not clearing up all data #UE4
Also, introduced two precisely named functions, GetCurrentlyPerceivedActors and GetKnownPerceivedActors to replace ambiguous GetPerceivedActors
Also, renamed UAIPerceptionComponent::TActorPerceptionContainer to UAIPerceptionComponent::FActorPerceptionContainer
Change 2994475 on 2016/05/31 by Wes.Hunt
Fix Unity build failure for analytics inclusion reduction for IOSFlurry.
[CL 2994701 by Marc Audy in Main branch]
2016-05-31 13:51:34 -04:00
|
|
|
, bOffsetPlayerGamepadIds(false)
|
2014-05-08 21:34:16 -04:00
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UGameNetworkManagerSettings::UGameNetworkManagerSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UGameSessionSettings::UGameSessionSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UGeneralEngineSettings::UGeneralEngineSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UGeneralProjectSettings::UGeneralProjectSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
Copying //UE4/Orion-Staging to //UE4/Main (Source: //Orion/Dev-General @ 3064255)
#lockdown Nick.Penwarden
Change 3063869 on 2016/07/25 by Michael.Noland@mnoland_T2801_OrionStream
Engine: Added a cvar (t.FPSChart.OpenFolderOnDump) to control whether or not FPS charts automatically open the profiling folder when stopfpschart is executed, which can be useful to avoid a bunch of open windows while doing automated testing
#rb marcus.wassmer
#tests Tested startfpschart + stopfpschart with t.FPSChart.OpenFolderOnDump set to 1 and 0
#codereview david.nikdel
Change 3063829 on 2016/07/25 by Michael.Noland@mnoland_T2801_OrionStream
Core: Added an optional size to MallocLeak Stop and made the default filter size 128 KB for both MallocLeak Dump and MallocLeak Stop if no size was specified
#rb marcus.wassmer
#tests Tested using MallocLeak Stop and MallocLeak Dump
Change 3063825 on 2016/07/25 by Michael.Noland@mnoland_T2801_OrionStream
Engine: Exposed GPU revision ID as GRHIDeviceRevision and added it to the FPS chart analytics (gathered on D3D11 and D3D12 only)
#rb marcus.wassmer
#tests Tested on my desktop and compared to dxdiag output
Change 3063702 on 2016/07/25 by Ryan.Gerleve@Ryan.Gerleve_T3703_Orion
Collect garbage when scrubbing in a replay. Scrubbing generates a lot of garbage, and can lead to running out of memory.
Can be disabled with the cvar demo.LoadCheckpointGarbageCollect.
#jira OR-25964
#tests bug repro
#rb john.pollard
Change 3063426 on 2016/07/25 by Michael.Trepka@Michael.Trepka_T3244_Orion-Dev
Borderless window support improvements:
- the cursor changes to resize when hovering over the window edge
- added a way for widgets to register a delegate that's called when window actions occur (maximize, restore, etc.)
- used he window action notification for WindowTitleBarArea to improve how toggling fullscreen on double click is handled
#rb Jeff.Campeau
#tests Tested in editor build on PC
Change 3063358 on 2016/07/25 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 29.2 @ CL 3063307
#RB:none
#tests:none
#ROBOMERGE-SOURCE: CL 3063345 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3063353 on 2016/07/25 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ben.marsh
Merging CL 3037547 and CL 3037552 from //UE4/Dev-Build to support BuildPatchTool analytics.
#rb none
#tests none
#ROBOMERGE-SOURCE: CL 3063156 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3063198 on 2016/07/25 by Matt.Kuhlenschmidt@matt.kuhlenschmidt_orion_dev
Temp fix for broken post process volumes
#rb none
#tests none
Change 3063166 on 2016/07/25 by Daniel.Lamb@daniel.lamb_T3905_6612
Added check to Redirect collector resolve string asset references.
#rb none
#test cook paragon
Change 3063057 on 2016/07/25 by Michael.Trepka@Michael.Trepka_T3244_Orion-Dev
Use round corners for windows with no system title bar and border only in windowed mode.
#rb Peter.Sauerbrei
#tests Tested in editor build on PC
Change 3063015 on 2016/07/25 by Andrew.Rodham@Andrew.Rodham_Orion
Sequencer: Fixed anim notifies not working when playing animation on blueprint-driven skeletal meshes
We now inject a new animation position into the animation system, rather than trying to 'fake' events outside of the system. This allows for much more robust event triggering when playing back through sequencer. Previously, anim notifies for trail particles would be reset every frame due to TriggerAnimNotifies being called by the animation system, and sequencer. We now defer this responsibility to the animation system entirely during playback.
#tests Tested sequencer driven animation with animation assets and (compatible) animation blueprints. Tested some non-sequencer animation.
#rb Benn.Gallagher
Change 3062774 on 2016/07/24 by Ben.Marsh@Ben.Marsh_T3245_Orion
BuildGraph: Fix <Cook> tasks failing when multiple platforms are specified, due to not scanning the output directories separately.
#rb none
#tests preflight
Change 3062761 on 2016/07/24 by Andrew.Grant@andrew.grant.T6730.orion.floating
Non-unity fix
#rb none
#tests compiled
Change 3062324 on 2016/07/22 by Marcus.Wassmer@Marcus.Wassmer_Orion_DevGeneral
Skipped a file
#rb none
#test none
Change 3062315 on 2016/07/22 by Marcus.Wassmer@Marcus.Wassmer_Orion_DevGeneral
Allow r.SSR.MaxRoughness in shipping builds.
Art has been tweaking with this value, but it's not being honored in shipping.
#rb none
#tests adjusted settings in agora_p
Change 3062306 on 2016/07/22 by Marcus.Wassmer@Marcus.Wassmer_Orion_DevGeneral
HLOD distance scalability option (r.HLOD.DistanceScale)
Higher values make HLODS transition further away.
#rb Michael.Noland
#tests Tested in agora_p
Change 3061861 on 2016/07/22 by Lina.Halper@Lina.Halper_Orion
Fix Compression - Reduce functions to be editoronly
#rb: Martin.Wilson
#tests: PIE/compile editor build/noneditor
Change 3061714 on 2016/07/22 by Andrew.Rodham@Andrew.Rodham_Orion
Sequencer: Fixed anim trails not playing in full, sequencer-driven animation.
There were 2 issues here. Firstly, we were force-handling events and anim notifies in non-preview animation which caused undefined behaviour when the animation was also updated on tick. Secondly, On the very first frame of a game, sequencer can sometimes use the PreviewSetMatineeAnimPositionInner method because the actor it is referencing has not begun play yet. Unfortunately this function left the animation in a state where the 'real' animation update function wouldn't trigger any anim notifies properly.
#tests Tested animation with and without anim trails to verify they work in editor, PIE and standalone game with and without sequencer open. Rendered out the announce trailer before and after my changes to verify there was no change in behaviour.
#jira OR-25967
#review-3061494 @Max.Chen
#rb Benn.Gallagher
Change 3061393 on 2016/07/22 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: sam.zamani
compile errors
#rb none
#tests compile
#ROBOMERGE-SOURCE: CL 3061392 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3061384 on 2016/07/22 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: andrew.grant
Fixed build breakage
#rb none
#tests compiled PS4 client
#ROBOMERGE-SOURCE: CL 3061383 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3060894 on 2016/07/21 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ian.fox
#Orion, #OnlineSubsystem, #OnlineGameplayFramework - Game catalog supports Price Engine sales on real-money offers
#rb Sam.Zamani
#tests Real-money offers that are on sale show the correct sale price / discount display
#jira OR-21659
#ROBOMERGE-SOURCE: CL 3060891 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3060272 on 2016/07/21 by Lina.Halper@Lina.Halper_Orion
Fix compile issue of non editor build
#rb: none
#tests: compile
Change 3060161 on 2016/07/21 by Marcus.Wassmer@Marcus.Wassmer_Orion_DevGeneral
Duplicate 3046845
CVAR threading crash fix.
#rb none
#tests compiled, ran ps4
Change 3060012 on 2016/07/21 by Lina.Halper@Lina.Halper_Orion
- Back out changelist 3056611
- Fix additive issue and built the new animation DDC
#rb: Martin.Wilson
#tests: Jump_Recovery_Additive, PIE
Change 3060009 on 2016/07/21 by Rob.Cannaday@rob.cannaday_orion-stream
When receiving NotLeader party join rejection, include the new leader id and re-attempt the join to the new leader
#jira OR-25648
#rb bart.bressler
#tests frontend parties with promotions, coop matchmaking
Change 3059989 on 2016/07/21 by Andrew.Grant@andrew.grant.T6730.orion.floating
Fixes for applocal redist
#rb none
#test built locally
Change 3059832 on 2016/07/21 by Martin.Wilson@MartinWilsonOrionStream
Fix graph linked external object saving error on re-compressed animations (dup from dev-framework CL )
#jira UE-33567
#rb Thomas.Sarkanen
#tests In editor testing that animations can be recompressed and saved
Change 3059803 on 2016/07/21 by Andrew.Grant@andrew.grant.T6730.orion.floating
Switching Orion, UnrealCEFSubProcess, and CrashReporterClient to build with VS2015
Added AppLocalPrerequisitesDirectory editor setting that is passed in -applocaldir during staging
WinPlatformAutomation now stages applocaldir to project and engine binaries
Updated OrionBuild.xml to specify -applocaldir
#codereview Jeff.Campeau, Ben.Marsh
#rb none
#tests build client locally and verified DLLs are local to executables
Change 3059707 on 2016/07/21 by David.Ratti@David.Ratti_G6218_Orion.Dev-General
fix case where DefaultGameplayTags.ini fails to update if not checked out from source control
#rb none
#tests add tags without source control
Change 3059679 on 2016/07/21 by Rob.Cannaday@rob.cannaday_orion-stream
Fix nonunity compile error due to OnlinePresenceInterface.h requiring enum defined in OnlineSubsystemTypes.h
#rb paul.moore
#tests compile with OrionFriendItem.cpp modified
Change 3059518 on 2016/07/21 by Andrew.Grant@andrew.grant.T6730.orion.floating
AppLcoalDependencies required by VS2015
Change 3059477 on 2016/07/21 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 29.2 @ CL 3059419
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 3059476 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3059455 on 2016/07/21 by Graeme.Thornton@GThornton_Orion_DevGeneral
Linux build fix (bad case on #include filename)
#rb robert.manuszewski
#tests compiled Paragon on a linux machine
Change 3059258 on 2016/07/21 by Simon.Tovey@Simon.Tovey_OrionDev
Implementing 3050352 in Dev-General.
#rb none
#tests Editor
#codereview Marcus.Wassmer
Change 3058989 on 2016/07/21 by Michael.Noland@mnoland_T2801_OrionStream
Audio: Disabling the audio thread to prevent a crash in async line trace code (it is already disabled in UE4 main)
#rb none
#codereview andrew.grant, ori.cohen
Change 3058773 on 2016/07/20 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ian.fox
#Orion - Remove QoS* from junk manifest
#review-3058772 @Rob.Cannaday
#rb none
#tests QoS module doesn't get nuked every build
#ROBOMERGE-SOURCE: CL 3058771 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3058717 on 2016/07/20 by Daniel.Lamb@daniel.lamb_T3905_6612
Added submitted CL to success email for rebuild lighting commandlet.
Removed nosimplygon from resave lighting commandlet commandline.
#rb Daniel.Wright
#test rebuildlighting paragon devgeneral.
Change 3058565 on 2016/07/20 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ian.fox
#Orion - Fix debug/non-development builds
#rb Rob.Cannaday
#tests it builds (and doesn't crash on login) on Debug Editor -debug -game!
#ROBOMERGE-SOURCE: CL 3058563 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3058082 on 2016/07/20 by Daniel.Lamb@daniel.lamb_T3905_6612
Added error to the lighting build whent it fails to build.
#test Rebuild lighting commandlet
#rb Daniel.Wright
Change 3057945 on 2016/07/20 by Andrew.Grant@andrew.grant.T6730.orion.floating
Fix for NAN issue introduced in 3032847
#rb Jeff.Farris
#tests none
Change 3057840 on 2016/07/20 by David.Ratti@David.Ratti_G6218_Orion.Dev-General
fix developer tags not properly adding to perforce when creating a new file
#rb none
#tests developer tags
Change 3057553 on 2016/07/20 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 29.2 @ CL 3057330
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 3057549 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3057313 on 2016/07/20 by bruce.nesbit@BNesbit_Orion_Stream_1
Fixed shadowvariable in FAnalyticsEventEntry
#rb none
#tests compiled
#codereview Wes.Hunt
Change 3056802 on 2016/07/19 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ryan.gerleve
Fix issue where replicated map-placed actors with ability system components would cache an incorrect Role value.
This could cause predicted gameplay effects in the fast TArray to have MarkItemDirty called on them, which in turn increments the item's ReplicationID, potentially causing a conflict with the server's ReplicationID.
Since the Role may not be correct during OnRegister for these components, also cache it BeginPlay.
#jira OR-25234
#rb david.ratti
#tests golden path, bug repro
#ROBOMERGE-SOURCE: CL 3056801 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3056797 on 2016/07/19 by Wes.Hunt@WHUNT-ORION-STREAM
OrionAnalytics updates.
* Added IAnalyticsProviderET::SetDefaultEventAttributes to use to set the GameSessionID on all Orion Analytics events.
* Removed OrionAnalyticsProvider as it was no longer necessary.
* Updated all Orion code to use IAnalyticsProviderET directly in the code to be able to access all the new APIs.
#rb sam.zamani, jason.bestimt
#tests run dedicated server with 10 bot clients, observe analytics events sending correctly. Ran PIE.
#jira UE-30980
Change 3056611 on 2016/07/19 by Lina.Halper@Lina.Halper_Orion
Fix for additive broken with remove linear key
- DDC key has been changed, so it will require to build DDC from this
#rb: Martin.Wilson
#tests: Jump_Recovery_Additive in editor, and PIE
Change 3056226 on 2016/07/19 by Lukasz.Furman@Lukasz.Furman_T7320_OrionStream
extended gameplay debugger's ability category to show locally owned gameplay tags
#orion
#rb none
#tests PIE
Change 3056204 on 2016/07/19 by Jeff.Campeau@jeff.campeau_3753_Orion
Fix offset rendering of maximized borderless game window on Windows.
#review-3055205 @michael.trepka
#rb Michael.Trepka
#tests Tested in editor build on PC (editor window normal and maximized, game window borderless normal and maximized, game window bordered normal and maximized).
Change 3056028 on 2016/07/19 by Rob.Cannaday@rob.cannaday_orion-stream
Add moved modules to JunkManifest.txt
Change 3055650 on 2016/07/19 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - ACTUAL Merge 29.2 @ CL 3055553
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 3055647 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3055620 on 2016/07/19 by Dmitry.Rekman@RCL_Win_Stream-ORMAIN
Attempts to fix rare server crashes (OR-24947, OR-24952).
- Rearranging to avoid AddDefaulted(), that might be triggering a compiler bug (conjecture).
#rb Steve.Robb
#codereview Steve.Robb
#tests Compiled Windows client and Linux server, played a match.
Change 3054587 on 2016/07/18 by Andrew.Grant@andrew.grant.T6730.orion.floating
Merging from //UE4/Main @ 3043787 through //UE4/Orion-Staging
#rb none
#tests Smoked by engine and dev QA
Change 3054491 on 2016/07/18 by Frank.Gigliotti@Frank.Gig_T4217_Orion_Stream
Removed warning when client miss-predicts ability activation.
* It is valid for the client to miss-predict. Warning was only added to track down a bug.
#CodeReview David.Ratti
#RB None
#Tests None
Change 3053850 on 2016/07/18 by David.Ratti@David.Ratti_G6218_Orion.Dev-General
Missed checkins on ability system engine work:
-Register debug delegate on module startup for easier debugging
-Fallback to actor location if no hit impact is specified in default engine GC notify class
#rb none
#tests ability system sample project
Change 3053825 on 2016/07/18 by David.Ratti@David.Ratti_G6218_Orion.Dev-General
Fix issue where config file not actually flushed at right time when adding new tags
Fix issue where orion projecetile tags that are auto generated was generating tags for non gameplay tag properties
#rb DanY
#codereview Dan.Youhon
#tests pie
Change 3053438 on 2016/07/18 by David.Ratti@David.Ratti_G6218_Orion.Dev-General
-Remove developer tags from master tag list before saving to ini file
-inline some stuff (wip for gc tag translator system)
#rb none
#test adding tags
Change 3053414 on 2016/07/18 by Robert.Manuszewski@Robert_Manuszewski_NCL_Orion
Fixing rare crash when async loading objects caused by linker being detached too early (before other package's import has been fully processed)
#jira OR-24955
#jira OR-25183
#rb Graeme.Thornton
#tests Win64 cooked client golden path (solo vs AI)
Change 3052009 on 2016/07/15 by Dmitry.Rekman@RCL_Win_Stream-ORMAIN
Overhaul of behavior of headless applications (server, client) (OR-23529).
- Removed FApp::ShouldUseNullRHI(). Rationale: FApp::CanEverRender() answers a higher level question and the code shouldn't predicate on the type of RHI used.
- Multiple code paths updated to prevent code execution on headless clients (some of this is optimization, some was causing crashes).
- Most of these changes originated from a shelved CL by BradA.
#rb Michael.Noland
#codereview Michael.Noland, Brad.Angelcyk, Andrew.Grant, Chris.Wood, Matt.Schembari
#tests Cooked Windows client and server, Linux client and server. Ran Windows client and server, played a match, ran Linux bot (headless client, requires local changes not in this CL), ran the Windows editor (tried PIE).
Change 3051926 on 2016/07/15 by Marcus.Wassmer@Marcus.Wassmer_Orion_DevGeneral
Reinstate color grading changes.
Fix broken config file.
#rb none
#tests Agora_p color grading and warning check
Change 3051759 on 2016/07/15 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ryan.gerleve
Don't record predicted elements of fast TArrays into client replays.
Fixes issue where the client was incrementing the ReplicationID of predicted elements, potentially conflicting with the IDs of elements received by the server.
#jira OR-25234, OR-25413, OR-25403
#tests golden path, bug repo using 'net pktlag', replays
#rb john.pollard, david.ratti
#ROBOMERGE-SOURCE: CL 3051758 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3051702 on 2016/07/15 by Daniel.Lamb@daniel.lamb_T3905_6612
Added jordan walker to rebuild lighting emails.
Removed peter.sauerbrei.
#rb Peter.Sauerbrei
#test none
Change 3051661 on 2016/07/15 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ben.marsh
Merging support for precompiled binaries in CIS from Release-29.
#rb none
#tests none
#ROBOMERGE-SOURCE: CL 3051660 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3051466 on 2016/07/15 by Marcus.Wassmer@Marcus.Wassmer_Orion_DevGeneral
Allow seamless upgrade from FVector -> FVector4 for UProperties.
#rb Robert.Manuszewski
#tests Color grading property changes.
Change 3050680 on 2016/07/14 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ian.fox
#Mcp, #Orion - Fix initalization values of CatalogServiceMcp
#rb none
#tests Real money offers show in the store again
#ROBOMERGE-SOURCE: CL 3050563 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3050520 on 2016/07/14 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - MERGING DUI @ CL 3047139
#RB:none
#Tests:none
[CodeReviewed]: kerrington.smith, dan.hertzka, matt.schembari, benjamin.crocker, jaymee.stanford, alex.conner
#ROBOMERGE-SOURCE: CL 3050519 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3050465 on 2016/07/14 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: ryan.gerleve
Don't check IsClientOnly() to detemine whether a player controller is local or not.
For client replay recording, the replay spectator controller should not return true from IsLocallyControlled(). This change fixes that case in client builds.
Fixes issue where the SignificanceManager was using the replay spectator to influence significance values, causing them to be incorrect for the game player controller.
#jira OR-25258
#tests bug repro, golden path, replays
#rb john.pollard
[CodeReviewed] zak.middleton, josh.markiewicz
#ROBOMERGE-SOURCE: CL 3050462 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3050326 on 2016/07/14 by Dan.Youhon@Dan.Youhon.Paragon
Set CameraLensEffects position before activation so that initial significance values are correct, specifically to fix quick camera lens effects being culled out due to incorrect significance #OR-18321
- Moves location determination code from AEmitterCameraLensEffectBase::UpdateLocation into a separate static GetAttachedEmitterTransform function, which is now called both from UpdateLocation and in APlayerCameraManager::AddCameraLensEffect to determine SpawnTransform for the LensEffect SpawnActor call
- Unshelved from Jeff.Farris. Thanks Jeff!
#rb Dan.Youhon
#tests MultiPIE
#codereview Jeff.Farris
Change 3049749 on 2016/07/14 by Daniel.Lamb@daniel.lamb_T3905_6612
Added skipskin verify to rebuild lighting commandlet.
#rb None
#test Rebuild lighting commandlet
Change 3049728 on 2016/07/14 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: buildmachine
Remove simplygon from rebuild lighting commandlet
#rb none
#test rebuild lighting
#ROBOMERGE-SOURCE: CL 3049727 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3049721 on 2016/07/14 by buildmachine@buildmachine_Z4560_OrionDevGeneral
Remove simplygon from rebuild lighting commandlet
#rb none
#test rebuild lighting
Change 3049325 on 2016/07/13 by Andrew.Grant@andrew.grant.T6730.orion.floating
Back out changelist 3049037 due to incompatibility with current assets
#rb none
#tests Cooked content and verified warnings & errors are gone.
#codereview Marcus.Wasmer, Brian.Karis, HaarmPieter.Duiker
Change 3049319 on 2016/07/13 by Andrew.Grant@andrew.grant.T6730.orion.floating
More work on content filtering (still disabled)
#rb none
#tests cooked content and verified filtered content is not found.
Change 3049298 on 2016/07/13 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 28.2/29 @ CL 3049113
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 3049296 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
Change 3049269 on 2016/07/13 by Mieszko.Zielinski@mieszko.zielinski_T4675_Orion
Constified FObjectFinder::Succeeded because why not #UE4
#rb none
#test golden path
Change 3049104 on 2016/07/13 by Andrew.Grant@andrew.grant.T6730.orion.floating
Created delegate for object name resolution and moved existing package localization code to use it.
Orion code to filter out unreleased heroes and other data, but correnty disabled due to a cooking bug.
#rb none
#tests ran editor, ran cooker, verified object resolution is equivalent to before.
Change 3049037 on 2016/07/13 by HaarmPieter.Duiker@HPD-Dev-General
Adding shadows, midtones and highlights color correction controls
#rb brian.karis, marcus.wassmer
#tests "postprocess color correction"
Change 3048457 on 2016/07/13 by Cody.Haskell@OrionStream
#UE4
- Adding a delegate that fires off when LastUserInteractionTime is updated
#codereview Matt.Kuhlenschmidt
#rb none
#tests PIE
Change 3048420 on 2016/07/13 by Dmitry.Rekman@RCL_Lnx_CaseIns_Stream-ORMAIN
Fix double #undef LOCTEXT_NAMESPACE in editor case.
#rb none
#codereview Nick.Darnell, Andrew.Grant
#tests Compiled Linux editor (for running -server).
Change 3047891 on 2016/07/13 by Michael.Trepka@Michael.Trepka_T3244_Orion-Dev
Rollback //Orion/Dev-General/Engine/Source/Runtime/Core/Private/Windows/WindowsWindow.cpp to revision 12
#rb none
#tests Tested in editor on PC
Change 3047216 on 2016/07/12 by Dmitry.Rekman@RCL_Lnx_CaseIns_Stream-ORMAIN
Changes to Linux application specific to Linux client.
#rb none
#codereview Brad.Angelcyk
#tests Ran Paragon Linux client (headless) locally.
Change 3047140 on 2016/07/12 by Andrew.Grant@andrew.grant.T6730.orion.floating
Fix for PS4
#rb #tests na
Change 3047107 on 2016/07/12 by Andrew.Grant@andrew.grant.T6730.orion.floating
Moved timeguards out of stats.h
#rb none
#tests compiled editor & shipping client
Change 3046996 on 2016/07/12 by Ryan.Gerleve@Ryan.Gerleve_T3703_Orion
Don't check bTearOff when deciding whether to swap roles for client replay recording and improve the comment.
Fixes an assert that could occur if a torn-off actor happened to get recorded into a checkpoint of a client replay.
#tests golden path
#rb john.pollard
Change 3046975 on 2016/07/12 by Michael.Trepka@Michael.Trepka_T3244_Orion-Dev
Support for making the game window borderless (no system border or title bar). Disabled by default. Enabling requires adding bUseBorderlessWindow=True to [/Script/EngineSettings.GeneralProjectSettings] in DefaultGame.ini. The game using this is responsible for adding WindowTitleBarArea widget to its UI, as well as window minimize/maximize/close buttons.
#codereview Dan.Hertzka
#rb Jeff.Campeau
#tests Tested in editor build on PC
Change 3046812 on 2016/07/12 by Michael.Trepka@Michael.Trepka_T3244_Orion-Dev
New UI for selecting fullscreen mode in Paragon video settings
#rb Dan.Hertzka
#tests Tested in editor build on PC
Change 3046803 on 2016/07/12 by Michael.Trepka@Michael.Trepka_T3244_Orion-Dev
Added an option to WindowTitleBarArea widget to make it toggle fullscreen mode instead of maximizing the window.
#rb Dan.Hertzka
#tests Tested in editor build on PC
Change 3045374 on 2016/07/11 by John.Pollard@John.Pollard_T2802_Orion_DevGeneral
Fix assert in channel cleanup code that could occur if the connection was cleaned up, and there were KeepProcessingActorChannelBunchesMap in-flight still
#rb RyanG
#tests Replays
Change 3044696 on 2016/07/11 by Daniel.Lamb@daniel.lamb_T3905_6612
Added additional checks to ResavePackagesCommandlet so people don't miss the required allowcommandletrendering flag when using buildlighting option.
#test rebuild lighting using resave packages paragon
#rb None
Change 3044690 on 2016/07/11 by Daniel.Lamb@daniel.lamb_T3905_6612
Changed MBWritten cooker stats to report mb instead of bytes...
#rb Wes.Hunt.
#test cook paragon.
Change 3044439 on 2016/07/11 by Jason.Bestimt@Robomerge_Orion_DevGeneral
#ROBOMERGE-AUTHOR: jason.bestimt
#ORION_MAIN - Merge 28.2 @ CL 3043960
#RB:none
#Tests:none
#ROBOMERGE-SOURCE: CL 3044428 in //Orion/Main/...
#ROBOMERGE-BOT: ORION (Main -> Dev-General)
[CL 3070724 by Andrew Grant in Main branch]
2016-07-29 17:10:25 -04:00
|
|
|
, bShouldWindowPreserveAspectRatio(true) , bUseBorderlessWindow(false)
|
2014-03-14 14:13:41 -04:00
|
|
|
{ }
|
|
|
|
|
|
|
|
|
|
|
2014-10-14 10:29:11 -04:00
|
|
|
UHudSettings::UHudSettings( const FObjectInitializer& ObjectInitializer )
|
|
|
|
|
: Super(ObjectInitializer)
|
2014-03-14 14:13:41 -04:00
|
|
|
{ }
|
|
|
|
|
|
2014-05-08 21:34:16 -04:00
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
/* Static functions
|
|
|
|
|
*****************************************************************************/
|
|
|
|
|
|
2016-03-11 09:55:03 -05:00
|
|
|
const FString UGameMapsSettings::GetGameDefaultMap( )
|
2014-03-14 14:13:41 -04:00
|
|
|
{
|
|
|
|
|
return IsRunningDedicatedServer()
|
2016-03-11 09:55:03 -05:00
|
|
|
? GetDefault<UGameMapsSettings>()->ServerDefaultMap.GetLongPackageName()
|
|
|
|
|
: GetDefault<UGameMapsSettings>()->GameDefaultMap.GetLongPackageName();
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const FString& UGameMapsSettings::GetGlobalDefaultGameMode( )
|
|
|
|
|
{
|
2014-06-10 11:08:37 -04:00
|
|
|
UGameMapsSettings* GameMapsSettings = Cast<UGameMapsSettings>(UGameMapsSettings::StaticClass()->GetDefaultObject());
|
|
|
|
|
|
|
|
|
|
return IsRunningDedicatedServer() && GameMapsSettings->GlobalDefaultServerGameMode.IsValid()
|
2014-07-22 08:14:39 -04:00
|
|
|
? GameMapsSettings->GlobalDefaultServerGameMode.ToString()
|
|
|
|
|
: GameMapsSettings->GlobalDefaultGameMode.ToString();
|
2014-03-14 14:13:41 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void UGameMapsSettings::SetGameDefaultMap( const FString& NewMap )
|
|
|
|
|
{
|
|
|
|
|
UGameMapsSettings* GameMapsSettings = Cast<UGameMapsSettings>(UGameMapsSettings::StaticClass()->GetDefaultObject());
|
|
|
|
|
|
|
|
|
|
if (IsRunningDedicatedServer())
|
|
|
|
|
{
|
|
|
|
|
GameMapsSettings->ServerDefaultMap = NewMap;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
GameMapsSettings->GameDefaultMap = NewMap;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-09-16 10:40:34 -04:00
|
|
|
void UGameMapsSettings::SetGlobalDefaultGameMode( const FString& NewGameMode )
|
|
|
|
|
{
|
|
|
|
|
UGameMapsSettings* GameMapsSettings = Cast<UGameMapsSettings>(UGameMapsSettings::StaticClass()->GetDefaultObject());
|
|
|
|
|
|
|
|
|
|
GameMapsSettings->GlobalDefaultGameMode = NewGameMode;
|
|
|
|
|
}
|
|
|
|
|
|
2016-03-11 09:55:03 -05:00
|
|
|
// Backwards compat for map strings
|
|
|
|
|
void FixMapAssetRef(FStringAssetReference& MapAssetReference)
|
|
|
|
|
{
|
|
|
|
|
const FString AssetRefStr = MapAssetReference.ToString();
|
|
|
|
|
int32 DummyIndex;
|
|
|
|
|
if (!AssetRefStr.IsEmpty() && !AssetRefStr.FindLastChar(TEXT('.'), DummyIndex))
|
|
|
|
|
{
|
|
|
|
|
FString MapName, MapPath;
|
|
|
|
|
AssetRefStr.Split(TEXT("/"), &MapPath, &MapName, ESearchCase::IgnoreCase, ESearchDir::FromEnd);
|
|
|
|
|
MapAssetReference.SetPath(FString::Printf(TEXT("%s/%s.%s"),*MapPath, *MapName, *MapName));
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
void UGameMapsSettings::PostInitProperties()
|
|
|
|
|
{
|
|
|
|
|
Super::PostInitProperties();
|
|
|
|
|
|
|
|
|
|
FixMapAssetRef(EditorStartupMap);
|
|
|
|
|
FixMapAssetRef(GameDefaultMap);
|
|
|
|
|
FixMapAssetRef(ServerDefaultMap);
|
|
|
|
|
FixMapAssetRef(TransitionMap);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void UGameMapsSettings::PostReloadConfig( UProperty* PropertyThatWasLoaded )
|
|
|
|
|
{
|
|
|
|
|
if (PropertyThatWasLoaded)
|
|
|
|
|
{
|
|
|
|
|
if (PropertyThatWasLoaded->GetFName() == GET_MEMBER_NAME_CHECKED(UGameMapsSettings, EditorStartupMap))
|
|
|
|
|
{
|
|
|
|
|
FixMapAssetRef(EditorStartupMap);
|
|
|
|
|
}
|
|
|
|
|
else if (PropertyThatWasLoaded->GetFName() == GET_MEMBER_NAME_CHECKED(UGameMapsSettings, GameDefaultMap))
|
|
|
|
|
{
|
|
|
|
|
FixMapAssetRef(GameDefaultMap);
|
|
|
|
|
}
|
|
|
|
|
else if (PropertyThatWasLoaded->GetFName() == GET_MEMBER_NAME_CHECKED(UGameMapsSettings, ServerDefaultMap))
|
|
|
|
|
{
|
|
|
|
|
FixMapAssetRef(ServerDefaultMap);
|
|
|
|
|
}
|
|
|
|
|
else if (PropertyThatWasLoaded->GetFName() == GET_MEMBER_NAME_CHECKED(UGameMapsSettings, TransitionMap))
|
|
|
|
|
{
|
|
|
|
|
FixMapAssetRef(TransitionMap);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
FixMapAssetRef(EditorStartupMap);
|
|
|
|
|
FixMapAssetRef(GameDefaultMap);
|
|
|
|
|
FixMapAssetRef(ServerDefaultMap);
|
|
|
|
|
FixMapAssetRef(TransitionMap);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2014-03-14 14:13:41 -04:00
|
|
|
|
|
|
|
|
IMPLEMENT_MODULE(FEngineSettingsModule, EngineSettings);
|