Commit Graph

148 Commits

Author SHA1 Message Date
Wojciech Figat
5c24f8c365 Add ScriptingTypeHandle support for scripting bindings as System.Type 2022-10-13 13:35:15 +02:00
Wojciech Figat
09b35266f7 Add automatic network serializers generation for NetworkReplicated fields in C++ types 2022-10-12 11:22:53 +02:00
Wojciech Figat
09e50bb0e1 Simplify code in bindings generator 2022-10-11 11:38:35 +02:00
Wojciech Figat
4c71f40bc2 Add Module tags feature for build config in custom plugins 2022-10-10 15:02:52 +02:00
Wojciech Figat
4d08dc77b2 Add custom Tags for scripting api types to be used by plugins 2022-10-10 14:40:59 +02:00
Wojciech Figat
7924a62db6 Add support for custom types/members attributes parsing in scripting bindings 2022-10-10 14:38:54 +02:00
Wojciech Figat
5faa11e0a2 Fix reading type inheritance in bindings generation with comment at the end 2022-10-10 13:27:37 +02:00
Wojtek Figat
e6996ff22f Fix missing virtual C++ function override in C# if the thunk points to vtable index at offset=0 2022-09-14 22:14:25 +02:00
Wojtek Figat
1d7ba2210a Fix crash on API event in C# after Editor hot-reload 2022-09-01 22:55:29 +02:00
Wojciech Figat
e59de73948 Fix small issues 2022-08-02 16:53:31 +02:00
Wojtek Figat
fe1cab6a7f Add Default auto-generated member to scripting structures and improve deserialization 2022-08-01 18:49:54 +02:00
Wojtek Figat
bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
Wojtek Figat
2bd3c0f74f Add support for constexpr fields in Scripting API 2022-06-16 21:56:48 +02:00
Wojciech Figat
4cabf9de53 Merge remote-tracking branch 'origin/master' into gi 2022-06-14 12:03:28 +02:00
Wojciech Figat
c6e909c867 Refactor API_INJECT_CPP_CODE into API_INJECT_CODE to support code injection in other languages 2022-06-14 11:53:31 +02:00
Wojtek Figat
b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
1303740611 Add proper template types inflating with typedef searching for new scripting api features usage 2022-05-25 19:55:22 +02:00
Wojtek Figat
edbf0761d2 Minor code simplification 2022-05-25 19:54:50 +02:00
Wojtek Figat
a116a1fb8d Add FLAX_BUILD_BINDINGS define for Scripting API parser to be used if needed 2022-05-23 19:57:38 +02:00
Wojtek Figat
c87f2f5b56 Optimize empty comments parsing in Scripting API 2022-05-23 19:57:07 +02:00
Wojtek Figat
e4e5745101 Fix parsing comments for Scripting API types that are templates 2022-05-23 19:56:43 +02:00
Wojtek Figat
e9c8584656 Format code in Flax.Build 2022-05-23 19:56:13 +02:00
Wojtek Figat
85fd540b97 Add new API_TYPEDEF metadata for Scriptign API types instantiation (with Alias option) 2022-05-23 19:50:37 +02:00
Wojtek Figat
b70bce1746 Add support for generic types in Scripting API with Template flag 2022-05-23 19:43:34 +02:00
Wojtek Figat
d39b6d7120 Fix processing else and elif preprocessor blocks in Flax.Build bindings parser 2022-05-23 17:46:26 +02:00
Wojtek Figat
c0412cc4f4 Fix using preprocessor define values in Flax.Build bindings parsing 2022-05-23 17:45:18 +02:00
Wojtek Figat
4a9c746bed Add SoftAssetReference type 2022-02-28 23:15:35 +01:00
Wojtek Figat
56491569df Optimize C# bindings in Engine code to static functions that native ABI matches managed signature 2022-02-19 00:29:09 +01:00
Wojciech Figat
0cfb7e8cee Fix passing Span<byte> to C# method thunk in generated bindings code 2022-01-26 16:56:27 +01:00
Wojciech Figat
f801e7ffd9 Fixes 2022-01-21 16:23:30 +01:00
Wojtek Figat
37e11a4b1f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Engine/Physics/Physics.Queries.cpp
#	Source/Engine/Physics/Utilities.h
2022-01-20 23:29:59 +01:00
Wojtek Figat
a400568b51 Fix generated wrapper for classes with value types 2022-01-20 23:29:05 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojciech Figat
c72be46228 Remove automatic tooltips genration for CSharp scripting API (xml docs are used now in Editor) 2021-12-22 15:03:04 +01:00
Wojciech Figat
e778fe8342 Fix passing pointers as output pointer or reference in scripting api 2021-12-21 18:14:56 +01:00
Wojciech Figat
e9557352a0 Update copyright year in some source files 2021-12-08 09:44:10 +01:00
Wojciech Figat
23303802ec Add support for passing back value via reference to C# scripting event 2021-12-06 16:46:16 +01:00
Wojciech Figat
f4b62ce384 Add support for array initializers as default values for scripting fields 2021-12-06 16:45:03 +01:00
Wojciech Figat
05a37447a7 Fix reference to a pointer in TypeInfo for scripting bindings generation 2021-12-06 16:44:35 +01:00
Wojciech Figat
f3d93a4133 Add ScriptingEnum utility with useful features for C++ scripting 2021-11-19 16:48:04 +01:00
Wojciech Figat
31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
Wojciech Figat
6357cc6245 Fix typos 2021-11-15 16:39:13 +01:00
Wojciech Figat
3648f8bef2 Add Hidden attribute to scripting fields/properties/methods/events 2021-11-15 16:39:13 +01:00
Wojtek Figat
a37103af4a Fix regression from 5bd3032f78 2021-11-05 12:38:29 +01:00
Wojtek Figat
5bd3032f78 Add support for passing the object reference as scripting function output result 2021-11-05 11:46:40 +01:00
Wojtek Figat
67f0056121 Fix generated DefaultValue attribute to match the field value type 2021-11-03 19:25:44 +01:00
Wojtek Figat
7a0e2c01d4 Add support for parsing negation in scripting api preprocessor 2021-10-23 16:43:16 +02:00
Wojtek Figat
8938f13a0b Add support for compiling and running engine without C# scripting
(configurable via `EngineConfiguration.UseCSharp` in Flax.Build)
2021-10-23 16:43:15 +02:00
Wojtek Figat
5dbbfed654 PS5 support progress 2021-10-20 15:35:12 +02:00