2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2014-07-04 09:47:36 -04:00
|
|
|
|
|
|
|
|
|
2024-01-17 11:51:40 -05:00
|
|
|
#include "Decoders/OpusAudioInfo.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3209340)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3209340 on 2016/11/23 by Ben.Marsh
Convert UE4 codebase to an "include what you use" model - where every header just includes the dependencies it needs, rather than every source file including large monolithic headers like Engine.h and UnrealEd.h.
Measured full rebuild times around 2x faster using XGE on Windows, and improvements of 25% or more for incremental builds and full rebuilds on most other platforms.
* Every header now includes everything it needs to compile.
* There's a CoreMinimal.h header that gets you a set of ubiquitous types from Core (eg. FString, FName, TArray, FVector, etc...). Most headers now include this first.
* There's a CoreTypes.h header that sets up primitive UE4 types and build macros (int32, PLATFORM_WIN64, etc...). All headers in Core include this first, as does CoreMinimal.h.
* Every .cpp file includes its matching .h file first.
* This helps validate that each header is including everything it needs to compile.
* No engine code includes a monolithic header such as Engine.h or UnrealEd.h any more.
* You will get a warning if you try to include one of these from the engine. They still exist for compatibility with game projects and do not produce warnings when included there.
* There have only been minor changes to our internal games down to accommodate these changes. The intent is for this to be as seamless as possible.
* No engine code explicitly includes a precompiled header any more.
* We still use PCHs, but they're force-included on the compiler command line by UnrealBuildTool instead. This lets us tune what they contain without breaking any existing include dependencies.
* PCHs are generated by a tool to get a statistical amount of coverage for the source files using it, and I've seeded the new shared PCHs to contain any header included by > 15% of source files.
Tool used to generate this transform is at Engine\Source\Programs\IncludeTool.
[CL 3209342 by Ben Marsh in Main branch]
2016-11-23 15:48:37 -05:00
|
|
|
#include "Interfaces/IAudioFormat.h"
|
2022-12-20 19:57:49 -05:00
|
|
|
#include <opus_defines.h>
|
|
|
|
|
#include <opus_types.h>
|
2014-07-04 09:47:36 -04:00
|
|
|
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3232619)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3121996 on 2016/09/12 by Ben.Marsh
Add support for Visual Studio 2017 (aka "15"; assuming consistent naming with other versions until final name is announced).
* Compiler, STL implementation and CRT are binary compatible with VS2015 (see https://blogs.msdn.microsoft.com/vcblog/2016/08/24/c1417-features-and-stl-fixes-in-vs-15-preview-4/), so no new third-party libraries needed so far. WindowsPlatform.GetVisualStudioCompilerVersionName() returns "2015" as a result.
* Default compiler for compiling and generating project files is still VS 2015 for now. Pass -2017 on the command line to GenerateProjectFiles.bat to generate VS2017 projects. Projects generated for VS2017 will use the 2017 compiler by default.
* Visual Studio source code accessor can talk to VS 2017 instances.
* Added a VS2017 configuration for UnrealVS, and added precompiled vsix package.
* Switched GetVSComnTools to check the SOFTWARE\Microsoft\VisualStudio\SxS\VS7 registry key rather than the individual product install registry key. "15" doesn't seem to have it's own "InstallDir" key, but this system seems to work for all versions of Visual Studio (including previous releases of VS Express).
* Removed ATL dependency from VisualStudioSourceCodeAccessor. It's not installed with VS by default any more, and is only used for a couple of smart pointer classes.
Tested running the editor and packaging TP_Flying for Win64. Packaging from the editor still defaults to using the 2015 compiler, so ConfigureToolchain() needs to be overriden from the .target.cs file if multiple Visual Studio versions are installed.
Change 3189363 on 2016/11/07 by Ben.Marsh
Consolidate functionality for determining the path to MSBuild.exe to use for compiling UE4 tools into a single batch file (GetMSBuildToolPath) and fix "Clean" not working on PS4 due to include/library paths being set to something by the Visual Studio environment.
Change 3210598 on 2016/11/27 by Ben.Marsh
UBT: Prevent the name of each file compiled being output twice on XboxOne. Compiler already outputs this string; the action doesn't need to.
Change 3210601 on 2016/11/27 by Ben.Marsh
PR #2967: Add silent version of switch game version (Contributed by EricLeeFriedman)
Change 3210602 on 2016/11/27 by Ben.Marsh
PR #2964: GitDependencies shouldn't try to clean up working directory files that are excluded or ignored (Contributed by joelmcginnis)
Change 3210605 on 2016/11/27 by Ben.Marsh
UGS: Add a warning when syncing latest would remove changes that have been authored locally. Typically happens when working with precompiled binaries.
Change 3211656 on 2016/11/28 by Ben.Marsh
UBT: Move ModuleRules and TargetRules into their own file.
Change 3211797 on 2016/11/28 by Ben.Marsh
UBT: Remove utility functions from TargetRules for checking different classes of target types. Moving TargetRules to be data-only.
Change 3211833 on 2016/11/28 by Ben.Marsh
UBT: Remove overridable configuration name from target rules. This feature is not used anywhere.
Change 3211859 on 2016/11/28 by Ben.Marsh
UBT: Deprecate the GetGeneratedCodeVersion() callback in favor of a member variable instead.
Change 3211942 on 2016/11/28 by Ben.Marsh
UBT: Remove legacy code which tries to change the output paths for console binaries. Output paths for monolithic binaries are always in the project folder now.
Change 3215333 on 2016/11/30 by Ben.Marsh
UBT: Replace the GetSupportedPlatforms() callback on TargetRules with a SupportedPlatforms attribute. Since a TargetRules object can only be instantiated with an actual platform, it doesn't make sense for it to be an instance method.
Change 3215482 on 2016/11/30 by Ben.Marsh
UBT: Remove the GetSupportedConfigurations() callback on the TargetRules class. A configuration is required to construct a TargetRules instance, so it doesn't make sense to need to call an instance method to find out which configurations are supported.
Change 3215743 on 2016/11/30 by Ben.Marsh
UBT: Deprecate the TargetRules.ShouldCompileMonolithic() function: this function requires access to the global command line to operate correctly, which prevents creating target-specific instances, and does not use the platform/configuration passed into the TargetRules constructor.
Rather than being a callback, the LinkType field can now be set to TargetLinkType.Modular or TargetLinkType.Monolithic from the constructor as appropriate. The default value (TargetLinkType.Default) results in the default link type for the target type being used. Parsing of the command-line overrides is now done when building the TargetDescriptor.
Change 3215778 on 2016/11/30 by Ben.Marsh
UBT: Mark overrides of the TargetRules.GetModulesToPrecompile method as obsolete.
Change 3217681 on 2016/12/01 by Ben.Marsh
UAT: Prevent UE4Build deleting .modules files when running with the -Clean argument; these files are artifacts generated by UBT itself, not by the exported XGE script.
Change 3217723 on 2016/12/01 by Ben.Marsh
UBT: Run pre- and post-build steps for all plugins that are being built, not just those that are enabled.
Change 3217930 on 2016/12/01 by Ben.Marsh
UGS: Add a perforce settings window, allowing users to set optional values for tuning Perforce performance on unreliable connections.
Change 3218762 on 2016/12/02 by Ben.Marsh
Enable warnings whenever an undefined macro is used in a constant expression inside an #if or #elif directive, and fix existing violations.
Change 3219161 on 2016/12/02 by Ben.Marsh
Core: Use the directory containing the current module to derive the UE4 base directory, rather than the executable directory. Allows UE4 to be hosted by a process in a different directory.
Change 3219197 on 2016/12/02 by Ben.Marsh
Core: When loading a DLL from disk, convert any relative paths to absolute before calling LoadLibrary. The OS resolves these paths relative to the directory containing the process executable -- not the working directory -- so paths need to be absolute to allow UE4 to be hosted by a process elsewhere.
Change 3219209 on 2016/12/02 by Ben.Marsh
Replace some calls to LoadLibrary() with FPlatformProcess::GetDllHandle(). The UE4 function makes sure that relative paths are resolved relative to the correct base directory, which is important when the host executable is not in Engine/Binaries/Win64.
Change 3219610 on 2016/12/02 by Ben.Marsh
Add the -q (quiet) option to the Mac unzip command, since it's creating too much log output to be useful.
Change 3219731 on 2016/12/02 by Ben.Marsh
UBT: Add option to disable IWYU checks regarding the use of monolithic headers (Engine.h, UnrealEd.h, etc...) and including the matching header for a cpp file first. bEnforceIWYU can be set to false in UEBuildConfiguration or on a per-module basis in the module rules.
Change 3220796 on 2016/12/04 by Ben.Marsh
Remove PrepForUATPackageOrDeploy from the UEBuildDeploy base class. It never has to be accessed through the base class anyway.
Change 3220825 on 2016/12/04 by Ben.Marsh
UBT: Change all executors to derive from a common base class (ActionExecutor).
Change 3220834 on 2016/12/04 by Ben.Marsh
UBT: Remove the global CommandLineContains() function.
Change 3222706 on 2016/12/05 by Ben.Marsh
Merging CL 3221949 from //UE4/Release-4.14: Fixes to code analysis template causing problems with stock install of VS2017.
Change 3222712 on 2016/12/05 by Ben.Marsh
Merging CL 3222021 from //UE4/Release-4.14: Change detection of MSBuild.exe path to match GetMSBuildPath.bat
Change 3223628 on 2016/12/06 by Ben.Marsh
Merging CL 3223369 from 4.14 branch: Use the same logic as GetMsBuildPath.bat inside FDesktopPlatformBase to determine path to MSBuild.exe
Change 3223817 on 2016/12/06 by Ben.Marsh
Remove non-ANSI characters from source files. Compiler/P4 support is patchy for this, and we want to avoid failing prey to different codepages resulting in different interpretations of the source text.
Change 3224046 on 2016/12/06 by Ben.Marsh
Remove the need for the iOS/TVOS deployment instances to have an IOSPlatformContext instance. The only dependency between the two -- a call to GetRequiredCapabilities() -- is now implemented by querying the INI file for the supported architectures when neeeded.
Change 3224792 on 2016/12/07 by Ben.Marsh
UBT: Touch PCH wrapper files whenever the file they include is newer rather than writing the timestamp for the included file into it as a comment. Allows use of ccache and similar tools.
Change 3225212 on 2016/12/07 by Ben.Marsh
UBT: Move settings required for deployment into the UEBuildDeployTarget class, allowing them to be serialized to and from a file the intermediate directory without having to construct a phony UEBuildTarget to deploy.
Deployment is now performed by a method on UEBuildPlatform, rather than having to create a UEBuildPlatformContext and using that to create a UEBuildDeploy object.
The -prepfordeploy UBT invocation from UAT, previously done by the per-platform PostBuildTarget() callback when building with XGE, is replaced by running UBT with a path to the serialized UEBuildDeployTarget object, and can be done in a platform agnostic manner.
Change 3226310 on 2016/12/07 by Ben.Marsh
PR #3015: Fixes wrong VSC++ flags being passed for .c files (Contributed by badlogic)
Change 3228273 on 2016/12/08 by Ben.Marsh
Update copyright notices for QAGame.
Change 3229166 on 2016/12/09 by Ben.Marsh
UBT: Rewritten config file parser. No longer requires hard-coded list of sections to be parsed, but parses them on demand. Measured 2x faster read speeds (largely due to eliminating construction of temporary string objects when parsing each line, to trim whitespace and so on). Also includes an attribute-driven parser, which allows reading named config values for marked up fields in an object.
Change 3230601 on 2016/12/12 by Ben.Marsh
Swarm: Change Swarm AgentInterface to target .NET framework 4.5, to remove dependency on having 4.0 framework installed.
Change 3230737 on 2016/12/12 by Ben.Marsh
UAT: Stop UE4Build deriving from CommandUtils. Confusing pattern, and causes problems trying to access instance variables that are only set for build commands.
Change 3230751 on 2016/12/12 by Ben.Marsh
UAT: Move ParseParam*() functions which use the instanced parameter list from CommandUtils to BuildCommand, since that's the only thing that it's instanced for.
Change 3230804 on 2016/12/12 by Ben.Marsh
UBT: Add the IsPromotedBuild flag to Build.version, and only set the bFormalBuild flag in UBT if it's set. This allows UGS users to avoid having to compile separate RC files for each output binary.
Change 3230831 on 2016/12/12 by Ben.Marsh
UGS: Warn when trying to switch streams if files are checked out.
Change 3231281 on 2016/12/12 by Chad.Garyet
Fixing a bug where .modules files were getting put into receipts with their absolute path instead of their relative one
Change 3231496 on 2016/12/12 by Ben.Marsh
Disable code analysis in CrashReportProcess; causes warnings when compiled with VS2015.
Change 3231979 on 2016/12/12 by Ben.Marsh
UBT: Suppress LNK4221 when generating import libraries. This can happen often when generating import libraries separately to linking.
Change 3232619 on 2016/12/13 by Ben.Marsh
Fix "#pragma once in main file" errors on Mac, which are occurring in //UE4/Main.
[CL 3232653 by Ben Marsh in Main branch]
2016-12-13 11:58:16 -05:00
|
|
|
THIRD_PARTY_INCLUDES_START
|
2014-07-15 06:09:13 -04:00
|
|
|
#include "opus_multistream.h"
|
Copying //UE4/Dev-Build to //UE4/Dev-Main (Source: //UE4/Dev-Build @ 3232619)
#lockdown Nick.Penwarden
#rb none
==========================
MAJOR FEATURES + CHANGES
==========================
Change 3121996 on 2016/09/12 by Ben.Marsh
Add support for Visual Studio 2017 (aka "15"; assuming consistent naming with other versions until final name is announced).
* Compiler, STL implementation and CRT are binary compatible with VS2015 (see https://blogs.msdn.microsoft.com/vcblog/2016/08/24/c1417-features-and-stl-fixes-in-vs-15-preview-4/), so no new third-party libraries needed so far. WindowsPlatform.GetVisualStudioCompilerVersionName() returns "2015" as a result.
* Default compiler for compiling and generating project files is still VS 2015 for now. Pass -2017 on the command line to GenerateProjectFiles.bat to generate VS2017 projects. Projects generated for VS2017 will use the 2017 compiler by default.
* Visual Studio source code accessor can talk to VS 2017 instances.
* Added a VS2017 configuration for UnrealVS, and added precompiled vsix package.
* Switched GetVSComnTools to check the SOFTWARE\Microsoft\VisualStudio\SxS\VS7 registry key rather than the individual product install registry key. "15" doesn't seem to have it's own "InstallDir" key, but this system seems to work for all versions of Visual Studio (including previous releases of VS Express).
* Removed ATL dependency from VisualStudioSourceCodeAccessor. It's not installed with VS by default any more, and is only used for a couple of smart pointer classes.
Tested running the editor and packaging TP_Flying for Win64. Packaging from the editor still defaults to using the 2015 compiler, so ConfigureToolchain() needs to be overriden from the .target.cs file if multiple Visual Studio versions are installed.
Change 3189363 on 2016/11/07 by Ben.Marsh
Consolidate functionality for determining the path to MSBuild.exe to use for compiling UE4 tools into a single batch file (GetMSBuildToolPath) and fix "Clean" not working on PS4 due to include/library paths being set to something by the Visual Studio environment.
Change 3210598 on 2016/11/27 by Ben.Marsh
UBT: Prevent the name of each file compiled being output twice on XboxOne. Compiler already outputs this string; the action doesn't need to.
Change 3210601 on 2016/11/27 by Ben.Marsh
PR #2967: Add silent version of switch game version (Contributed by EricLeeFriedman)
Change 3210602 on 2016/11/27 by Ben.Marsh
PR #2964: GitDependencies shouldn't try to clean up working directory files that are excluded or ignored (Contributed by joelmcginnis)
Change 3210605 on 2016/11/27 by Ben.Marsh
UGS: Add a warning when syncing latest would remove changes that have been authored locally. Typically happens when working with precompiled binaries.
Change 3211656 on 2016/11/28 by Ben.Marsh
UBT: Move ModuleRules and TargetRules into their own file.
Change 3211797 on 2016/11/28 by Ben.Marsh
UBT: Remove utility functions from TargetRules for checking different classes of target types. Moving TargetRules to be data-only.
Change 3211833 on 2016/11/28 by Ben.Marsh
UBT: Remove overridable configuration name from target rules. This feature is not used anywhere.
Change 3211859 on 2016/11/28 by Ben.Marsh
UBT: Deprecate the GetGeneratedCodeVersion() callback in favor of a member variable instead.
Change 3211942 on 2016/11/28 by Ben.Marsh
UBT: Remove legacy code which tries to change the output paths for console binaries. Output paths for monolithic binaries are always in the project folder now.
Change 3215333 on 2016/11/30 by Ben.Marsh
UBT: Replace the GetSupportedPlatforms() callback on TargetRules with a SupportedPlatforms attribute. Since a TargetRules object can only be instantiated with an actual platform, it doesn't make sense for it to be an instance method.
Change 3215482 on 2016/11/30 by Ben.Marsh
UBT: Remove the GetSupportedConfigurations() callback on the TargetRules class. A configuration is required to construct a TargetRules instance, so it doesn't make sense to need to call an instance method to find out which configurations are supported.
Change 3215743 on 2016/11/30 by Ben.Marsh
UBT: Deprecate the TargetRules.ShouldCompileMonolithic() function: this function requires access to the global command line to operate correctly, which prevents creating target-specific instances, and does not use the platform/configuration passed into the TargetRules constructor.
Rather than being a callback, the LinkType field can now be set to TargetLinkType.Modular or TargetLinkType.Monolithic from the constructor as appropriate. The default value (TargetLinkType.Default) results in the default link type for the target type being used. Parsing of the command-line overrides is now done when building the TargetDescriptor.
Change 3215778 on 2016/11/30 by Ben.Marsh
UBT: Mark overrides of the TargetRules.GetModulesToPrecompile method as obsolete.
Change 3217681 on 2016/12/01 by Ben.Marsh
UAT: Prevent UE4Build deleting .modules files when running with the -Clean argument; these files are artifacts generated by UBT itself, not by the exported XGE script.
Change 3217723 on 2016/12/01 by Ben.Marsh
UBT: Run pre- and post-build steps for all plugins that are being built, not just those that are enabled.
Change 3217930 on 2016/12/01 by Ben.Marsh
UGS: Add a perforce settings window, allowing users to set optional values for tuning Perforce performance on unreliable connections.
Change 3218762 on 2016/12/02 by Ben.Marsh
Enable warnings whenever an undefined macro is used in a constant expression inside an #if or #elif directive, and fix existing violations.
Change 3219161 on 2016/12/02 by Ben.Marsh
Core: Use the directory containing the current module to derive the UE4 base directory, rather than the executable directory. Allows UE4 to be hosted by a process in a different directory.
Change 3219197 on 2016/12/02 by Ben.Marsh
Core: When loading a DLL from disk, convert any relative paths to absolute before calling LoadLibrary. The OS resolves these paths relative to the directory containing the process executable -- not the working directory -- so paths need to be absolute to allow UE4 to be hosted by a process elsewhere.
Change 3219209 on 2016/12/02 by Ben.Marsh
Replace some calls to LoadLibrary() with FPlatformProcess::GetDllHandle(). The UE4 function makes sure that relative paths are resolved relative to the correct base directory, which is important when the host executable is not in Engine/Binaries/Win64.
Change 3219610 on 2016/12/02 by Ben.Marsh
Add the -q (quiet) option to the Mac unzip command, since it's creating too much log output to be useful.
Change 3219731 on 2016/12/02 by Ben.Marsh
UBT: Add option to disable IWYU checks regarding the use of monolithic headers (Engine.h, UnrealEd.h, etc...) and including the matching header for a cpp file first. bEnforceIWYU can be set to false in UEBuildConfiguration or on a per-module basis in the module rules.
Change 3220796 on 2016/12/04 by Ben.Marsh
Remove PrepForUATPackageOrDeploy from the UEBuildDeploy base class. It never has to be accessed through the base class anyway.
Change 3220825 on 2016/12/04 by Ben.Marsh
UBT: Change all executors to derive from a common base class (ActionExecutor).
Change 3220834 on 2016/12/04 by Ben.Marsh
UBT: Remove the global CommandLineContains() function.
Change 3222706 on 2016/12/05 by Ben.Marsh
Merging CL 3221949 from //UE4/Release-4.14: Fixes to code analysis template causing problems with stock install of VS2017.
Change 3222712 on 2016/12/05 by Ben.Marsh
Merging CL 3222021 from //UE4/Release-4.14: Change detection of MSBuild.exe path to match GetMSBuildPath.bat
Change 3223628 on 2016/12/06 by Ben.Marsh
Merging CL 3223369 from 4.14 branch: Use the same logic as GetMsBuildPath.bat inside FDesktopPlatformBase to determine path to MSBuild.exe
Change 3223817 on 2016/12/06 by Ben.Marsh
Remove non-ANSI characters from source files. Compiler/P4 support is patchy for this, and we want to avoid failing prey to different codepages resulting in different interpretations of the source text.
Change 3224046 on 2016/12/06 by Ben.Marsh
Remove the need for the iOS/TVOS deployment instances to have an IOSPlatformContext instance. The only dependency between the two -- a call to GetRequiredCapabilities() -- is now implemented by querying the INI file for the supported architectures when neeeded.
Change 3224792 on 2016/12/07 by Ben.Marsh
UBT: Touch PCH wrapper files whenever the file they include is newer rather than writing the timestamp for the included file into it as a comment. Allows use of ccache and similar tools.
Change 3225212 on 2016/12/07 by Ben.Marsh
UBT: Move settings required for deployment into the UEBuildDeployTarget class, allowing them to be serialized to and from a file the intermediate directory without having to construct a phony UEBuildTarget to deploy.
Deployment is now performed by a method on UEBuildPlatform, rather than having to create a UEBuildPlatformContext and using that to create a UEBuildDeploy object.
The -prepfordeploy UBT invocation from UAT, previously done by the per-platform PostBuildTarget() callback when building with XGE, is replaced by running UBT with a path to the serialized UEBuildDeployTarget object, and can be done in a platform agnostic manner.
Change 3226310 on 2016/12/07 by Ben.Marsh
PR #3015: Fixes wrong VSC++ flags being passed for .c files (Contributed by badlogic)
Change 3228273 on 2016/12/08 by Ben.Marsh
Update copyright notices for QAGame.
Change 3229166 on 2016/12/09 by Ben.Marsh
UBT: Rewritten config file parser. No longer requires hard-coded list of sections to be parsed, but parses them on demand. Measured 2x faster read speeds (largely due to eliminating construction of temporary string objects when parsing each line, to trim whitespace and so on). Also includes an attribute-driven parser, which allows reading named config values for marked up fields in an object.
Change 3230601 on 2016/12/12 by Ben.Marsh
Swarm: Change Swarm AgentInterface to target .NET framework 4.5, to remove dependency on having 4.0 framework installed.
Change 3230737 on 2016/12/12 by Ben.Marsh
UAT: Stop UE4Build deriving from CommandUtils. Confusing pattern, and causes problems trying to access instance variables that are only set for build commands.
Change 3230751 on 2016/12/12 by Ben.Marsh
UAT: Move ParseParam*() functions which use the instanced parameter list from CommandUtils to BuildCommand, since that's the only thing that it's instanced for.
Change 3230804 on 2016/12/12 by Ben.Marsh
UBT: Add the IsPromotedBuild flag to Build.version, and only set the bFormalBuild flag in UBT if it's set. This allows UGS users to avoid having to compile separate RC files for each output binary.
Change 3230831 on 2016/12/12 by Ben.Marsh
UGS: Warn when trying to switch streams if files are checked out.
Change 3231281 on 2016/12/12 by Chad.Garyet
Fixing a bug where .modules files were getting put into receipts with their absolute path instead of their relative one
Change 3231496 on 2016/12/12 by Ben.Marsh
Disable code analysis in CrashReportProcess; causes warnings when compiled with VS2015.
Change 3231979 on 2016/12/12 by Ben.Marsh
UBT: Suppress LNK4221 when generating import libraries. This can happen often when generating import libraries separately to linking.
Change 3232619 on 2016/12/13 by Ben.Marsh
Fix "#pragma once in main file" errors on Mac, which are occurring in //UE4/Main.
[CL 3232653 by Ben Marsh in Main branch]
2016-12-13 11:58:16 -05:00
|
|
|
THIRD_PARTY_INCLUDES_END
|
2014-07-04 09:47:36 -04:00
|
|
|
|
2022-01-26 15:00:31 -05:00
|
|
|
#define USE_UE_MEM_ALLOC 1
|
2014-07-04 09:47:36 -04:00
|
|
|
|
2023-07-26 07:45:04 -04:00
|
|
|
DEFINE_LOG_CATEGORY_STATIC(LogOpusAudioDecoder, Log, All);
|
|
|
|
|
|
2014-07-15 06:09:13 -04:00
|
|
|
///////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
// Followed pattern used in opus_multistream_encoder.c - this will allow us to setup //
|
|
|
|
|
// a multistream decoder without having to save extra information for every asset. //
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
struct UnrealChannelLayout{
|
|
|
|
|
int32 NumStreams;
|
|
|
|
|
int32 NumCoupledStreams;
|
|
|
|
|
uint8 Mapping[8];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/* Index is NumChannels-1*/
|
|
|
|
|
static const UnrealChannelLayout UnrealMappings[8] = {
|
|
|
|
|
{ 1, 0, { 0 } }, /* 1: mono */
|
|
|
|
|
{ 1, 1, { 0, 1 } }, /* 2: stereo */
|
|
|
|
|
{ 2, 1, { 0, 1, 2 } }, /* 3: 1-d surround */
|
|
|
|
|
{ 2, 2, { 0, 1, 2, 3 } }, /* 4: quadraphonic surround */
|
|
|
|
|
{ 3, 2, { 0, 1, 4, 2, 3 } }, /* 5: 5-channel surround */
|
|
|
|
|
{ 4, 2, { 0, 1, 4, 5, 2, 3 } }, /* 6: 5.1 surround */
|
|
|
|
|
{ 4, 3, { 0, 1, 4, 6, 2, 3, 5 } }, /* 7: 6.1 surround */
|
|
|
|
|
{ 5, 3, { 0, 1, 6, 7, 2, 3, 4, 5 } }, /* 8: 7.1 surround */
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------------
|
|
|
|
|
FOpusDecoderWrapper
|
|
|
|
|
------------------------------------------------------------------------------------*/
|
2014-07-04 09:47:36 -04:00
|
|
|
struct FOpusDecoderWrapper
|
|
|
|
|
{
|
2023-07-27 08:44:28 -04:00
|
|
|
FOpusDecoderWrapper(uint32 SampleRate, uint8 NumChannels)
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
2014-07-15 06:09:13 -04:00
|
|
|
check(NumChannels <= 8);
|
|
|
|
|
const UnrealChannelLayout& Layout = UnrealMappings[NumChannels-1];
|
2022-01-26 15:00:31 -05:00
|
|
|
#if USE_UE_MEM_ALLOC
|
2014-07-15 06:09:13 -04:00
|
|
|
int32 DecSize = opus_multistream_decoder_get_size(Layout.NumStreams, Layout.NumCoupledStreams);
|
|
|
|
|
Decoder = (OpusMSDecoder*)FMemory::Malloc(DecSize);
|
2014-07-18 04:03:22 -04:00
|
|
|
DecError = opus_multistream_decoder_init(Decoder, SampleRate, NumChannels, Layout.NumStreams, Layout.NumCoupledStreams, Layout.Mapping);
|
2014-07-15 06:09:13 -04:00
|
|
|
#else
|
2014-07-18 04:03:22 -04:00
|
|
|
Decoder = opus_multistream_decoder_create(SampleRate, NumChannels, Layout.NumStreams, Layout.NumCoupledStreams, Layout.Mapping, &DecError);
|
2014-07-15 06:09:13 -04:00
|
|
|
#endif
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
~FOpusDecoderWrapper()
|
|
|
|
|
{
|
2022-01-26 15:00:31 -05:00
|
|
|
#if USE_UE_MEM_ALLOC
|
2014-07-04 09:47:36 -04:00
|
|
|
FMemory::Free(Decoder);
|
2014-07-15 06:09:13 -04:00
|
|
|
#else
|
2023-08-02 08:52:23 -04:00
|
|
|
opus_multistream_decoder_destroy(Decoder);
|
2014-07-15 06:09:13 -04:00
|
|
|
#endif
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
2014-07-15 06:09:13 -04:00
|
|
|
int32 Decode(const uint8* FrameData, uint16 FrameSize, int16* OutPCMData, int32 SampleSize)
|
|
|
|
|
{
|
|
|
|
|
return opus_multistream_decode(Decoder, FrameData, FrameSize, OutPCMData, SampleSize, 0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool WasInitialisedSuccessfully() const
|
|
|
|
|
{
|
|
|
|
|
return DecError == OPUS_OK;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
OpusMSDecoder* Decoder;
|
2014-07-04 09:47:36 -04:00
|
|
|
int32 DecError;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/*------------------------------------------------------------------------------------
|
|
|
|
|
FOpusAudioInfo.
|
|
|
|
|
------------------------------------------------------------------------------------*/
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
FOpusAudioInfo::FOpusAudioInfo()
|
|
|
|
|
: OpusDecoderWrapper(nullptr)
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
FOpusAudioInfo::~FOpusAudioInfo()
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
if (OpusDecoderWrapper != nullptr)
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
|
|
|
|
delete OpusDecoderWrapper;
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
OpusDecoderWrapper = nullptr;
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-07-24 04:09:20 -04:00
|
|
|
|
|
|
|
|
bool FOpusAudioInfo::ParseHeader(FHeader& OutHeader, uint32& OutNumRead, const uint8* InSrcBufferData, uint32 InSrcBufferDataSize)
|
|
|
|
|
{
|
|
|
|
|
OutNumRead = 0;
|
|
|
|
|
|
|
|
|
|
if ((int32)InSrcBufferDataSize < FHeader::HeaderSize())
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
auto Read = [&InSrcBufferData, &OutNumRead](void* To, int32 NumBytes) -> void
|
|
|
|
|
{
|
|
|
|
|
FMemory::Memcpy(To, InSrcBufferData, NumBytes);
|
|
|
|
|
InSrcBufferData += NumBytes;
|
|
|
|
|
OutNumRead += NumBytes;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
Read(OutHeader.Identifier, 8);
|
|
|
|
|
if (FMemory::Memcmp(OutHeader.Identifier, FHeader::OPUS_ID, 8))
|
|
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
Read(&OutHeader.Version, sizeof(uint8));
|
|
|
|
|
Read(&OutHeader.NumChannels, sizeof(uint8));
|
2023-07-27 08:44:28 -04:00
|
|
|
Read(&OutHeader.SampleRate, sizeof(uint32));
|
|
|
|
|
Read(&OutHeader.EncodedSampleRate, sizeof(uint32));
|
2023-07-24 04:09:20 -04:00
|
|
|
Read(&OutHeader.ActiveSampleCount, sizeof(uint64));
|
|
|
|
|
Read(&OutHeader.NumEncodedFrames, sizeof(uint32));
|
2023-08-02 08:52:23 -04:00
|
|
|
Read(&OutHeader.NumPreSkipSamples, sizeof(int32));
|
2023-07-24 04:09:20 -04:00
|
|
|
Read(&OutHeader.NumSilentSamplesAtBeginning, sizeof(int32));
|
|
|
|
|
Read(&OutHeader.NumSilentSamplesAtEnd, sizeof(int32));
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
bool FOpusAudioInfo::ParseHeader(const uint8* InSrcBufferData, uint32 InSrcBufferDataSize, struct FSoundQualityInfo* QualityInfo)
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
2019-07-19 09:31:18 -04:00
|
|
|
SrcBufferData = InSrcBufferData;
|
|
|
|
|
SrcBufferDataSize = InSrcBufferDataSize;
|
2014-07-04 09:47:36 -04:00
|
|
|
SrcBufferOffset = 0;
|
|
|
|
|
CurrentSampleCount = 0;
|
|
|
|
|
|
2023-07-24 04:09:20 -04:00
|
|
|
Header.Reset();
|
|
|
|
|
if (!ParseHeader(Header, SrcBufferOffset, InSrcBufferData, InSrcBufferDataSize))
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
|
|
|
|
return false;
|
|
|
|
|
}
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
|
|
|
|
|
// Store the offset to where the audio data begins
|
2014-07-04 09:47:36 -04:00
|
|
|
AudioDataOffset = SrcBufferOffset;
|
2023-09-14 19:21:34 -04:00
|
|
|
// Sample counts in the Opus API are always per-channel so we multiply by NumChannels here
|
|
|
|
|
TrueSampleCount = (uint32)Header.ActiveSampleCount * Header.NumChannels;
|
2023-07-24 04:09:20 -04:00
|
|
|
NumChannels = Header.NumChannels;
|
2014-07-04 09:47:36 -04:00
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
// Write out the the header info
|
2014-07-04 09:47:36 -04:00
|
|
|
if (QualityInfo)
|
|
|
|
|
{
|
2023-07-24 04:09:20 -04:00
|
|
|
QualityInfo->SampleRate = Header.SampleRate;
|
|
|
|
|
QualityInfo->NumChannels = Header.NumChannels;
|
|
|
|
|
QualityInfo->SampleDataSize = (uint32)Header.ActiveSampleCount * QualityInfo->NumChannels * sizeof(int16);
|
2023-08-02 08:52:23 -04:00
|
|
|
QualityInfo->Duration = (float)((double)Header.ActiveSampleCount / QualityInfo->SampleRate);
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
bool FOpusAudioInfo::CreateDecoder()
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
check(OpusDecoderWrapper == nullptr);
|
2023-07-27 08:44:28 -04:00
|
|
|
OpusDecoderWrapper = new FOpusDecoderWrapper(Header.EncodedSampleRate, NumChannels);
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
if (!OpusDecoderWrapper->WasInitialisedSuccessfully())
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
delete OpusDecoderWrapper;
|
|
|
|
|
OpusDecoderWrapper = nullptr;
|
|
|
|
|
return false;
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
2023-08-02 08:52:23 -04:00
|
|
|
NumRemainingSamplesToSkip = Header.NumSilentSamplesAtBeginning + Header.NumPreSkipSamples;
|
2023-07-26 07:45:04 -04:00
|
|
|
PreviousDecodedUnusedSamples.Empty();
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
return true;
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
2017-06-21 10:25:35 -04:00
|
|
|
int32 FOpusAudioInfo::GetFrameSize()
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
// Opus format has variable frame size at the head of each frame...
|
|
|
|
|
// We have to assume that the SrcBufferOffset is at the correct location for the read
|
|
|
|
|
uint16 FrameSize = 0;
|
|
|
|
|
Read(&FrameSize, sizeof(uint16));
|
2017-06-21 10:25:35 -04:00
|
|
|
return (int32)FrameSize;
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
Copying //UE4/Dev-Framework to //UE4/Dev-Main (Source: //UE4/Dev-Framework @ 3182037)
#rb None
#lockdown Nick.Penwarden
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2825716 on 2016/01/12 by Marc.Audy
Fix GrabDebugSnapshot virtual function definitions in Ocean
Change 2828462 on 2016/01/14 by Marc.Audy
Back out changelist 2825716
Change 3153526 on 2016/10/06 by Zak.Middleton
#ue4 - Fix CharacterMovement hanging on to a bad/penetrating floor check result and not continuing to check for a valid floor. Only occured if bAlwaysCheckFloor was false. This could in rare situations cause the character to continue to attempt to depenetrate an object far away from it until another floor check occured. To prevent this we now force a floor check after the depenetration.
Related to OR-14528.
Change 3153580 on 2016/10/06 by Benn.Gallagher
Skeletal LOD workflow refactor. Now we track source files for LODs to save time when reimporting LODs often. It's still possible to pick new files and overwrite the current settings.
#jira UE-36588
Change 3154264 on 2016/10/06 by Aaron.McLeran
UE-37004 UE-37005 Fixing stat soundwaves
Change 3154560 on 2016/10/07 by James.Golding
UE-20739 Fix auto box in Morph Target Preview panel
Change 3154776 on 2016/10/07 by Ben.Zeigler
#Fortnite Change the ability UI to use the Tag UI data instead of the Tag Categories, as Tag Categories were redundant and are being removed in the tag refactor. I'm not sure this code is actually in use any more.
Change 3154954 on 2016/10/07 by Ben.Zeigler
Move GameplayTagsEditor to a plugin, and change GameplayTagsManager to be accessed directly without the module load overhead, as it is part of the engine module set.
Performance improvements to GameplayTags to maintain a ParentTag list when tag containers get modified. It does a quick update on add, and a slow recompute on other changes. This leads to a 10x improvement in IncludeParent queries
Replace RemoveAllTags and RemoveAllTagsKeepSlack with Reset, which already existed but didnt work correctly.
Removed the Category map from gameplay tags, games are using other systems to do translateable text.
Significant internal changes to GameplayTagsManager, moved from 3 redundant maps to 1 map and removed unused functionality
Change 3154955 on 2016/10/07 by Ben.Zeigler
Game compile fixes for changes to GameplayTags module and API. Removed redundant calls to remove tags, TagContainer uses Reset() like other container types
Change 3154995 on 2016/10/07 by Aaron.McLeran
UE-37012 fix compile issue
Change 3155009 on 2016/10/07 by Aaron.McLeran
UE-37009 Ensure failed for FXAudio2SoundBuffer::Seek() in XAudio2Buffer.cpp
- Removing ensure and using if statement instead. It looks possible for decompression state to fail to be created, that state is logged elsewhere.
Change 3155128 on 2016/10/07 by Ben.Zeigler
Add old location of GameplayTagsEditor to junk manifest
Change 3155268 on 2016/10/07 by Aaron.McLeran
UE-37024 Set Sound Mix Class Override still Playing Sounds in Certain Conditions
Change 3155561 on 2016/10/07 by Ben.Zeigler
GameplayTag fixes made based on code review feedback:
Deprecate custom node for making a literal gameplay tag container and add proper make and break functions to the blueprint library
Remove direct access to the tag container internals as it has always been unsafe
Add many missing utility functions to the library and change things to pass FGameplayTag by value. TagContainers must still be passed by reference though as they are large
Fix case where comparing two containers with the tags in different orders would fail
Remove deprecated serialization entirely, print error when trying to load very old tags
Add RemoveAllTags and RemoveAllTagsKeepSlack back to container, but deprecate them
Change 3155842 on 2016/10/07 by dan.reynolds
AEOverview Update - Attenuation Shapes Test Map + Counting Test Assets
Change 3156779 on 2016/10/10 by Richard.Hinckley
Fixing/reordering comments for basic types.
Change 3156926 on 2016/10/10 by Ben.Zeigler
Remove deprecated gameplay ability system code involving non-BP gameplay effects and ActiveGameplayEffectQueries
Change 3156998 on 2016/10/10 by Jon.Nabozny
Include K2Node_BaseAsyncAction.h in K2Node_AsyncAction.h to fix compile issue.
Change 3158732 on 2016/10/11 by Zak.Middleton
#ue4 - Don't allow the first move in SafeMoveUpdatedComponent() to ignore penetration when slowly moving out of an object. We really want to pop out completely using the MTD as fast as possible or we can fall through the object in a longer direction.
#jira UE-28610
Change 3159208 on 2016/10/11 by dan.reynolds
Added ancillary SoundClass Passive Mix Modifier Duration Test map
Change 3159211 on 2016/10/11 by Aaron.McLeran
UE-37193 Fixing passive sound mix modifier
Change 3159278 on 2016/10/11 by dan.reynolds
AEOverviewMain integration with the SCO Passive Mix Modifier Duration Test map for additional testing purposes.
Also tweaks and clean-up of SCOverviewPassMixModDuration map and associated Platform_Blueprint
Change 3159596 on 2016/10/12 by danny.bouimad
Updates to TM-Meshbake
Change 3159629 on 2016/10/12 by James.Golding
Add ModifyCurve anim node
Make GetPinAssociatedProperty const correct
Change 3159705 on 2016/10/12 by James.Golding
Add 'ApplyMode' and 'Alpha' options to ModifyCurve node
Change 3159959 on 2016/10/12 by John.Abercrombie
Integrate CL 3159892 from //Fortnite/Main/...
Fixed the Blackboard component pausing but never being unpaused if we ended up restarting the Behavior Tree instead of continuing
#ue4
Change 3160014 on 2016/10/12 by Lukasz.Furman
pass on gameplay debugger in Simulate in Editor mode
#jira UE-36123
Change 3160027 on 2016/10/12 by Lukasz.Furman
fixed behavior tree task restart conditions
copy of CL 3159145
#ue4
Change 3160129 on 2016/10/12 by Lukasz.Furman
gameplay debugger refactor: removed deprecated code
#ue4
Change 3160389 on 2016/10/12 by Lukasz.Furman
added missing include path to gameplay debugger module
#ue4
Change 3160408 on 2016/10/12 by Lukasz.Furman
refactored sanity checks in gameplay debugger EdMode to keep static analysis happy
#ue4
Change 3161143 on 2016/10/13 by James.Golding
UE-37208 UE-37207 Fix AnimNode_ModifyCruve CIS error
Change 3161227 on 2016/10/13 by danny.bouimad
More changes to meshmergemap
Change 3161777 on 2016/10/13 by Ben.Zeigler
API changes for GameplayTag and Container, and fix Redirect loading
Remove Match type and empty count as match bool from common API
In C++ use MatchTag/MatchAny/HasTag/HasAny/HasAll with *Exact variants for exact matching. Old C++ API is still there but I will deprecate and remove soon
In Blueprint use MatchTag/MatchAny/HasTag/HasAny/HasAll with bool parameter for as the bool is more clear. I was able to convert old functions to new ones as no one was overriding the options I removed
Undeprecate the old make literal node and temporarily set GameplayTags in container to be editable. We're not allowed to deprecate things until our internal games fix their usage.
Change 3162095 on 2016/10/13 by Jon.Nabozny
Fix bad default screen resolution in Platformer Game.
#jira UE-34901
Change 3163351 on 2016/10/14 by Marc.Audy
Avoid duplicate accessor calls
Change 3163364 on 2016/10/14 by Marc.Audy
Eliminate auto
Use ForEachObjectWithOuter
Change 3163367 on 2016/10/14 by Marc.Audy
Use ForEachObjectWithOuter instead of GetObjectsWithOuter
Change 3163500 on 2016/10/14 by Marc.Audy
When using SetCullDistance property for static meshes correctly update the cached value
#jira UE-36891
Change 3163674 on 2016/10/14 by Jon.Nabozny
#rn Fix popping in OnRep_ReplicatedAnimMontage.
#jira UE-37056
Change 3164818 on 2016/10/17 by Ori.Cohen
Added a pose snapshot feature that allows users to convert an existing skeletal mesh pose into a node inside the anim blueprint. This is useful for things like getup from ragdoll.
Change 3164903 on 2016/10/17 by Lukasz.Furman
fixed bug in merging behavior tree searches
#ue4
Change 3165236 on 2016/10/17 by dan.reynolds
Fixes and tweaks based on feedback:
- Made most objects Stationary to assist in dynamic lighting changes as sub-levels have unknown orientation until load
- Fixed Blueprint Control map to stop test when the player leaves the zone
- Fixed Blueprint Contorl map typos
Change 3165323 on 2016/10/17 by Aaron.McLeran
PS4 Audio Streaming
- Refactored Opus audio streaming code to have the code which interfaces with audio streaming manager in format-agnostic code (so I can use for AT9 streaming)
- Wrote an AT9 real-time decoder module (will be used in audio mixer)
- Enabled streaming on PS4 platform
- Refactored much of Ngs2 to be more in parity with our other platforms for real-time decoding (Significant changes to Ngs2Buffer)
- Added support for Ngs2 buffer callbacks for when audio needs to be fed to sources rather than pushing data from game thread
- Fixed A3D implementation: creating both a normal sampler rack and an A3D-specific sampler rack
- Fixed up error handling code in Ngs2 so it actually reports real errors
Change 3165997 on 2016/10/18 by Richard.Hinckley
Improving consistency of "New C++ Class" templates and fixing some shadow-variable issues.
Change 3166220 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
- Changing include of appropriate file to not be in #if WITH_ENGINE block
Change 3166262 on 2016/10/18 by Aaron.McLeran
UE-37441 Compile Ocean IOS, Compile FortniteClient Mac, Compile UE4Editor Mac complete with 11 errors
Fixing up the original wave format parsing code in Audio.cpp to avoid redefinitions. This code needs to be removed eventually in favor of the new wave format parser class.
Change 3166562 on 2016/10/18 by Aaron.McLeran
UE-37441 Fixing compile on Mac
- Renamed FFormatChunk to FRiffFormatChunk
Change 3166653 on 2016/10/18 by Aaron.McLeran
UE-37442 Build Tools Win64 completes with 28 errors
Change 3166917 on 2016/10/18 by Aaron.McLeran
UE-37502 Initializing missed data members in FNgs2SoundSource constructor
Change 3167329 on 2016/10/19 by Benn.Gallagher
Made wind properties editable on wind components, had to make the properties unsettable by blueprints and add setter functions so we can trigger render data updates from property updates.
#jira UE-37500
Change 3167575 on 2016/10/19 by Jon.Nabozny
#rn Fix UCharacterMovementComponent::OnTeleported improperly changing movement mode.
#jira UE-37082
Change 3168079 on 2016/10/19 by Ori.Cohen
Fix timing issue that causes snapshotpose to t-pose.
#JIRA UE-37476
Change 3168392 on 2016/10/19 by dan.reynolds
Updated AEOverviewMain with custom Attenuation FBXs to alleviate visual noise when observing complex attenuation shape falloff distances.
Change 3169121 on 2016/10/20 by danny.bouimad
Updates to Merge actor assets
Change 3169128 on 2016/10/20 by Danny.Bouimad
files
Change 3169230 on 2016/10/20 by Lina.Halper
#improved log message
Change 3169243 on 2016/10/20 by Ben.Zeigler
#jira UE-37515 Add UK2Node::ConvertDeprecatedNode which handles node-specific deprecation fixup.
Add code to automatically convert from make/break struct nodes to native call function if there is a native override.
This was hard coded for vector, etc but now works for any type that declares HasNativeMake/HasNativeBreak.
Add serialize override to K2Node that serializes struct defaults when gathering references while saving. References declared in literal struct pins were being skipped
Add specific fixups for GameplayTag make/break functions
Change 3169422 on 2016/10/20 by Aaron.McLeran
UE-37596 Making detail customizations and experimental setting for sound base showing audiomixer-only features
Change 3169620 on 2016/10/20 by Ben.Zeigler
Switch GameplayTagTests to use the new Custom test macro and better failure reporting.
Add TestTrueExpr macro that runs TestTrue with the expression as the display string, like how ensure works.
Change 3169622 on 2016/10/20 by Ben.Zeigler
Fix swapped HasAny logic and bad comments
Change 3169645 on 2016/10/20 by Aaron.McLeran
Re-adding call to Stop source
Change 3169664 on 2016/10/20 by dan.reynolds
AEOverviewMain Update - Fixed Menu bug where clicking the menu item after map reset resulted in requiring two attempts to actually reset the menu item properly. Menu Hit interaction is now much more responsive.
Change 3169997 on 2016/10/20 by Ben.Zeigler
Change from alloca to normal malloc, as static analysis doesn't like alloca in loops due to stack overflow danger
Change 3170796 on 2016/10/21 by Marc.Audy
PR #2878: Prevent 'XXX has natively added scene component' warning in commandlets (Contributed by slonopotamus)
#jira UE-37632
Change 3170802 on 2016/10/21 by Lina.Halper
#ANIM: curve can link to joints
- this allows to filter certain curves per LOD - when the joint is discarded
-> refactored editor object tracker to allow multiple per class
-> refactored so that bone reference supports both skeleton or mesh but make sure you don't access invalid function when using skeleton indices
- layer bone support
#jira: UEFW-207
Change 3170857 on 2016/10/21 by Aaron.McLeran
Disabling checking for device change
Change 3171101 on 2016/10/21 by Ben.Zeigler
Deprecate old gameplay tag functions in favor of new API that doesn't use the enums or module header
Add IsEmpty, Filter, FilterExact, and AddLeafTag to FGameplayTagContainer
Add RequestGameplayTag, MatchesTagDepth and GetGameplayTagParents to FGameplayTag
Remove MatchesEmpty parameter from tag asset interface. This defaulted to true but should now be explicitly checked with IsEmpty()
Engine fixups for those changes
Change 3171102 on 2016/10/21 by Ben.Zeigler
Internal game fixups for tag deprecation
Moved some fortnite tags into the global tag list and fixed fortnite cases. Confident in these changes
Fixed several weird tag uses in Orion. Dave and I should code review these changes as I was unsure on some of them
Some minor changes for Ocean
Change 3171186 on 2016/10/21 by Ben.Zeigler
File got missed in checkin
Change 3171239 on 2016/10/21 by Wes.Hunt
TPSAudit updates.
* Added /Verbose option that will print out the name of each file examined. Useful for debugging if a file was even checked.
* Don't skip Content folders
* Don't skip Engine\Documentation\HTML
* Skip any Content\Localization folders instead of only Engine\Content\Localization
* Skip any Content\Internationalization folders
* Skip .raw, .exr, .r16, .abc, .webm, .collection, .aac files.
* if a file has no extension (like configure files) then treat the filename as the extension
* configure files are treated like shell files
Change 3171245 on 2016/10/21 by Ben.Zeigler
Fix crash when saving nodes that reference properties from struct defaults. Switch FindImportedObject to be safe while saving, it will find existing objects but not load new ones.
I am not sure why StaticFindObject is unsafe during save.
Change 3171248 on 2016/10/21 by Wes.Hunt
TPSAudit: added /veryverbose which lists every file and directory excluded and the reason (file or dir exclusion). This makes the startup MUCH MUCH slower, so only use for debugging.
Change 3171256 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171258 on 2016/10/21 by Wes.Hunt
ModuleManager shutdown fixes.
* ShutdownModule is now called in reverse order to when StartupModule is FINISHED.
* This allows modules to reference dependencies in their StartupModule to ensure they are loaded, and be sure they will still be around in ShutdownModule.
* HTTPModule now shuts down in ShutdownModule and not PreUnloadCallback.
* Added comments to Module headers to indicate this new change in behavior.
* Removed manual startup of HTTP module in LaunchEngineLoop as it's no longer needed. Should save the module from being around if not really used by engine.
Change 3171946 on 2016/10/24 by Lina.Halper
Fix so that it checks all the joints before removing
Change 3172126 on 2016/10/24 by Lukasz.Furman
added navlink component
#ue4
Change 3172152 on 2016/10/24 by Jon.Nabozny
Remove UWorld::ComponentOverlapMulti indirection in UPrimitiveComponent::UpdateOverlaps.
UWorldComponentOverlapMulti is just a wrapper that verifies the component is valid, then calls UPrimitiveComponent::ComponentOverlapMulti.
#jira UE-36472
Change 3172364 on 2016/10/24 by Ben.Zeigler
Codereview fixes for tag changes.
Make Tag->Container constructor explicit to avoid bugs
Fix some cases that were using exact to allow parents instead
Change 3173442 on 2016/10/25 by Jon.Nabozny
Fixed crash when opening Anim asset after retargetting.
Change 3174123 on 2016/10/25 by Ben.Zeigler
Add some ini tag data to QAGame, it's now setup to import some from DataTable, and some from ini. This enables the full management UI.
Change 3174394 on 2016/10/25 by dan.reynolds
AEOverview update - added a Streaming Audio test which tests two streaming audio loops (one short, one long).
Change 3175197 on 2016/10/26 by Wes.Hunt
Fix OSS module startup to directly reference HTTP and XMPP as a dependency in StartupModule. This should make MCP startup/shutdown more robust.
#codereivew: sam.zamani,dmitry.rekman,josh.markiewicz
Change 3175236 on 2016/10/26 by Jon.Nabozny
Change FMath::SegmentDistToSegmentSafe to handle the case where either (or both) of the input segments create points.
Either segment may be considered a point if it's two points have a distance that's nearly 0.
#jira UE-19251
Change 3175256 on 2016/10/26 by Jon.Nabozny
Fix CIS for SegmentDistToSegmentSafe change.
Change 3175379 on 2016/10/26 by Jon.Nabozny
Change UCharacterMovementComponent::ApplyImpactPhysicsForces to use IsSimulatingPhysics(BoneName) instead of IsAnySimulatingPhysics on the hit component.
#jira UE-37582
Change 3175408 on 2016/10/26 by Marc.Audy
AudioThreading improvements:
Fix PS4 core 6 issue
Add timeout spam
Radical simplification
Fix suspension CVar
#authors Gil.Gribb/Marc.Audy
#jira OR-30447
Change 3175535 on 2016/10/26 by Marc.Audy
Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 3175266
Change 3175539 on 2016/10/26 by Marc.Audy
Restore affinity for AudioThread and allow it on to 7th (rather than pinning it)
Change 3175631 on 2016/10/26 by Marc.Audy
Fix silly compile error
Change 3175639 on 2016/10/26 by Aaron.McLeran
Fixing audio device removal code
- Flipping active sources to virtual mode
- Handling initializing sources that have become virtual
- Not stopping sounds when device is unplugged
Change 3175665 on 2016/10/26 by dan.reynolds
AEOverview update - Added a Streaming Overview sub test (Streaming Spam)
Change 3175934 on 2016/10/26 by dan.reynolds
AEOverview Streaming Map Fix - fixed AEOverviewStreaming to avoid orphaning sounds when crossing the platforms
Change 3175941 on 2016/10/26 by Marc.Audy
Fix compiler error after merge from Main
Change 3176378 on 2016/10/27 by Jon.Nabozny
Add RotatorToAxisAndAngle function to KismetMath. We already expose RotatorFromAxisAndAngle, this is just the inverse operation.
Change 3176441 on 2016/10/27 by Jon.Nabozny
Fix another CIS issue with SegmentDistToSegmentSafe change.
Change 3176487 on 2016/10/27 by Jon.Nabozny
Hide DemoRecorder from the scoreboard in ShooterGame.
#jira UE-37492
Change 3176616 on 2016/10/27 by Lukasz.Furman
optimized behavior tree debugger update in subtrees
#jira UE-29029
Change 3176717 on 2016/10/27 by james.cobbett
Test asset for UE-37270
Change 3176731 on 2016/10/27 by dan.reynolds
AEOverview Streaming Spam map tweak--fixed STRMOverviewStreamSpam map so it now ensures reproduction on a specific edge case
Change 3176887 on 2016/10/27 by Aaron.McLeran
UE-37899 Failed Assertion when spamming PS4 Streaming Start/Stop
- Fix is to add critical sections to avoid stopping a Ngs2 source voice while it's in an OnBufferEnd callback
#tests Use Dan.Reynold's AEOverviewMain, load STRMOverviewStreamSpam map. will crash in half a second pre-fix, never crashes post-fix.
Change 3177053 on 2016/10/27 by Marc.Audy
Actually reattach previously attached actors when creating a child actor
#jira UE-37675
Change 3177113 on 2016/10/27 by Aaron.McLeran
UE-37906 Fixing stat sounds when the audio thread is enabled.
Change 3177536 on 2016/10/27 by Aaron.McLeran
Updating QASoundWaveProcedural to support stereo procedural sound wave generation.
Change 3177551 on 2016/10/27 by dan.reynolds
AEOverview update
- Tweaked AEOverviewSWP to support testing mono and stereo SoundWave Procedurals
- Added STRMOverviewStreamPriority to test Streaming Voice Priority
Change 3177819 on 2016/10/28 by Thomas.Sarkanen
Consolidated LOD screen size calculations
Static, skeletal and HLOD now use the same method of specifying LOD level at runtime.Namely "Screen Size". When the bounds of the objects sphere occupy half the max screen dimension, the screen size is 0.5 & all of the screen, 1.0.
HLOD still uses a distance based metric at runtime to choose when to switch clusters, so will still not switch LODs on FOV changes.
Conversion functions have been implemented to convert each of the legacy LOD specifications into the new unified version.
Conversion uses an assumption that the average case uses 1080p @ 90 degree FOV. This is necessary as previous screen sizes/areas were based around that resolution and we want the least perf regressions when at that resolution.
Auto LOD now uses the same functionality to determine what LOD thresholds to use.
#tests Verified that LODs switch at equivalent distances/sizes before and after this change for various assets.
#tests Verified that HLOD distance->screen size and inverse functions map correctly
#tests Ran Michael N's triangle count test before and after the changes with Paragon to verify rendered triangle counts do not vary with the new method
Change 3177996 on 2016/10/28 by Marc.Audy
Support play button on SoundCues as well as SoundWaves
Change 3178013 on 2016/10/28 by Marc.Audy
Allow previewing of force feedback effects from content browser
#jira UE-36388
Change 3178020 on 2016/10/28 by Lukasz.Furman
fixed navmesh wall segment calculations for crowds
#jira UE-37893
Change 3178096 on 2016/10/28 by Marc.Audy
Make ALevelSequenceActor::Tick call Super
#jira UE-37932
Change 3178247 on 2016/10/28 by Zak.Middleton
#ue4 - Crash fix when player is destroyed and server checks to see if it needs to force a network update. No repro steps in the bug but guarding against the crash is pretty straightforward.
UE-37902
Change 3178256 on 2016/10/28 by Zak.Middleton
#ue4 - Avoid crash when calling ACharacter::SetReplicateMovement when not on the server.
Change 3178263 on 2016/10/28 by Ben.Zeigler
Add support for a SearchableNameMap to the Linker and the Asset Registry. Call MarkSearchableName(TypeObject,Name) from a serialize function to register that an FName should be considered Searchable.
This change bumps the object version. Also fix it so the StringAssetReferencesMap does not get written out in editor builds
Clean up FLinker::Serialize, as it is no longer called except to get memory size
Add code to mark searchable names for GameplayTags, DataTableHandles, and CurveTableHandles.
Add FAssetIdentifier to the AssetRegistry that allows searching for Package.Object::Name. If Object/Name aren't specified PackageName will be used as it was before
UI Improvements to the reference viewer to support name references. Collapse the reference/dependency checkboxes, and add new checkboxes for SearchableNames and NativePackages, disabled by default
Remove bResolveIniStringReferences option from GetDepdendencies and handle that when parsing in the string asset reference table
Change 3178265 on 2016/10/28 by Ben.Zeigler
Move all ini settings for GameplayTags over to GameplayTagsSettings.h/GameplayTags.ini, instead of being in 3 different places.
Add metadata for the source of a gameplay tag and it's comment to the node, but only in editor builds
Change it so the default list and developer tags list are saved the same way as a list of structs. This will allow UI for selecting what tag list to save it into
The first time someone in the project modifies the GameplayTags project settings it will migrate these settings from the old locations. This will cause defaultEngine.ini to resave, which may wipe out comments
Migrate QAGame's tag config as a test
Change 3178266 on 2016/10/28 by Lina.Halper
Fix issue with anim editor sound play notify doesn't work with follow option
#jira: UE-37946
Change 3178441 on 2016/10/28 by Ben.Zeigler
Fix use of IsValid on names inside asset identifier to properly be a None check and add accessor to make use more clear
Change 3178443 on 2016/10/28 by Ben.Zeigler
Half migrated gameplay tag settings for internal games, will need full migration via the editor on their branches
Change 3178533 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178655 on 2016/10/28 by Ben.Zeigler
Build fix
Change 3178672 on 2016/10/28 by Lina.Halper
Unshelved from changelist '3164228':
PR #2867: Fixed for UE-15388 : Bones of uniformly scaled SkeletalMesh rotate incorrectly in Persona (Contributed by rarihoma)
#jira: UE-37372
Change 3178675 on 2016/10/28 by Ben.Zeigler
Crash fix if you have no defaultengine.ini redirects section
Change 3178698 on 2016/10/28 by Ben.Zeigler
#jira UE-37774 Fix issue with loading save games referencing UObjects not in memory, this broke in 4.13
Change 3178743 on 2016/10/28 by Lina.Halper
Fixed so that if no key, it clamps to 0.
#jira: UE-36790
Change 3179121 on 2016/10/28 by dan.reynolds
AEOverview tweaks
- updated Concurrency map to tighten up the audio playback (as in James C's feedback)
- tweaked some timers to be closer to real-time
Change 3179912 on 2016/10/31 by Mieszko.Zielinski
Removed unused piece of functionality from UEdGraphSchema_BehaviorTreeDecorator #UE4
Change 3179933 on 2016/10/31 by Lukasz.Furman
fixed missing update timers in avoidance manager
#ue4
Change 3180028 on 2016/10/31 by Ben.Zeigler
#jira UE-373993 Fix crash with bad default value for objects
Change 3180503 on 2016/10/31 by mason.seay
Test map for character spawning bug
Change 3180744 on 2016/10/31 by Ben.Zeigler
#jira UE-38025 Fix APlayerController:DisplayDebug to not make a bad copy of the debug display manager
Change 3180914 on 2016/10/31 by Ben.Zeigler
#jira UE-37773 Add hooks for deleting and renaming tags, untested pending UI support
Add handler for editing a gameplaytag asset from asset browser
Change 3181879 on 2016/11/01 by Marc.Audy
Rollback CL# 3169645 to resolve fortnite audio hitching when stopping sounds
#jira UE-38055
[CL 3182044 by Marc Audy in Main branch]
2016-11-01 15:50:29 -04:00
|
|
|
uint32 FOpusAudioInfo::GetMaxFrameSizeSamples() const
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
2023-08-02 08:52:23 -04:00
|
|
|
// The encoder is using 20ms frame sizes.
|
|
|
|
|
const int32 OPUS_MAX_FRAME_SIZE_MS = 20;
|
|
|
|
|
// There can be at most 2 frames in one packet, so multiply by 2.
|
|
|
|
|
return Header.EncodedSampleRate * OPUS_MAX_FRAME_SIZE_MS * 2 / 1000;
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
2017-06-21 10:25:35 -04:00
|
|
|
FDecodeResult FOpusAudioInfo::Decode(const uint8* CompressedData, const int32 CompressedDataSize, uint8* OutPCMData, const int32 OutputPCMDataSize)
|
2014-07-04 09:47:36 -04:00
|
|
|
{
|
2017-06-21 10:25:35 -04:00
|
|
|
FDecodeResult Result;
|
|
|
|
|
|
2017-04-26 08:28:56 -04:00
|
|
|
if (OpusDecoderWrapper)
|
|
|
|
|
{
|
2023-07-26 07:45:04 -04:00
|
|
|
const int32 kFrameBytes = NumChannels * sizeof(int16);
|
|
|
|
|
int32 OutputSizeToGo = OutputPCMDataSize;
|
|
|
|
|
int32 CompressedSizeToGo = CompressedDataSize;
|
|
|
|
|
const uint8* InputDataPtr = CompressedData;
|
|
|
|
|
uint8* OutputDataPtr = OutPCMData;
|
|
|
|
|
|
|
|
|
|
Result.NumAudioFramesProduced = 0;
|
|
|
|
|
while(OutputSizeToGo > 0)
|
2023-07-24 04:09:20 -04:00
|
|
|
{
|
2023-07-26 07:45:04 -04:00
|
|
|
// Get anything that is left over from the previous call.
|
|
|
|
|
if (PreviousDecodedUnusedSamples.Num())
|
2023-07-24 04:09:20 -04:00
|
|
|
{
|
2023-07-26 07:45:04 -04:00
|
|
|
check(NumRemainingSamplesToSkip == 0);
|
|
|
|
|
int32 MaxToCopyOut = OutputSizeToGo >= PreviousDecodedUnusedSamples.Num() ? PreviousDecodedUnusedSamples.Num() : OutputSizeToGo;
|
|
|
|
|
FMemory::Memcpy(OutputDataPtr, PreviousDecodedUnusedSamples.GetData(), MaxToCopyOut);
|
|
|
|
|
PreviousDecodedUnusedSamples.RemoveAt(0, MaxToCopyOut);
|
|
|
|
|
OutputSizeToGo -= MaxToCopyOut;
|
|
|
|
|
OutputDataPtr += MaxToCopyOut;
|
|
|
|
|
// If there is still something left over then we are done here.
|
|
|
|
|
Result.NumAudioFramesProduced += MaxToCopyOut / kFrameBytes;
|
|
|
|
|
if (OutputSizeToGo == 0 || PreviousDecodedUnusedSamples.Num())
|
|
|
|
|
{
|
|
|
|
|
Result.NumCompressedBytesConsumed = InputDataPtr - CompressedData;
|
|
|
|
|
Result.NumPcmBytesProduced = Result.NumAudioFramesProduced * kFrameBytes;
|
|
|
|
|
return Result;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
// Something left to decompress?
|
|
|
|
|
if (CompressedSizeToGo <= 0)
|
|
|
|
|
{
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Decode the next chunk.
|
|
|
|
|
const int32 AvailableSampleOutputSize = OutputSizeToGo / kFrameBytes;
|
|
|
|
|
|
|
|
|
|
int32 ChunkToDecodeSize = 0;
|
|
|
|
|
int32 ActualChunkSize = 0;
|
|
|
|
|
// Is this streaming?
|
|
|
|
|
const uint8* ChunkToDecodePtr = InputDataPtr;
|
|
|
|
|
if (!bIsStreaming)
|
|
|
|
|
{
|
|
|
|
|
// When not streaming each input data chunk is prepended with the size of the chunk.
|
|
|
|
|
ChunkToDecodeSize = (int32)InputDataPtr[0] + ((int32)InputDataPtr[1] << 8);
|
|
|
|
|
ActualChunkSize = ChunkToDecodeSize + 2;
|
|
|
|
|
ChunkToDecodePtr += 2;
|
2023-07-24 04:09:20 -04:00
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
2023-07-26 07:45:04 -04:00
|
|
|
// When streaming the chunk size is still prepended to the chunk, but is skipped over
|
|
|
|
|
// by the caller and provided as an argument.
|
|
|
|
|
ChunkToDecodeSize = CompressedDataSize;
|
|
|
|
|
ActualChunkSize = ChunkToDecodeSize;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int32 NumDecodedFrames = OpusDecoderWrapper->Decode(ChunkToDecodePtr, ChunkToDecodeSize, (int16*)OutputDataPtr, AvailableSampleOutputSize);
|
|
|
|
|
if (NumDecodedFrames >= 0)
|
|
|
|
|
{
|
|
|
|
|
CompressedSizeToGo -= ActualChunkSize;
|
|
|
|
|
InputDataPtr += ActualChunkSize;
|
|
|
|
|
if (NumRemainingSamplesToSkip)
|
|
|
|
|
{
|
|
|
|
|
if (NumRemainingSamplesToSkip >= NumDecodedFrames)
|
|
|
|
|
{
|
|
|
|
|
NumRemainingSamplesToSkip -= NumDecodedFrames;
|
|
|
|
|
NumDecodedFrames = 0;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
uint8* FirstUsable = OutputDataPtr + NumRemainingSamplesToSkip * kFrameBytes;
|
2023-08-02 08:52:23 -04:00
|
|
|
int32 UsableSize = (NumDecodedFrames - NumRemainingSamplesToSkip) * kFrameBytes;
|
2023-07-26 07:45:04 -04:00
|
|
|
FMemory::Memmove(OutputDataPtr, FirstUsable, UsableSize);
|
|
|
|
|
NumDecodedFrames -= NumRemainingSamplesToSkip;
|
|
|
|
|
NumRemainingSamplesToSkip = 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
Result.NumAudioFramesProduced += NumDecodedFrames;
|
|
|
|
|
OutputSizeToGo -= NumDecodedFrames * kFrameBytes;
|
|
|
|
|
OutputDataPtr += NumDecodedFrames * kFrameBytes;
|
|
|
|
|
}
|
|
|
|
|
// Was the remaining output buffer too small?
|
|
|
|
|
else if (NumDecodedFrames == OPUS_BUFFER_TOO_SMALL)
|
|
|
|
|
{
|
|
|
|
|
int32 NumSampleSpaceNeeded = GetMaxFrameSizeSamples();
|
|
|
|
|
int32 NumPrevBefore = PreviousDecodedUnusedSamples.Num();
|
|
|
|
|
PreviousDecodedUnusedSamples.AddUninitialized(NumSampleSpaceNeeded * kFrameBytes);
|
|
|
|
|
uint8* TempPtr = PreviousDecodedUnusedSamples.GetData() + NumPrevBefore;
|
|
|
|
|
NumDecodedFrames = OpusDecoderWrapper->Decode(ChunkToDecodePtr, ChunkToDecodeSize, (int16*)TempPtr, NumSampleSpaceNeeded);
|
|
|
|
|
if (NumDecodedFrames >= 0)
|
|
|
|
|
{
|
|
|
|
|
int32 NumPrevNow = NumDecodedFrames * kFrameBytes;
|
|
|
|
|
PreviousDecodedUnusedSamples.SetNum(NumPrevNow);
|
|
|
|
|
CompressedSizeToGo -= ActualChunkSize;
|
|
|
|
|
InputDataPtr += ActualChunkSize;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
UE_LOG(LogOpusAudioDecoder, Error, TEXT("opus_multistream_decode() returned %d while decoding into temporary buffer"), NumDecodedFrames);
|
|
|
|
|
return FDecodeResult();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
// A decode error of sorts.
|
|
|
|
|
UE_LOG(LogOpusAudioDecoder, Error, TEXT("opus_multistream_decode() returned %d"), NumDecodedFrames);
|
|
|
|
|
return FDecodeResult();
|
2023-07-24 04:09:20 -04:00
|
|
|
}
|
|
|
|
|
}
|
2023-07-26 07:45:04 -04:00
|
|
|
Result.NumCompressedBytesConsumed = InputDataPtr - CompressedData;
|
|
|
|
|
Result.NumPcmBytesProduced = Result.NumAudioFramesProduced * kFrameBytes;
|
2017-04-26 08:28:56 -04:00
|
|
|
}
|
2017-06-21 10:25:35 -04:00
|
|
|
return Result;
|
2014-07-04 09:47:36 -04:00
|
|
|
}
|
|
|
|
|
|
2023-07-24 04:09:20 -04:00
|
|
|
void FOpusAudioInfo::PrepareToLoop()
|
|
|
|
|
{
|
|
|
|
|
IStreamedCompressedInfo::PrepareToLoop();
|
2023-08-02 08:52:23 -04:00
|
|
|
NumRemainingSamplesToSkip = Header.NumSilentSamplesAtBeginning + Header.NumPreSkipSamples;
|
2023-07-26 07:45:04 -04:00
|
|
|
PreviousDecodedUnusedSamples.Empty();
|
2023-07-24 04:09:20 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FOpusAudioInfo::SeekToTime(const float InSeekTime)
|
|
|
|
|
{
|
2023-07-26 07:45:04 -04:00
|
|
|
if (GetStreamingSoundWave().IsValid())
|
|
|
|
|
{
|
|
|
|
|
IStreamedCompressedInfo::SeekToTime(InSeekTime);
|
|
|
|
|
}
|
|
|
|
|
else if (SrcBufferData && SrcBufferDataSize)
|
|
|
|
|
{
|
2023-09-27 10:20:58 -04:00
|
|
|
uint32 SeekFrameNum = 0;
|
2023-07-26 07:45:04 -04:00
|
|
|
if (InSeekTime > 0.0f)
|
|
|
|
|
{
|
2023-09-27 10:20:58 -04:00
|
|
|
SeekFrameNum = (uint32)(InSeekTime * Header.SampleRate);
|
2023-07-26 07:45:04 -04:00
|
|
|
}
|
|
|
|
|
|
2023-09-27 10:20:58 -04:00
|
|
|
SeekToFrame(SeekFrameNum);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void FOpusAudioInfo::SeekToFrame(const uint32 InSeekFrame)
|
|
|
|
|
{
|
|
|
|
|
if (GetStreamingSoundWave().IsValid())
|
|
|
|
|
{
|
|
|
|
|
IStreamedCompressedInfo::SeekToFrame(InSeekFrame);
|
|
|
|
|
}
|
|
|
|
|
else if (SrcBufferData && SrcBufferDataSize)
|
|
|
|
|
{
|
|
|
|
|
uint32 SeekSampleNum = InSeekFrame * NumChannels;
|
2023-07-26 07:45:04 -04:00
|
|
|
const uint8* ChunkPtr = SrcBufferData + AudioDataOffset;
|
|
|
|
|
const uint8* const EndPtr = SrcBufferData + SrcBufferDataSize;
|
|
|
|
|
uint32 CurrentChunkSampleNum = 0;
|
2023-09-27 10:20:58 -04:00
|
|
|
while (ChunkPtr < EndPtr)
|
2023-07-26 07:45:04 -04:00
|
|
|
{
|
|
|
|
|
uint32 ChunkSize = (uint32)ChunkPtr[0] + ((uint32)ChunkPtr[1] << 8);
|
|
|
|
|
int32 ExpectedFrames = opus_packet_get_nb_frames(ChunkPtr + 2, ChunkSize);
|
2023-07-27 08:44:28 -04:00
|
|
|
int32 ExpectedFrameSize = opus_packet_get_samples_per_frame(ChunkPtr + 2, Header.EncodedSampleRate);
|
2023-09-14 19:21:34 -04:00
|
|
|
int32 NumExpectedTotal = ExpectedFrames * ExpectedFrameSize * NumChannels;
|
2023-07-26 07:45:04 -04:00
|
|
|
|
|
|
|
|
if (CurrentChunkSampleNum >= SeekSampleNum && SeekSampleNum < CurrentChunkSampleNum + NumExpectedTotal)
|
|
|
|
|
{
|
|
|
|
|
CurrentSampleCount = CurrentChunkSampleNum;
|
|
|
|
|
SrcBufferOffset = ChunkPtr - SrcBufferData;
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
CurrentChunkSampleNum += NumExpectedTotal;
|
|
|
|
|
ChunkPtr += ChunkSize + 2;
|
|
|
|
|
}
|
|
|
|
|
// Not found?
|
|
|
|
|
if (ChunkPtr >= EndPtr)
|
|
|
|
|
{
|
|
|
|
|
CurrentSampleCount = SeekSampleNum;
|
|
|
|
|
SrcBufferOffset = SrcBufferDataSize;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2023-08-02 08:52:23 -04:00
|
|
|
NumRemainingSamplesToSkip = Header.NumSilentSamplesAtBeginning + Header.NumPreSkipSamples;
|
2023-07-26 07:45:04 -04:00
|
|
|
PreviousDecodedUnusedSamples.Empty();
|
2024-01-17 11:51:40 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class OPUSAUDIODECODER_API FOpusAudioDecoderModule : public IModuleInterface
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TUniquePtr<IAudioInfoFactory> Factory;
|
|
|
|
|
|
|
|
|
|
virtual void StartupModule() override
|
|
|
|
|
{
|
|
|
|
|
Factory = MakeUnique<FSimpleAudioInfoFactory>([] { return new FOpusAudioInfo(); }, Audio::NAME_OPUS);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
virtual void ShutdownModule() override {}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
IMPLEMENT_MODULE(FOpusAudioDecoderModule, OpusAudioDecoder)
|