Commit Graph

19 Commits

Author SHA1 Message Date
Jaroslaw Palczynski
399074d7ea DonÆt default to æpublicÆ protection level in classes.
UECORE-8

[CL 2327190 by Jaroslaw Palczynski in Main branch]
2014-10-13 10:31:50 -04:00
Jaroslaw Palczynski
cc0f6d9a4e UObject custom constructors.
In order to use new feature user have to change GENERATED_UCLASS_BODY() macro to the new GENERATED_BODY(). Then no constructor is implicitly declared. If there is no constructor declared in UCLASS then PCIP one is declared and defined that passes PCIP down to super-class. On the other hand if there is a constructor declared then UObject system expects to have one of the default or PCIP constructor to initialize a class during loading from disk, default object creation, etc. and it expects that user will declare and define one.

There is a possibility now to create UCLASS with the default constructor (i.e. no PCIP).

New macro is encouraged by standard classes and in-editor wizards templates.

#codereview Robert.Manuszewski

[CL 2325282 by Jaroslaw Palczynski in Main branch]
2014-10-10 04:34:56 -04:00
Zak Middleton
ac72e78446 #docs - Cleaned up comments in Object.h (skeleton definitions for core object module)
- Added links to actual source files. Lots of times intellisense/VA will take you to the less helpful skeleton file rather than the actual source file.

[CL 2313538 by Zak Middleton in Main branch]
2014-09-29 18:07:04 -04:00
Max Preussner
9161c8766f BP: Added some initial support for using GUIDs in blueprints (GitHub PR# 467 by james0x0A)
https://github.com/EpicGames/UnrealEngine/pull/467

- did not expose FGuid fields in BPs
- removed ZeroedGuid() because NewGuid() is already zeroed
- made the string conversion function match ToString() behavior
- cosmetic changes

[CL 2311319 by Max Preussner in Main branch]
2014-09-26 14:12:18 -04:00
Niklas Smedberg
bb8f417304 Support for OpenGL ES 3.1 + Android Extension Pack
[CL 2303212 by Niklas Smedberg in Main branch]
2014-09-18 17:49:40 -04:00
Max Preussner
e8fec6b059 Core: better Blueprint and serialization support for FDateTime and FTimespan
[CL 2283641 by Max Preussner in Main branch]
2014-09-03 18:45:37 -04:00
Max Preussner
473ca54b50 Core: temp fix for destructable mesh deserialization crash
[CL 2283304 by Max Preussner in Main branch]
2014-09-03 14:48:00 -04:00
Max Preussner
509791f48e Core: temp hack to make FTimespan BP math functions work
#CodeReview: nick.whiting

[CL 2283276 by Max Preussner in Main branch]
2014-09-03 14:22:52 -04:00
Max Preussner
8717dd9637 Editor: Added details view customization for FDateTime and FTimespan; also some code cleanup
#CodeReview: david.nikdel

[CL 2282244 by Max Preussner in Main branch]
2014-09-02 19:28:15 -04:00
bruce nesbit
dafc3130ec Added several string manipulation functions to blueprint string library.
(Added Mirrored enums for ESearchCase and ESearchDir to object.h)

[CL 2276045 by bruce nesbit in Main branch]
2014-08-28 08:48:17 -04:00
Max Preussner
9c36092d30 BP: Exposed FDateTime and FTimespan types to Blueprints
#CodeReview: nick.whiting

[CL 2271436 by Max Preussner in Main branch]
2014-08-25 19:48:16 -04:00
Dmitriy Dyomin
155ec0e778 Changed world origin to a 3d location instead of 2d. Exposed Get/Set OriginLocation functions to blueprints.
[CL 2246744 by Dmitriy Dyomin in Main branch]
2014-08-07 05:00:43 -04:00
Jaroslaw Palczynski
b30666376e StringClassReference needs to work with cooking and redirects
TTP# 338203

Refactored StringClassReference to be a subclass of StringAssetReference.

[CL 2226863 by Jaroslaw Palczynski in Main branch]
2014-07-22 08:14:39 -04:00
Marc Audy
b0d97f1e53 Allow Rotator pins to be split
[CL 2109579 by Marc Audy in Main branch]
2014-06-18 14:47:24 -04:00
Marc Audy
d27253169e Allow blueprint struct pins to be split in to their component elements on the node instead of requiring a make/break node be used.
[CL 2106993 by Marc Audy in Main branch]
2014-06-16 10:30:41 -04:00
Daniel Wright
1464dcf2c3 Distance field AO using a surface cache
* Provides mid-range stable AO for dynamic rigid meshes
* Movable sky lights are now supported, and distance field AO is used for shadowing Movable sky lighting from dynamic scenes
* Static meshes are preprocessed into signed distance field volumes at mesh build time when the r.AllowMeshDistanceFieldRepresentations project setting is enabled
* Non-uniform scaling does not work with this method (mirroring is fine), animating through world position offset also causes artifacts as the two representations diverge
* Occlusion is computed along cones to reduce over-shadowing, object distance fields are operated on directly (no hierarchy) to obtain enough resolution to prevent leaking, visibility traces are done with cone stepping to allow better parallelization, and shading is done adaptively in space and time using the surface cache.

[CL 2093556 by Daniel Wright in Main branch]
2014-06-03 15:53:13 -04:00
Nick Darnell
2953854fff Adding displayname metadata for the enum EInterpCurveMode
[CL 2040226 by Nick Darnell in Main branch]
2014-04-23 17:38:21 -04:00
Richard TalbotWatkin
8f4ba21f1a #ttp 329821 - EDITOR: SETTINGS: Max and Min smoothed frame rates can be set invertedly
#branch UE4
#proj Runtime.Engine
#summary Implemented a struct customization for FRange and changed these two properties to an FRange, which can be accordingly clamped.
#add Implemented FRangeStructCustomization<> for FFloatRange and FInt32Range.
#add Implemented FFloatRange and FInt32Range mirrors in Object.h, for use by UHT.
#change Changed the Type member of TRangeBound to be an explicitly sized TEnumAsByte instead of a plain enum (so that the mirrored structs for UHT are guaranteed to match).
#change Changed Min and MaxSmoothedFrameRate members in UEngine to use a FFloatRange and added appropriate metadata.
#reviewedby Chris.Wood, Max.Preussner

[CL 2039474 by Richard TalbotWatkin in Main branch]
2014-04-23 17:26:16 -04:00
Tim Sweeney
324683ce78 Engine source (Main branch up to CL 2026164) 2014-03-14 14:13:41 -04:00