Commit Graph

31 Commits

Author SHA1 Message Date
Steve Robb
0756ef15b9 Delegate comparisons deprecated, lots of other associated code deprecated, and lots of warning fixups:
* Multicast delegate Add* calls now return FDelegateHandles, and Remove* calls are now all deprecated, except for a new Remove function which takes a FDelegateHandle.
* New FConsoleManager::RegisterConsoleVariableSink_Handle and UnregisterConsoleVariableSink_Handle functions which work in terms of FConsoleVariableSinkHandle.
* Timer calls which don't take FTimerHandles are deprecated.
* FTicker::AddTicker now returns an FDelegateHandle and is removed by an overloaded Remove function.
* DEFINE_ONLINE_DELEGATE* macros now define _Handle variants of the Add/Remove functions which return/take handles.
* Various other handle-based registration changes.
* Some unity build fixes.
* Some simplification of delegate code.
* Fixes for lots of existing code to use handle-based registration and unregistration.

#codereview robert.manuszewski

[CL 2400883 by Steve Robb in Main branch]
2015-01-08 09:29:27 -05:00
Michael Trepka
9c522df7ef Initial support for Android deployment on Mac
[CL 2386013 by Michael Trepka in Main branch]
2014-12-11 15:30:24 -05:00
Josh Adams
fd3d1c2a1a [Important BUNs in here]
- Enabled ES31 for GitHub/P4 users (currently only works on a Tegra K1 with recent system software)
- Always use separate APKs - this means that all APKs will have -armv7-es2 (or whatever) in their name. This may affect scripts, etc people have written
- Fixed a bug when using multiple java libraries (for users who add their own libs)
- Properly collapse Android devices into a single device with multiple variants. LaunchOn will now choose the best format based on the connected device. If you want to override the format, you will need to use the ProjectLauncher
- Added Android serial number to the device type, in case you have multiple devices of the same type (also fixes [UE-3770])
#codereview niklas.smedberg,chris.babcock

[CL 2385821 by Josh Adams in Main branch]
2014-12-11 13:44:41 -05:00
Ben Marsh
149375b14b Update copyright notices to 2015.
[CL 2379638 by Ben Marsh in Main branch]
2014-12-07 19:09:38 -05:00
Max Preussner
d206670ffe TargetPlatform: Replaced namespaced enums with enum classes
[CL 2326174 by Max Preussner in Main branch]
2014-10-10 20:14:21 -04:00
Daniel Lamb
715846941d Stopped tick cook on the side from waiting on save package for async cooked items to cache.
Now editor will tick at a decent frame rate while building shaders / caching textures.
#codereview Josh.Adams, Daniel.Wright, Matthew.Griffin

[CL 2318857 by Daniel Lamb in Main branch]
2014-10-03 14:56:20 -04:00
Michael Noland
928559eaa0 Editor: Coding-standards fixes (TypeName [*|&] VariableName -> TypeName[*|&] VariableName)
[CL 2316341 by Michael Noland in Main branch]
2014-10-01 14:45:23 -04:00
Michael Noland
d9b88d97e2 Android: Improving device detection/display
- Improve device detection logic to detect unauthorized devices and query SDK and release versions
- Add SDK versions to OS version display in the device manager
#codereview chris.babcock

[CL 2315490 by Michael Noland in Main branch]
2014-09-30 23:41:01 -04:00
Chris Gagnon
9ccd8c9ec4 Target Platform API added to provide more information about variants and variant support.
Device Services Refactoring to create the concept of a physical device.
Game launcher and device viewer UI changes to show these new concepts.
#codereview Max.Preussner, Matt.Kuhlenschmidt

[CL 2290918 by Chris Gagnon in Main branch]
2014-09-09 12:20:43 -04:00
Robert Jones
e48d3bce23 Moving settings for audio compression control under the Android tab on the project properties.
#codereview daniel.lamb, chris.babcock

[CL 2276239 by Robert Jones in Main branch]
2014-08-28 11:19:16 -04:00
Robert Jones
59e26dac0b Removed unneed log spam from Audio Compression Type detection code.
[CL 2267446 by Robert Jones in Main branch]
2014-08-22 10:49:17 -04:00
Robert Jones
7fc6cbc209 Changed TEXT("") to FName when checking the audio type
Changed the routine which decides which format so that it only does the compare once and then returns that value for the whole cook.

#codereview Daniel.Lamb, Chris.Babcock

[CL 2262575 by Robert Jones in Main branch]
2014-08-19 11:11:25 -04:00
Robert Jones
566d29dd25 #ttp 334858 Android : Support ADPCM
Added support for ADPCM decoding.
Added 'sound type' information to USoundWave
- Android uses this to detect which type of asset it needs to deal with
Added support for selected encoding type via project settings

#codereview Daniel.Lamb, Chris.Babcock

[CL 2260750 by Robert Jones in Main branch]
2014-08-18 09:13:38 -04:00
Rolando Caloca
e04529bde3 UE4 - Fix text render actors showing blocky on mobile (TTP 342605)
[CL 2237408 by Rolando Caloca in Main branch]
2014-07-30 15:36:36 -04:00
Daniel Lamb
4c4301e15d Fixed mac build.
[CL 2229192 by Daniel Lamb in Main branch]
2014-07-23 20:37:35 -04:00
Daniel Lamb
e86541c1da Changed FAndoridTargetPlatform to take template parameter for the AndroidPlatformProperties, so that the PlatformProperties retrieved from the FTargetplatform are correct.
#codereview Jamie.Dale

[CL 2228904 by Daniel Lamb in Main branch]
2014-07-23 15:31:52 -04:00
James Moran
99b1f45e56 multiple android target platform symbols CIS fix.
[CL 2228772 by James Moran in Main branch]
2014-07-23 13:46:03 -04:00
Jaroslaw Palczynski
ebce413232 UE4 Refactoring. Changed OVERRIDE and FINAL macros to keywords override and final.
[CL 2104397 by Jaroslaw Palczynski in Main branch]
2014-06-13 06:14:46 -04:00
Daniel Lamb
b290ae81bf Added back in the DesktopPlatform to androidtargetPlatform.build.cs.
[CL 2096444 by Daniel Lamb in Main branch]
2014-06-05 19:50:37 -04:00
Daniel Lamb
a778a329b9 Fixed build for android.
[CL 2096170 by Daniel Lamb in Main branch]
2014-06-05 16:42:37 -04:00
Jamie Dale
0cfe5f0651 Added PlatformInfo to DesktopPlatform and improved the editors Supported Platform UI
TTP# 337136 - SETTINGS: Target Platform settings polish
TTP# 337652 - EDITOR: Limit Project supported Android icons down to 1
TTP# 337650 - EDITOR: There is only 1 icon for Apple for Project Supported Platforms

DesktopPlatform now contains a static array of FPlatformInfo. This can be used to query UE4 about its available platforms, even when they're not available as a target platform.

FPlatformInfo contains the information required by the editor (such as a localized display name and icon), as well as whether a platform is a variation ("flavor") of another, and if so, whether the flavor affects the build output (eg, Win32 or Win64), or the cook output (eg, Android_XYZ). This lets the editor build up nested menus for the "Package Project" and "Cook Project" options, rather than just showing everything as a flat list.

ReviewedBy Thomas.Sarkanen, Max.Preussner

[CL 2095796 by Jamie Dale in Main branch]
2014-06-05 12:13:44 -04:00
James Golding
ef2ce42e35 Fix Android CIS
[CL 2087006 by James Golding in Main branch]
2014-05-29 17:26:51 -04:00
Terence Burns
ed12de7f13 Added support to configure which target RHI's we desire on platforms.
User can now select target RHI's for windows under: Edit->Project Preferences->Windows->Targeted RHIs

Split up GetShaderFormats into GetAllPossibleShaderFormats and GetAllTargetedShaderFormats.
D3D11 and D3D10 remain the only two on, by default, for windows.

#ReviewedBy Nick.Penwarden

[CL 2068025 by Terence Burns in Main branch]
2014-05-09 08:51:44 -04:00
Dmitry Rekman
123eaf1a69 Removed unused GetBuildArtifacts() from ITargetPlatform (this is now being done in UAT).
#codereview Peter.Sauerbrei

[CL 2059006 by Dmitry Rekman in Main branch]
2014-04-29 21:53:09 -04:00
Max Preussner
b4342fa320 fixed incorrect module dependencies in various target platforms
[CL 2048457 by Max Preussner in Main branch]
2014-04-23 19:17:54 -04:00