UE-4916
#change Replaced CLASS_Temporary (UHT-only flag) with CLASS_Constructed to check if a class needs to be constructed or not in generated code
#change Modified code generator to make sure UClasses don't get reconstructed if not required
[CL 2351525 by Robert Manuszewski in Main branch]
In order to use new feature user have to change GENERATED_UCLASS_BODY() macro to the new GENERATED_BODY(). Then no constructor is implicitly declared. If there is no constructor declared in UCLASS then PCIP one is declared and defined that passes PCIP down to super-class. On the other hand if there is a constructor declared then UObject system expects to have one of the default or PCIP constructor to initialize a class during loading from disk, default object creation, etc. and it expects that user will declare and define one.
There is a possibility now to create UCLASS with the default constructor (i.e. no PCIP).
New macro is encouraged by standard classes and in-editor wizards templates.
#codereview Robert.Manuszewski
[CL 2325282 by Jaroslaw Palczynski in Main branch]
* InterfaceCast deprecation version number changed to 4.6.
* Double-underscored identifiers replaced with names which aren't reserved.
#codereview robert.manuszewski,mike.fricker
[CL 2314098 by Steve Robb in Main branch]
* Cast can be used for every UClass/interface cast:
- Up/down UObject hierarchy.
- From interfaces to UObjects.
- From UObjects to interfaces.
- Between interfaces.
* InterfaceCast has been deprecated.
* dynamic_cast can now be used instead of Cast.
* dynamic_cast between two UType pointers will be equivalent to Cast, but with dynamic_cast syntax and semantics.
* dynamic_cast of references is equivalent to a CastChecked - if it fails, it will fatally log rather than throw a std::bad_cast exception (UE doesn't support exceptions).
* If the two types involved are not UTypes, it should continue to act like a normal dynamic_cast.
* dynamic_cast<void*> works as expected.
* All/many Casts in CoreUObject changed to dynamic_cast to show this behaviour.
* Some refactoring.
#codereview robert.manuszewski,mike.fricker
[CL 2312800 by Steve Robb in Main branch]
#change Added code to make sure the script package is created before UEnums and UStructs get registered
[CL 2306655 by Robert Manuszewski in Main branch]
- Fixed a couple issues with Android fat binaries (cleaning and obb being archived multiple times)
- Touched Engine.h to force a UHT refresh
#codereview Robert.Manuszewski
[CL 2305487 by Josh Adams in Main branch]
Includes the following engine-level changes (among others; biggest change is enabling world assets by default):
CL 2252857
added dynamic allocations for path finding, removed hardcoded limit of 128 polys in path corridor
CL 2256142
Added support for native arrays in JSON object converter.
- Permissive in treating arrays of size 1 and scalars as equivalent
- Excess elements in JSON are ignored. Serialization succeeds but a warning is logged
CL 2256073
Fixed a bug in ARecastNavMesh::BatchRaycast resulting in NaN hit locations
CL 2253797
#UE4 More aggressively setting RF_Public and RF_Standalone flags on maps and ensuring world names match package names. This is necessary because umaps are currently being managed outside of the content browser and it is causing a few issues. Also, packages containing maps now synthesize asset data when the package contains absolutely no asset data (probably because the UWorld in it was not RF_Public at the time it was saved due to a previous bug).
CL 2258142
#UE4 Added a GC during map load that reclaims memory allocated during load/init. This is needed to finish the load on low-memory devices in games that allocate more memory after load.
CL 2247003
Added homing to ProjectileMovementComponent
- Homing requires both a bool and a target component to be set, the strength is determined by a customizable variable
- Both homing and gravity are now applied in the new virtual function "CalculateAcceleration"
CL 2247249
Moved the homing modification to acceleration occur in a separate function specifically for homing
CL 2257043
- Guard net dormancy calls against executing on clients, based on thread with DaveR and JohnP; This particular case was the result of an intentionally client-authoritative actor calling the dormancy functions via inheritance
CL 2245629
#UE4 - fixed json TryGetNumber to round negatives appropriately
CL 2255312
#UE4 Enabling World Assets by default.
CL 2260956
Analytics ET now loads HTTP at StartupModule so the module will be available during ShutdownModule to flush events
CL 2245571
GenericTeamAgentInterface can now retrieve attitude of an agent towards a given actor #UE4
- Made PerceptionSystem's sight sense take advantage of that
CL 2246897
Fixed perception listeners not being removed from the PerceptionSystem on Owner's end play #UE4
- addresses TTP#343392
CL 2260634
added more debug data for NaN in crowd simulation
CL 2248387
Added possibility to debug multiple EQS queries with GameplayDebugger. #ue4
Fixed network replication from bandwidth point of view for data in GameplayDebugger. #ue4
CL 2253281
Added additional information to the visual logger for UBTCompositeNode::DoDecoratorsAllowExecution
- We now keep track of whether a decorator allows execution, in addition to the existing log for not allowing execution
CL 2255310
#UE4 The world browser module now listens to WorldAdded/WorldDestroyed events instead of WorldInit/WorldCleanup events. Worlds can be initialized without being the editor world and this handles that case.
CL 2258256
#UE4 Replacing the SOpenLevelDialog with a new generic SAssetDialog. This dialog will be used as a generic Open or Save As dialog for assets.
[CL 2266822 by Billy Bramer in Main branch]
#UE4 - changes to _Validate code generation to make it virtual
--------
Integrated using branch Ue4-To-UE4-Fortnite-Simple (reversed) of change#2262447 by Josh.Markiewicz on 2014/08/19 09:36:53.
[CL 2262454 by Josh Markiewicz in Main branch]
EPropertyReferenceFlags removed too, because it is unused.
#ttp 329394: UHT: Support the C++ "enum class" syntax for UENUMs
#codereview robert.manuszewski
[CL 2252907 by Steve Robb in Main branch]
#change Classes will now be defer registered instead of being created during static initialization
#change Added class re-instancing after hot-reload
#change Changes to UHT to keep track of generated code changes
#change Refactored a few CoreUObject delegates to a common namespace struct.
[CL 2235479 by Robert Manuszewski in Main branch]
#add Fake linker-only function generated in UHT for every Module.generated.cpp.
#change UELinkerFixups file is now processed *after* running UHT.
#change Fake function called from UELinkerFixups for every statically-linked dependent project.
#codereview robert.manuszewski,jj.hoesing
[CL 2103062 by Steve Robb in Main branch]