Commit Graph

3504 Commits

Author SHA1 Message Date
Wojtek Figat
70228ca355 Various improvements to Variant 2023-08-17 15:29:11 +02:00
Wojtek Figat
c15a48b0b4 Allow Scripting Object as BT blackboard but don't support plain classes 2023-08-17 15:29:00 +02:00
Wojtek Figat
c18625e017 Add initial Behavior simulation 2023-08-17 15:26:31 +02:00
Wojtek Figat
d1e2d6699e Add bt nodes init 2023-08-16 22:28:48 +02:00
Wojtek Figat
dd8e05ed49 Add C#-only types for Variant value storage from 0cb049167b 2023-08-16 22:27:03 +02:00
Wojtek Figat
0cb049167b Add NewValue/DeleteValue to Variant for owned value storage 2023-08-16 18:29:59 +02:00
Wojtek Figat
18b47257fd Add **Behavior Tree** asset type and editing 2023-08-16 13:26:33 +02:00
Wojtek Figat
f8dc59d670 Change Debug to be static 2023-08-16 13:10:58 +02:00
Wojtek Figat
0e2d1b6ad2 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-14 18:14:59 +02:00
Wojtek Figat
66042845e4 Codestyle fixe 2023-08-14 16:13:55 +02:00
Wojtek Figat
4e81f80495 Merge branch 'replicationfix' of https://github.com/Withaust/FlaxEngine into Withaust-replicationfix 2023-08-14 16:03:27 +02:00
Wojtek Figat
3197479cc0 Merge branch 'object_destroynow_csharp' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-object_destroynow_csharp 2023-08-14 15:51:45 +02:00
Wojtek Figat
860dce487f Codestyle fixes 2023-08-14 15:47:24 +02:00
Wojtek Figat
6af6afc6a4 Merge branch 'managedhandlepool_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedhandlepool_refactor 2023-08-14 15:43:57 +02:00
Wojtek Figat
d5245f6a8c Merge branch 'managedarray_pool_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-managedarray_pool_cache 2023-08-14 15:39:44 +02:00
Wojtek Figat
342ec4c3c2 Merge branch 'arraytype_cache' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-arraytype_cache 2023-08-14 15:36:27 +02:00
Wojtek Figat
13e0582ef2 Codestyle fixes 2023-08-14 15:36:19 +02:00
Wojtek Figat
238ff38bf2 Merge branch 'invoker_ret_refactor' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-invoker_ret_refactor 2023-08-14 15:31:50 +02:00
Wojtek Figat
838af2bcbe Merge branch 'unboxvalue_fixes' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-unboxvalue_fixes 2023-08-14 15:28:24 +02:00
Wojtek Figat
212aba4375 Merge branch 'mclass_method_iter' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-mclass_method_iter 2023-08-14 15:24:47 +02:00
cd56101aa3 Expose Object::DeleteObjectNow as Object.DestroyNow in managed scripting 2023-08-13 23:46:38 +03:00
1b0976d99b Refactor ManagedHandlePool
Weak handles are now stored in one sets of dictionarys synchronized with
other threads. This so far seems the fastest way to manage the
dictionaries for now.
2023-08-13 22:14:37 +03:00
65de284a66 Optimize managed method invokers return value marshalling 2023-08-13 22:10:07 +03:00
d9ee8f4665 Cache pooled ManagedArray managed handles 2023-08-13 21:56:52 +03:00
27e1401fc7 Slightly improve MClass::GetMethod method iteration
Check the number of parameters first before expensive string comparison
2023-08-13 21:54:44 +03:00
1254af8bbb Optimize UnboxValue performance, safety and memory usage
- Avoids unnecessary boxing of the converted values by storing them in
unmanaged memory.
- Wrap ToNative-method in a delegate and cache it
- Fixes returning address to unpinned memory by pinning POD-types for
a short period of time.
2023-08-13 21:53:42 +03:00
44b70d87e5 Cache MakeArrayType results in native interop 2023-08-13 21:42:40 +03:00
Wiktor Kocielski
f44156eb80 Remove another unnecessary exposed CommonValue.h 2023-08-13 09:02:43 +03:00
Wiktor Kocielski
b35065ab3f Fix annoying error that happens due to an oversight 2023-08-12 03:58:28 +03:00
Wojtek Figat
e27f1a8a41 Merge remote-tracking branch 'origin/master' into 1.7 2023-08-10 18:34:27 +02:00
Wojtek Figat
7e75b9ad78 Merge branch 'skip_postprocess_pass' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-skip_postprocess_pass 2023-08-10 12:04:52 +02:00
Wojtek Figat
6da1a61726 Merge branch 'load_library_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-load_library_fix 2023-08-10 11:59:17 +02:00
Wojtek Figat
85eb3541eb Merge branch 'alc_reload_fix' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-alc_reload_fix 2023-08-10 11:56:17 +02:00
9d8105e3f3 Separate managed assembly unloading and scripting ALC reinitialization
Fixes an issue with multiple managed assemblies unloading and releasing
all cached data before native resources were fully released in other
assemblies.
2023-08-08 17:39:31 +03:00
Wiktor Kocielski
47c6e54406 Fix exposed public CommonValue inclusion 2023-08-08 08:45:14 +03:00
Wojtek Figat
1958adb126 Add AI module to engine 2023-08-04 13:19:03 +02:00
Wojtek Figat
b5fa5fa68e Add SerializableScriptingObject for easier serialization of scripting objects in gameplay or content 2023-08-04 10:11:58 +02:00
fe87eb96e6 Skip post processing when tonemapping and camera artifacts are disabled 2023-08-01 20:20:34 +03:00
db56284ca4 Fix WindowsPlatform::LoadLibrary to not modify the string parameter 2023-08-01 20:19:10 +03:00
Wojtek Figat
8dc98174cf Minor tweaks 2023-08-01 14:14:27 +02:00
Wojtek Figat
869649e5ed Merge remote-tracking branch 'origin/master' into 1.7 2023-08-01 14:05:49 +02:00
Wojtek Figat
94386d24ab Minor tweaks 2023-08-01 10:27:31 +02:00
Wojtek Figat
911cdb3f2d Softlock fix 2023-08-01 10:01:00 +02:00
Wojtek Figat
714b35b520 Merge branch 'mordorfix' of https://github.com/Withaust/FlaxEngine into Withaust-mordorfix 2023-08-01 09:59:36 +02:00
Wojtek Figat
cfab58ccc6 Fix some actor assets into soft checks 2023-08-01 09:57:38 +02:00
Wojtek Figat
8d48b27608 Merge branch 'dotnet_defines' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet_defines 2023-07-31 17:13:52 +02:00
3ba05f52df Add common .NET SDK preprocessor definitions 2023-07-30 21:57:44 +03:00
bf351f71bf Guard generic AssetReferenceAttribute to work only in .NET 7 2023-07-30 20:48:36 +03:00
06250fcb6d Implement a generic version of AssetReferenceAttribute 2023-07-30 20:40:30 +03:00
Wiktor Kocielski
383b21c108 Softlock fix 2023-07-29 18:55:29 +03:00