Commit Graph

25 Commits

Author SHA1 Message Date
Mike Fricker
114458bf0f Clang warning fixes: Fixed missing 'override' specifiers
- Also removed some unreferenced functions that adding 'override' revealed

PR #1002 -- Thank you, Omar007!

[CL 2498415 by Mike Fricker in Main branch]
2015-04-01 07:20:55 -04:00
PaulEremeeff
3d878d5a79 PR #996: Fixing PVS-Studio warnings (Contributed by PaulEremeeff)
I have reviewed each change carefully, but it is a large change and I could have missed something! Here is a summary of the types of changes in this CL:
 * Made nullptr checks consistent (the plurality of the changes are of this type)
 * Completed switch statements (IE, switch did not explicitly handle default case, but had unhandled enum entries - this is the second most popular type of fix)
 * Removed unused variables
 * Removed redundant initializations
 * WidgetNavigationCustomization.cpp was fixed by the owner
 * integers converted to floats where result was stored in a float
 * Removed redundent null checks (e.g. before delete statements)
 * Renamed variables to prevent non-obvious shadowing
 * Fixed use of bitwise & when checking for equality to an enum entry (which is often 0)
 * Fixes for some copy paste errors (e.g. FoliageEdMode.cpp)

[CL 2498053 by Dan Oconnor in Main branch]
2015-03-31 20:12:31 -04:00
Josh Adams
a98d6d5f5c - Changed Android ES31+AEP support from a TargetPlatform to a checkbox that works with any Android TP
- Moved HighQualityLightmap support check to IOSTargetPlatform so it can check project settings for Metal support
- Fixed some issues running on an x86_64 device
- Cleaned up some unused functions in TargetPlatform
#codereview niklas.smedberg

[CL 2478853 by Josh Adams in Main branch]
2015-03-13 14:05:13 -04:00
Niklas Smedberg
ca14047362 Android ASTC for ES2
[CL 2475760 by Niklas Smedberg in Main branch]
2015-03-11 17:28:22 -04:00
Josh Adams
56440f0048 - First checkin for the new DesktopTargetPlatform that will be able to cook packages for Windows, Mac, and Linux. So far, cooking on Windows and Mac and run on each other (with -opengl on Windows, since Mac can't currently compile D3D shaders)
[CL 2448658 by Josh Adams in Main branch]
2015-02-17 09:57:44 -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
Josh Adams
f80aba82b6 - Cleaned up the IOS texture format decision code
- Cleaned up the code to decide what shader formats to use
- Added separate IOSRuntimeSetting for bSupportsMetalMRT, and check it when using -metalmrt flag
#codereview rolando.caloca

[CL 2368996 by Josh Adams in Main branch]
2014-11-24 17:39:14 -05:00
Niklas Smedberg
f39fe4e6a2 Integrated Intel ISPC texture compression for BC6H / BC7
[CL 2365669 by Niklas Smedberg in Main branch]
2014-11-19 19:14:13 -05:00
Marcus Wassmer
f01736f196 Do PS4 Path shortening at staging time.
#codereview josh.adams,lee.clark

[CL 2365274 by Marcus Wassmer in Main branch]
2014-11-19 14:20:49 -05:00
Max Preussner
521937ee49 TargetPlatform: Documentation updates, cosmetic changes
[CL 2326223 by Max Preussner in Main branch]
2014-10-10 20:59:10 -04:00
Max Preussner
6a3a1f5434 Saved another kitten!
#CodeReview: peter.sauerbrei

[CL 2326220 by Max Preussner in Main branch]
2014-10-10 20:54:09 -04:00
Max Preussner
9b76cc08a3 Editor: Added ability to respond to multiple deployment errors; also saved a kitten
#CodeReview: peter.sauerbrei

[CL 2326217 by Max Preussner in Main branch]
2014-10-10 20:49:06 -04: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
Max Preussner
121fccd2ab Code and documentation cleanup pass
- removed dummy UClasses (no longer needed)
- removed file header comments (not used)
- removed duplicated function documentation in cpp files
- documentation cleanup, punctuation, spelling etc.
- pragma once include guards (now work on all platforms)
- relative public includes (are auto-discovered by UBT)
- fixed too many/too few line breaks
- deleted empty files
- missing override
- NULL to nullptr

[CL 2305058 by Max Preussner in Main branch]
2014-09-21 20:35:48 -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
Peter Sauerbrei
51fa18631b addition of errors to Launch On, Package, and Cook analytics
TTP341794
#ue4
#analytics

[CL 2240496 by Peter Sauerbrei in Main branch]
2014-08-01 20:30:13 -04:00
Peter Sauerbrei
7c07dd3526 better default implementation for IsReadyToBuld
#ue4

[CL 2227714 by Peter Sauerbrei in Main branch]
2014-07-22 18:28:41 -04:00
Marcus Wassmer
07fd4b83b0 Non monolithic projects will load AutoSDK environment properly.
#codereview Josh.Adams, dmitry.rekman, michael.trepka, ben.marsh

[CL 2227662 by Marcus Wassmer in Main branch]
2014-07-22 17:59:23 -04:00
Peter Sauerbrei
b6b022c89e addition of messaging when iOS cannot package due to missing iTunes, missing signing certificate, or missing mobile provision
TTP166302
part of TTP337760
TTP341402
#ue4
#ios

[CL 2227650 by Peter Sauerbrei in Main branch]
2014-07-22 17:53:31 -04:00
Joe Tidmarsh
d8e906b337 Added compression and sampler types for distance field fonts. Distance field fonts were previously being incorrectly re-linearized in ProcessMaterialColorTextureLookup (MaterialTemplate.usf)
#ttp 315746 - UE4: RENDERING: UE4 - Distance field fonts do not work on mobile / ES2

[CL 2212206 by Joe Tidmarsh in Main branch]
2014-07-14 06:08:01 -04:00
James Golding
e46a8b545c Make more classes able to be included directly
Rename Engine/Public/Texture.h to TextureResource.h
Move FTextureLODSettings into its own h/cpp files, change includes where relevant
Move FReferenceSkeleton into its own header (inc. FMeshBoneInfo) from SkeletalMeshTypes.h
#codereview roland.caloca

[CL 2137538 by James Golding in Main branch]
2014-07-04 08:02:14 -04:00
Matthew Griffin
7b37c1507d Preventing full data from being cooked in streaming sounds
Added platform feature/property for audio streaming so that it's not used on platforms that don't support it yet
Prevent full data from being cooked if sound is streaming AND streaming is supported on the cooked platform
Prevent streaming chunks from being cooked if cooked platform doesn't support streaming
Prevent the Resource data from being initialized and full data size being added to stats if sound is streaming

[CL 2130171 by Matthew Griffin in Main branch]
2014-07-03 06:07:49 -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
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
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00