Commit Graph

26 Commits

Author SHA1 Message Date
Dan Oconnor
649bb4acb6 Fixes for cast nodes in cpp backend, to test just generate code for BP_Node_Basic
[CL 2697378 by Dan Oconnor in Main branch]
2015-09-18 14:10:51 -04:00
Maciej Mroz
a23caa0f03 UEBP-40 C++ code generation (WIP):
- refactor
- DynamicClass support
- various bugs

#codereview Mike.Beach, Dan.OConnor, Phillip.Kavan, Robert.Manuszewski

[CL 2686106 by Maciej Mroz in Main branch]
2015-09-10 09:15:43 -04:00
Maciej Mroz
446c40f58e UEBP-40 C++ code generation (WIP):
- Refactor, Introduced function FEmitHelper::GetCppName

#codereview Dan.OConnor

[CL 2682851 by Maciej Mroz in Main branch]
2015-09-08 06:44:17 -04:00
Maciej Mroz
bec08e1390 UEBP-40 C++ code generation (WIP):
- Gathering coverted class dependencies - fixed and refactored
- improved list of included headers and forward-declared structs

#codereview Mike.Beach

[CL 2681924 by Maciej Mroz in Main branch]
2015-09-06 07:59:37 -04:00
Maciej Mroz
fb4eac5733 UEBP-40 C++ code generation (WIP):
- Get Class Defaults is handled

[CL 2664426 by Maciej Mroz in Main branch]
2015-08-21 10:56:21 -04:00
Maciej Mroz
39145ac154 UEBP-40 C++ code generation (WIP):
- fixed #include list
- improved automatic casts
- temporary enum fix

[CL 2662599 by Maciej Mroz in Main branch]
2015-08-20 09:57:51 -04:00
Maciej Mroz
d47458045a typo fixed: Should in
ShoulsHandleAsImplementableEvent
ShoulsHandleAsNativeEvent

[CL 2659214 by Maciej Mroz in Main branch]
2015-08-18 09:51:49 -04:00
Maciej Mroz
94212b39e7 UEBP-40 C++ code generation (WIP):
- improved CustomThunk support
- MakeArray fix

[CL 2659156 by Maciej Mroz in Main branch]
2015-08-18 08:22:17 -04:00
Maciej Mroz
8b021d26b6 UEBP-40 C++ code generation (WIP):
- code was split into many files and refactored
- return and infinite loop fix
- generated code uses "GloballyMappedObjects" instead "LoadObject"
- various improvements

[CL 2657628 by Maciej Mroz in Main branch]
2015-08-17 05:38:30 -04:00
Maciej Mroz
3e409622bd UEBP-40 C++ code generation (WIP):
- code refactor
- Latent info support
- Literal structures are properly generated

[CL 2657543 by Maciej Mroz in Main branch]
2015-08-17 02:54:13 -04:00
Maciej Mroz
aa6b67144f UEBP-40 C++ code generation (WIP):
- code refactor
- inner structure properties are compared against default data

[CL 2654449 by Maciej Mroz in Main branch]
2015-08-13 08:33:51 -04:00
Maciej Mroz
72e5cfaab2 UEBP-40 C++ code generation (WIP):
- timelines
- component delegate binding
- various improvements

[CL 2650820 by Maciej Mroz in Main branch]
2015-08-11 03:47:36 -04:00
Maciej Mroz
6ae197307e UEBP-40 C++ code generation (WIP):
- timelines
- "AddComponent" support
- class subobjects are stored in UClass::MiscObjects
- various fixed, FDefaultValueHelperContext

#codereview Nick.Whiting, Mike.Beach

[CL 2648953 by Maciej Mroz in Main branch]
2015-08-08 05:43:51 -04:00
Maciej Mroz
29306fc565 UEBP-40 C++ code generation (WIP):
- Generating Components!
- FEmitDefaultValueHelperimprovements
- KCST_GotoReturn fixed
- constructor fixed
- ProcessUserConstructionScript is called on all actors

#codereview Nick.Whiting

[CL 2643240 by Maciej Mroz in Main branch]
2015-08-04 07:01:41 -04:00
Maciej Mroz
f2721ccff3 UEBP-40 C++ code generation (WIP):
- Enum/Byte conversion
- FEmitDefaultValueHelper improvements
- Object constructor - early version (no subobjects/components)

[CL 2641892 by Maciej Mroz in Main branch]
2015-08-03 10:25:29 -04:00
Maciej Mroz
753ab509a0 UEBP-40 C++ code generation (WIP):
- CppBackend: A prototype of the navite code generating - to create default values in a struct.
- Added PPF_ExportCpp flag. Work In Progress.

#codereview Nick.Whiting

[CL 2638411 by Maciej Mroz in Main branch]
2015-07-30 05:56:25 -04:00
Maciej Mroz
c73e6aef8c UEBP-40 C++ code generation (WIP):
- interface is called with "::Execute_"
- interface functions are BlueprintNativeEvents
- CppFromBpEvent metadata added, to force FUNC_Event
- BlueprintNativeEvent support
- BlueprintImplementableEvent support

[CL 2635382 by Maciej Mroz in Main branch]
2015-07-28 10:40:16 -04:00
Maciej Mroz
8c42f3e595 UEBP-40 C++ code generation (WIP):
- Including headers
- Safe context for getters/setters
- improved literals and default values
- basic Interface handling
- better OOB array handling

[CL 2634486 by Maciej Mroz in Main branch]
2015-07-27 16:26:36 -04:00
Maciej Mroz
63eca0da96 UEBP-40 C++ code generation (WIP):
Structs and Enums
Many improvements in BlueprintCompilerCppBackend

[CL 2628742 by Maciej Mroz in Main branch]
2015-07-22 06:25:54 -04:00
Maciej Mroz
a891ed0d92 C++ Backend - support for SwitchValue and inline statements
[CL 2619914 by Maciej Mroz in Main branch]
2015-07-14 06:59:49 -04:00
Steve Robb
72dec33d8f ensureOnce is now ensure.
ensure is now ensureAlways.
Redundant ensureMsg removed and replaced with ensureMsgf.
'debug ensureAlways' command added.

#codereview robert.manuszewski
#platformnotify josh.adams

[CL 2616422 by Steve Robb in Main branch]
2015-07-10 05:31:32 -04:00
Maciej Mroz
bd0800d561 FScriptBuilderBase::EmitDestinationExpression properly handles Array properties.
[UE-18227][UE-18185]
Restored changelist 2610237 (UE-16083).
Back out changelist 2611758.

#codereview Mike.Beach, Terence.Burns

[CL 2612142 by Maciej Mroz in Main branch]
2015-07-07 05:57:11 -04:00
Mike Beach
ada8c2e0d2 [UE-18227] Back out changelist 2610237 (UE-16083) - Was causing a UMG VM crash (involing MakeArray); backed out until we can resolve that issue.
#codereview Maciej.Mroz

[CL 2611758 by Mike Beach in Main branch]
2015-07-06 18:14:22 -04:00
Maciej Mroz
c06b5ac97b UE-16083 Select node not passing by reference.
- New VM instruction: EX_SwithValue
- New KismetCompiledStatement: KCST_SwitchValue
- Functions from UKismetArrayLibrary don't have UArrayProperty input param anymore
- removed FBlueprintCompiledStatement::ArrayCoersionTermMap
- New Engine.ini option: [Kismet]bUseSelectRef - currently it's disabled
- FKCHandler_SelectRef - new implementation of Select node.

#codereview Nick.Whiting, Mike.Beach

[CL 2610237 by Maciej Mroz in Main branch]
2015-07-03 05:14:27 -04:00
Phillip Kavan
5948f6ee41 [UE-16820] Provide ability to access class default property values at runtime in a Blueprint script.
#codereview Maciej.Mroz, Nick.Whiting

[CL 2600715 by Phillip Kavan in Main branch]
2015-06-25 12:09:53 -04:00