Commit Graph

100 Commits

Author SHA1 Message Date
Daniel Broder
8ea8f8d7ad Merging using UE4-Fortnite-To-UE4 using 2517024
Weekly Fortnite Dev -> Main integration.

#CodeReview Paul.Moore, Bob.Tellez

[CL 2524683 by Daniel Broder in Main branch]
2015-04-24 14:07:47 -04:00
Andrew Rodham
8ff0d8b98b Added config migration path for newer versions of the engine.
Newly installed versions of the engine will now attempt to copy the project-agnostic config settings from a previous engine installation. This happens by way of a versioned manifest that copies old versions when the manifest does not exist, or is a different version. This code path is benign for non-installed versions of the engine (or FPaths::ShouldSaveToUserDir() is false).

EditorGameAgnosticSettings and EditorUserSettings ini paths have been renamed to EditorSettings and EditorPerProjectUserSettings respectively to better convey their purpose. In general, most settings should be saved in EditorSettings (project-agnostic) so that they apply regardless of which project is open. We have some way to go migrating existing settings for this to be the case, however.

Some previously per-project configuration files are now project-agnostic (such as Editor.ini, EditorKeyBindings.ini, and EditorLayout.ini)

GEditor->Access...Settings and GEditor->Get...Settings have been removed in favor of direct access of the CDO through GetMutableDefault<> and GetDefault<> respectively. Global config ini filenames that are not set up are now neither loaded nor saved on build machines, to handle the problem of indeterminate state more generically.

This addresses UETOOL-270 (Most editor preferences should be project-agnostic)

[CL 2517558 by Andrew Rodham in Main branch]
2015-04-20 10:12:55 -04:00
Mike Beach
a9b886fb36 Fixing local compiler error.
[CL 2510851 by Mike Beach in Main branch]
2015-04-13 17:42:03 -04:00
Marcus Wassmer
6978a9aae8 Fix PS4 mono compile.
[CL 2510738 by Marcus Wassmer in Main branch]
2015-04-13 16:40:30 -04:00
Marc Audy
a523efb225 Fix shadowed variables
[CL 2510461 by Marc Audy in Main branch]
2015-04-13 12:42:09 -04:00
sebastian kowalczyk
e37a80c8a0 Fix for osx compilation issues.
[CL 2510242 by sebastian kowalczyk in Main branch]
2015-04-13 09:15:50 -04:00
sebastian kowalczyk
f2dc1112a2 Added debug camera to gameplay debugger, to have a way to fly around (Tab key to switch between cameras).
Added alternate keyboard bindings to gameplay debugger, for keyboards without numpad (can be enabled in gameplay debugger settings). It uses Alt + [regular number] shortcuts.

[CL 2510117 by sebastian kowalczyk in Main branch]
2015-04-13 06:23:53 -04:00
Josh Markiewicz
d3365369ae #UE4 - Changed the following functions to use AActor instead of APlayerController
- IsNetRelevantFor
- GetNetPriority
- GetNetDormancy
- Added GetNetOwner to remove cast to Pawn/PlayerController in ServerReplicateActors
- constify a few functions (GetNetConnection, IsRelevancyOwnerFor)
- Updated FNetViewer to properly handle non player controller "viewers"

[CL 2501704 by Josh Markiewicz in Main branch]
2015-04-03 17:34:52 -04:00
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
Zak Middleton
243a72b887 #ue4 - Perf: Change all uses of "GetActorRotation().Vector()" to "GetActorForwardVector()" which is ~10x faster.
[CL 2497534 by Zak Middleton in Main branch]
2015-03-31 14:32:57 -04:00
Mieszko Zielinski
6dbe98c456 Fixes to AIPerceptionSystem #UE4
Including:
* Better control over AIController::PerceptionComponent access
* implemented team affiliation handling to sight and hearing senses
* added a way to configure a sense if it wants to send out notifications on every perception even, or just on perception value change (like visibility lost or gained)

[CL 2486226 by Mieszko Zielinski in Main branch]
2015-03-20 11:36:38 -04:00
Mieszko Zielinski
c5ebb9c90b Fixed GameplayDebugger crash on debugging a pawn in absence of navigation data #UE4
[CL 2481499 by Mieszko Zielinski in Main branch]
2015-03-17 09:44:38 -04:00
Lukasz Furman
50bd795f1d added selecting random results from EQS query in two ranges: best 5% and best 25%
#ue4 UE-11276

[CL 2475225 by Lukasz Furman in Main branch]
2015-03-11 11:39:27 -04:00
Marc Audy
037d007078 Fix shadowed variables
[CL 2471506 by Marc Audy in Main branch]
2015-03-06 15:13:38 -05:00
Marc Audy
8a022fb2e0 Fix shadowed variables
[CL 2468979 by Marc Audy in Main branch]
2015-03-04 13:46:55 -05:00
Jaroslaw Palczynski
8e8aa26725 Changed "WITH_HOT_RELOAD && WITH_HOT_RELOAD_CTORS" to "WITH_HOT_RELOAD_CTORS".
#codereview Robert.Manuszewski

[CL 2467443 by Jaroslaw Palczynski in Main branch]
2015-03-03 05:28:51 -05:00
Jaroslaw Palczynski
3c450b9477 UE-10111: Hot Reload crash with Scene Component tied to Actor class
We've changed the way vtable ptr are obtained for UClasses. Right now we use special empty constructor to get it, so we don't have to use normal one which was causing troubles. This special vtable helper constructor is generated automatically for most cases, but sometimes it's not possible (e.g. no default constructor for members types). In such case there is a possibility to override that generated constructor and write a custom one. The signature is UCustomClass::UCustomClass(FVTableHelper& Helper) and it needs to call base class'es constructor with the same parameter. Please do not use these constructors for anything else. There is no guarantee the object will be in correct state after calling this.

You can still disable this functionality if something breaks, just set WITH_HOT_RELOAD_CTORS to 0.

[CL 2466152 by Jaroslaw Palczynski in Main branch]
2015-03-02 06:44:04 -05:00
sebastian kowalczyk
02482494fc Make pass over gameplay debugger to be sure that most code is compile-out for test and shipping builds.
[CL 2463900 by sebastian kowalczyk in Main branch]
2015-02-27 09:26:32 -05:00
sebastian kowalczyk
e27fddecdc Improved path corridor drawing in Gameplay Debugger and we can see nav areas rendered with different colors - with colors defined in navarea.
[CL 2458243 by sebastian kowalczyk in Main branch]
2015-02-24 07:01:10 -05:00
Laurent Delayen
e586cd3a8f Dev to Main integration from CL #2446290
[CL 2456855 by Laurent Delayen in Main branch]
2015-02-23 15:58:14 -05:00
sebastian kowalczyk
af6f1379e7 Fix for UE-9995 "GameplayDebugger doesn't auto-focus on AI in server-client PIE"
[CL 2451474 by sebastian kowalczyk in Main branch]
2015-02-19 07:14:31 -05:00
sebastian kowalczyk
e34d39bbb6 Fix for UE-10042 "FIXIF: Crash starting a PIE session with no viewport"
[CL 2451412 by sebastian kowalczyk in Main branch]
2015-02-19 04:40:17 -05:00
sebastian kowalczyk
c1d99d7821 Fixed NavMesh rendering with GameplayDebugger (works in client-server enviroment too)
Integration from Dev to Main

[CL 2446701 by sebastian kowalczyk in Main branch]
2015-02-16 04:04:00 -05:00
Mikolaj Sieluzycki
de56183d3d UObject constructors create subobjects using UObject::Create* instead of FObjectInitializer::Create*
#codereview Robert.Manuszewski

[CL 2439579 by Mikolaj Sieluzycki in Main branch]
2015-02-10 04:34:10 -05:00
Mikolaj Sieluzycki
fa01cacb6c Trim down the amount of UObject constructors.
#codereview Robert.Manuszewski

[CL 2429641 by Mikolaj Sieluzycki in Main branch]
2015-02-03 05:40:57 -05:00