Commit Graph

2402 Commits

Author SHA1 Message Date
Martin Mittring
ef56b989c2 fixed CIS - metal compile
[CL 2707026 by Martin Mittring in Main branch]
2015-09-25 19:04:15 -04:00
Aaron McLeran
bb31416059 New feature for defining grouped max concurrency rules
Overview:
- Created a new UObject: USoundConcurrency
- Defines concurrency behaviors and allows for different USoundBase assets (e.g. SoundWave's, SoundCues) to be a part of the same concurrency group.
- This feature will allow a number of powerful techniques to limit and control the number of sound assets which can play concurrently

Details and Additional Related Features:
- USoundBase's not specifying an override or a USoundConcurrency ref will result in no concurrency limits.
- Added support to existing static gameplay functions to provide an optional argument to override the USoundConcurrency of a sound at the point of playing
- Added a few new concurrency resolution rules: Resolve based on priority and Resolve based on volume
- Volume based concurrency resolution is implemented slightly different than the others due to the fact that it's complex/expensive to compute an active sound's volume before it plays due to SoundCue graph traversal. Thus, this step is made after a sound is already made it through one update of the SoundCue graph.
- It's now possible to limit max concurrency (both in groups and per-sound-instance) to the "owner" of a sound. This way different characters/actors can use the same USoundConcurrency ref but have different max-concurrency counts. With this technique, you can, for example, limit dialogue lines per actor without needing to make a USoundConcurrency object for each actor.
- A new optional concurrency behavior was also added at a suggestion from the Epic audio team: the ability to attenuate a sound based on the instance count of a sound in its concurrency group. I.e. as more sounds play in a concurrency group, the sound instances get quieter.

Backwards Compat:
- The old way limited sounds per USoundBase instance (and not different ones). You can recover this behavior by specifying an "Override" settings structure on the USoundBase. When you do this, the feature will only limit sound concurrency per instance and not per group. All existing assets with MaxConcurrency settings will fallback to this behavior.
- The default USoundBase behavior for new USoundBase objects is the same as the old behavior - i.e. max limit of 16 and non-grouped (i.e. will be an override)

#codereview marc.audy

[CL 2706947 by Aaron McLeran in Main branch]
2015-09-25 17:58:14 -04:00
Martin Mittring
29f89a390c Integrate from Orion
CL 2704794 2704931 2704948 2704962 2705238 2706353 2700643 2705458

        Uniform Buffer layout name

and

more debug info for this and other bugs: OR-7159 CRASH: Client crashed at start of match in D3D11Commands.cpp

Adding OptionalData (key value pairs) to the shaders (to put shader name into the shader code for better debugging), affects all RHI, invalidate DDC key for all shaders, cleanup existing code (was adding 0/1/5 bytes and had to compensate in many areas)

OptionalData:
key is a char, value is up to 255 bytes, up to 64K in total

#platformnotify Josh.Adams

[CL 2706923 by Martin Mittring in Main branch]
2015-09-25 17:34:00 -04:00
Uriel Doyon
948c16980a Fixed reversed indices logic not taking into account material section.
#jira UE-21311

[CL 2706869 by Uriel Doyon in Main branch]
2015-09-25 16:48:41 -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
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
Jack Porter
ea84e81529 Rename shader platform SP_OPENGL_ES2 to SP_OPENGL_ES2_ANDROID
[CL 2705741 by Jack Porter in Main branch]
2015-09-24 23:37:30 -04:00
Mike Beach
7d8e2220b2 (WIP) Generate a full plugin for Blueprints being converted into C++ (instead of just a module).
[CL 2705453 by Mike Beach in Main branch]
2015-09-24 18:57:23 -04:00
Jamie Dale
83dd4f71ae Fixed crash on Windows Chinese version when changing editor language
Made the Region & Language UI more hardy against null regions when changing your editor language.

#jira UE-20210

[CL 2704742 by Jamie Dale in Main branch]
2015-09-24 13:40:02 -04:00
Maciej Mroz
8192b0a511 BlueprintCompilerCppBackend:
- support for unconverted types - WIP
- use "UsedAssets" array from the class instead of loading objects

[CL 2704307 by Maciej Mroz in Main branch]
2015-09-24 09:57:06 -04:00
Jurre deBaare
ee078271bf Fix for incorrect normals on spline meshes with HLOD generation.
[CL 2704305 by Jurre deBaare in Main branch]
2015-09-24 09:55:36 -04:00
Jurre deBaare
34036d7772 Merging using HLOD_from_Orion
[CL 2704241 by Jurre deBaare in Main branch]
2015-09-24 09:04:18 -04:00
James Golding
5206291a5e - Collision Analyzer improvements
- Add support for recording info about overlap queries
  - Separate 'type' (raycast, sweep, overlap) from 'shape', add 'mode' as well (test,single,multi)
  - Fix crash when sorting by ID and then grouping
  - Add support for saving/loading data to file

[CL 2704213 by James Golding in Main branch]
2015-09-24 08:30:47 -04:00
Maciej Mroz
760e728416 Basic support for unconverted BP.
- Native UProperties of an unconverted type, are replaced with properties of the first native type.
- support for Cast and DynamicCast
- various fixes

#codereview Mike.Beach, Robert.Manuszewski

[CL 2704010 by Maciej Mroz in Main branch]
2015-09-24 05:05:37 -04:00
Mike Beach
6621698521 CIS fix: Changing local variable name so that it doesn't shadow an input param.
[CL 2701201 by Mike Beach in Main branch]
2015-09-22 15:20:43 -04:00
Mike Beach
cbaccb49f8 (WIP) Blueprint conversion tool now generates its own Build.cs file (with the proper dependencies).
#codereview Dan.OConnor

[CL 2700997 by Mike Beach in Main branch]
2015-09-22 14:06:00 -04:00
Jamie Dale
63a39cbf09 Added some missing PLATFORM_SUPPORTS_STACK_SYMBOLS defines
Some platforms that implement stack walking weren't setting this to true, and there was also no default for platforms that don't support stack walking.

This define is only used when building with bUseMallocProfiler turned on.

ReviewedBy Gil.Gribb
#platformnotify Josh.Adams

[CL 2700520 by Jamie Dale in Main branch]
2015-09-22 09:52:02 -04:00
Chris Wood
a262a14551 Fix CIS warning on Mac #buildwatcher
[CL 2700374 by Chris Wood in Main branch]
2015-09-22 05:40:19 -04:00
Dan Oconnor
321f40e667 UEBP-40 fixes - blueprints with multiple delegates to declare now compile, blueprints no logner duplicate delegate declarations, enum defaultss in generated code are now always valid symbols, minor whitespace improvement to delegate declarations
[CL 2699985 by Dan Oconnor in Main branch]
2015-09-21 18:20:01 -04:00
Mike Beach
2058d7b664 Fixing the in-editor Blueprint conversion tool so that the files generated match the specified includes.
#codereview Dan.OConnor

[CL 2699819 by Mike Beach in Main branch]
2015-09-21 17:15:50 -04:00
Jack Porter
0e9a00fc11 #if WITH_ENGINE fix for CL 2698623
[CL 2698678 by Jack Porter in Main branch]
2015-09-21 04:19:53 -04:00
Jack Porter
33a51c03a7 UEMOB-32 - Support cooking various combinations of Android texture formats simultaneously
[CL 2698623 by Jack Porter in Main branch]
2015-09-21 01:23:29 -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
Max Preussner
80158ecc7e SessionFrontend: Displaying session authorization status in session browser; placeholder icons.
[CL 2698090 by Max Preussner in Main branch]
2015-09-18 19:17:11 -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