Commit Graph

93 Commits

Author SHA1 Message Date
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
Mieszko Zielinski
3faf962c6c Fixed PathFollowingComponent not getting notified about path updates due to external events (like goal moved or navmesh rebuild) #UE4
- While working on it I've also fixed GameplayDebugger's path corridor gathering to clear porperly and to be able to detect when AI uses the same path object, but the path has been updated since the last time its navigation corridor has been stored by GameplayDebugger.
- also includes minor refactor to navmesh debug drawing

[CL 2420345 by Mieszko Zielinski in Main branch]
2015-01-27 10:22:55 -05:00
Ben Marsh
012e6f1e73 [INTEGRATE] Change 2418971 by Mike.Fricker@MFRICKER_G3686_Alpha on 2015/01/26 14:21:35
EngineMinimal.h no longer includes SlateCore.h or SlateBasics.h
	- This nearly halves the time it takes to recompile small game projects! (~14s -> ~8s)
	- This shrinks the PCH size for EngineMinimal by 161 MB on Windows (420 MB -> 259 MB, Development Editor Win64)
	- Note that Engine.h and EnginePrivate.h still include SlateCore.h and SlateBasics.h (not a clear detriment)
	- IMPORTANT: We need to verify all example games that use this still compile, and add release notes for user games that forgot to include Slate directly
	- This is all part of UE-7203

	#codereview james.golding,nick.atamas

[CL 2419751 by Ben Marsh in Main branch]
2015-01-26 20:24:15 -05:00
Bob Tellez
55d87d9b67 #UE4 One more CIS fix. Header includes shifted.
[CL 2411523 by Bob Tellez in Main branch]
2015-01-19 18:04:11 -05:00
Bob Tellez
9e4af02d9a #UE4 One more CIS fix. GameplayDebuggingComponent uses UCharacterMovementComponent
[CL 2411301 by Bob Tellez in Main branch]
2015-01-19 15:35:35 -05:00
Bob Tellez
b96ebfe60b #UE4 Fixing a few more CIS errors. It seems header includes have shifted.
[CL 2411167 by Bob Tellez in Main branch]
2015-01-19 14:24:10 -05:00
Lukasz Furman
334368c647 more visible path drawing color in gameplay debugger
[CL 2410735 by Lukasz Furman in Main branch]
2015-01-19 06:26:16 -05:00
Lukasz Furman
0e8e991729 extended gameplay debugger's basic pawn data
[CL 2410724 by Lukasz Furman in Main branch]
2015-01-19 06:07:32 -05:00