Commit Graph

1894 Commits

Author SHA1 Message Date
Ben Zeigler
59ab04456f Merging up to CL #2705955 using UE4-Fortnite-To-UE4
Notable changes:

2696075
- Change ALobbyBeaconHost::Init and ALobbyBeaconHost::SetupLobbyState to be virtual
- Add new function APartyBeaconHost::GetMaxReservations, for getting the maximum number of reservations allowed by the beacon
- Add new delegate and associated RPC to APartyBeaconClient for when reservations on the host beacon are full
   - Behavior change: Full reservation fires the new delegate and not  ClientSendReservationUpdates

2687900
only sort session search results if there are any

2697435
fixed invalidating crowd's navmesh boundary data, tile salt was not increased during rebuilds

2686334
Added a blueprint library function to get attribute values from an ability system component.

2694255
Abilities that are triggered by events are now triggered by children of the events that trigger them. For example an ability that is triggered by A.B would now also be triggered by A.B.C.

2694384
When triggering abilities send the original tag so triggers that aren't an exact match can choose not to respond.

2692521
Fixes issue using nav mesh walking where AIs would pop up on top of geometry
- We now use the surface closest to the target nav location, rather than tracing downwards from above and using the first surface we find

2699230
Put the Mac.HighPrecisionDisableMouseCoalescing & Mac.HighPrecisionDisableMouseAcceleration CVars into the 'io.' rather than 'r.' groups where they belong.

[CL 2708199 by Ben Zeigler in Main branch]
2015-09-28 15:02:27 -04:00
Michael Trepka
615d0c5fb3 Merging CL 2708073 - Fixed a Mac-specific crash at exit that occured if GLog was initialized before the game thread was created
[CL 2708077 by Michael Trepka in Main branch]
2015-09-28 13:58:27 -04:00
Nick Darnell
95b10c90cc UE-21469 - Editor - Updating the C++ project wizard auto installion of visual studio to be setup to install VS2015 instead of 2013.
#platformnotify Josh.Adams

[CL 2707648 by Nick Darnell in Main branch]
2015-09-28 10:09:51 -04:00
Jamie Dale
0e1ca45be7 Fixed FTextSnapshot reporting all transient text instances as dirty
FTextSnapshot was changed to use a TWeakPtr, however this meant that for text that was generated each frame, the FTextSnapshot would always report that it was out-of-date (even if the generated text was the same as the previous frame) as it no longer had a valid reference point to compare against.

FTextSnapshot has been changed to once again use a TSharedPtr, which will keep the transient instance around long enough for it to be compared with the text from the next frame.

[CL 2707568 by Jamie Dale in Main branch]
2015-09-28 08:43:11 -04:00
Martin Mittring
f83b25a4f8 Integrated
CL 2705306

improved CircleDOF quality, added r.DepthOfFieldQuality 4 to trigger slower but higher quality

[CL 2707005 by Martin Mittring in Main branch]
2015-09-25 18:48:48 -04:00
Saul Abreu
3e89a8d6f6 #codereview Jamie.Dale, Justin.Sargent
Largely rewritten Editor Region & Language Settings page. Far less error prone compared to the old implementation. I'd like to do a lot more to make this not so lame in the future - move the game's native culture to something not editor-specific and leverage it as the default for new game targets in the localization dashboard.

[CL 2706823 by Saul Abreu in Main branch]
2015-09-25 16:24:07 -04:00
Gil Gribb
f7c6ed3f83 UE4 - Improved the console performance of FBitReader.
[CL 2706228 by Gil Gribb in Main branch]
2015-09-25 11:32:40 -04:00
Allan Bentham
25c10bf77d UEMOB-36
Add material shader quality settings.
Enables quality overrides for android and ios (ES2 flavours)

#codereview jack.porter

[CL 2705914 by Allan Bentham in Main branch]
2015-09-25 04:55:45 -04:00
Dmitry Rekman
e37e785445 Linux: fix reporting memory stats (OR-7349, UE-9538).
#codereview Michael.Trepka

(Merging CL 2705697 to the main branch).

[CL 2705727 by Dmitry Rekman in Main branch]
2015-09-24 23:20:01 -04:00
Chris Babcock
18811f513c Support multiple gamepad controllers on Android including identifying Samsung EI-GP20 and input plugins
Adds ResetGamepadAssignments, ResetGamepadAssignmentToController, and IsControllerAssignedToGamepad to PlatformMisc and BP nodes
#jira UE-17956
#ue4
#android
#platformnotify Josh.Adams
#codereview Josh.Adams

[CL 2705582 by Chris Babcock in Main branch]
2015-09-24 21:03:00 -04:00
Andrew Rodham
4316b5fc49 Added the concept of an 'arbitrary multiplier' unit
[CL 2704147 by Andrew Rodham in Main branch]
2015-09-24 07:30:17 -04:00
Jamie Dale
ca9f01f55f Minimized FText allocations when generating text at runtime
This allows you to move the arguments passed to FText::Format if you know you no longer need your own copy (our internal helper Format functions now do this with their temporary data).

I'd previously claimed this was submitted as part of CL# 2702379, but found it as part of a different CL.

[CL 2702398 by Jamie Dale in Main branch]
2015-09-23 08:39:05 -04:00
Jamie Dale
c4db6b2cc6 Minimized FText allocations when generating text at runtime
FText used to always perform two allocations, one for the shared display string pointer, and another for the text history.

This change allows text that is generated at runtime (such as via FText::AsNumber) to allocate its string and history together in a single allocation. Profiling shows that this almost negates the cost of the text history, without having to remove the text history (which is essential for FText serialization).

This means that we never have to take the hit of a second allocation for text which is generated at runtime and never serialized. Should text that was generated at runtime be serialized, then it will call TGeneratedTextData::PersistText to perform the allocation of the shared display string pointer, and allow the text to be saved, gathered, and localized.

This change also removes some allocations from FTextHistory_Base and FFormatArgumentValue, makes the text history types fully movable, and allows you to move the arguments passed to FText::Format if you know you no longer need your own copy.

[CL 2702379 by Jamie Dale in Main branch]
2015-09-23 07:57:03 -04:00
Gil Gribb
2497cba88b UE4 - Added stat DumpSpam command and avoid stat messages for no-op adds.
[CL 2698845 by Gil Gribb in Main branch]
2015-09-21 09:21:41 -04:00
Steve Robb
cbe5b79c73 Merging using Orion->UE4
CL# 2698724:
UHT speed improvements:

Code is now generated with tabs, rather than going through a separate Tabify step.
Some expensive temporaries created during iteration and during iteration have been removed.
FFunctionData::FunctionDataMap now uses unique ownership instead of shared ownership.
TCString::Spc (and the new TCString::Tab) now uses a compile-time array instead of one generated at runtime with a static.
TSet::Compact no longer rehashes if no compaction was performed.
TArray assignment no longer reallocs to the same capacity.

[CL 2698780 by Steve Robb in Main branch]
2015-09-21 07:53:49 -04:00
Dmitry Rekman
3e6290e814 Bunch of minor Linux cleanups and improvements.
- Mostly coming from MatthewL with changes.
- UE-19705 (getting MAC) - reworked to use ioctl
- UE-14633: IsFirstInstance is now a function on Linux
- UE-16061:dummy windows shouldn't be visible in the task bar.
- UE-18217 fixed.
- Unnecessary printf() removed.
- Set output to non-cached if running under debugger.

#platformnotify Josh.Adams

[CL 2698549 by Dmitry Rekman in Main branch]
2015-09-20 18:16:58 -04:00
Gil Gribb
0a5f746888 UE4 - Fixed smappy spin loop in new console mode task graph scheduling.
[CL 2698321 by Gil Gribb in Main branch]
2015-09-19 08:17:02 -04:00
Max Preussner
f1ffd33f2b SessionFrontend: Implemented session authorization for remote users
See SESSION console command for details. Some more updates are needed in Automation, Profiler, etc. to perform authorization on a per-instance instead of per-session basis.

#CodeReview: peter.sauerbrei

[CL 2698089 by Max Preussner in Main branch]
2015-09-18 19:16:15 -04:00
Daniel Lamb
b665c247cd Backed out save package warning.
[CL 2697995 by Daniel Lamb in Main branch]
2015-09-18 18:01:14 -04:00
Daniel Lamb
5194ff52af Added warning to cooker for resaving packages when they contain FText which has been promoted from FString / FName.
#codereview Justin.Sargent

[CL 2697687 by Daniel Lamb in Main branch]
2015-09-18 16:06:17 -04:00
Mark Satterthwaite
8dedbc3a9c Merging MetalRHI & MetalShaderFormat changes from ZebraBranch, plus the code to enable or disable Mac support.
[CL 2697221 by Mark Satterthwaite in Main branch]
2015-09-18 12:45:20 -04:00
Max Preussner
892b585091 Fixed WinXP build
[CL 2696867 by Max Preussner in Main branch]
2015-09-18 06:45:39 -04:00
Max Preussner
8220ceecaf SessionFrontend: Using full username to identify session owners
#CodeReview: peter.sauerbrei

[CL 2696478 by Max Preussner in Main branch]
2015-09-17 21:14:52 -04:00
Chris Babcock
518942aa44 Only trigger window resize if orientation changes on APP_CMD_CONFIG_CHANGED
#ue4
#android
#codereview Dmitriy.Dyomin

[CL 2695598 by Chris Babcock in Main branch]
2015-09-17 13:56:31 -04:00
Max Preussner
06181a5a6d Core: Better names for Async unit tests
[CL 2695525 by Max Preussner in Main branch]
2015-09-17 13:14:05 -04:00