Commit Graph

45 Commits

Author SHA1 Message Date
mafiesto4 79bf226fe1 Codestyle fix 2023-09-18 12:11:28 +02:00
Andrew Spiering 3ac00b1e4e Fixing a crash when generic classes spanned across different assemblies
This code attempts to resolve an issue where if you had a class in Assembly A and it was generic and you had a class that inherited from it in Assembly B it would not properly resolve these classes, also added an error check for if I was not able to find the TypeIndex then log it and return thus also preventing a crash when it goes to resolve the NativeType
2023-09-17 20:37:37 -07:00
mafiesto4 0694f87b0d Fixes for Visual Scripting interop via C# on new dotnet7 hosting 2023-03-28 12:01:55 +02:00
mafiesto4 ed13de2d5b Fix using managed arrays with Variant in dotnet7 2023-03-27 19:41:53 +02:00
mafiesto4 510fc443e8 Refactor CoreCLR runtime into explicit dotnet api instead of mocking mono api
Required by platforms that will use mono under the hood for .Net 7
New `USE_CSHARP` define for C# ability
Engine doesn't use `mono_*` apis directly but via MCore/MClass/MMethod/ apis
2023-03-27 17:29:42 +02:00
GoaLitiuM c838a800b6 Add error logging for module initializers 2023-03-05 19:32:23 +02:00
mafiesto4 ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
mafiesto4 c785a17ca8 Fix crash on exit due to remaining DefautlInstance objects 2023-02-10 11:27:01 +01:00
mafiesto4 0270772463 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-06 10:02:13 +01:00
mafiesto4 87549a3e6c Fix sort order usage in multi-pass drawing of the Mesh 2023-01-28 01:31:07 +01:00
mafiesto4 eebc4951de Merge branch '1.5' into dotnet7
# Conflicts:
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit-agent.exe
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/agents/net40/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/agents/net7.0/nunit.agent.addins
#	Source/Platforms/DotNet/NUnit/nunit.engine.api.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.core.dll
#	Source/Platforms/DotNet/NUnit/nunit.engine.dll
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe
#	Source/Platforms/DotNet/NUnit/nunit3-console.exe.config
#	Source/Platforms/DotNet/NUnit/testcentric.engine.metadata.dll
#	Source/Tools/Flax.Build/Deps/Downloader.cs
#	Source/Tools/Flax.Stats/CodeFrame.cs
#	Source/Tools/Flax.Stats/CodeFrameNode.cs
#	Source/Tools/Flax.Stats/Flax.Stats.Build.cs
#	Source/Tools/Flax.Stats/Languages.cs
#	Source/Tools/Flax.Stats/Program.cs
#	Source/Tools/Flax.Stats/TaskType.cs
#	Source/Tools/Flax.Stats/Tools.cs
#	Source/Tools/FlaxEngine.Tests/TestEditorUtils.cs
2023-01-10 15:49:44 +01:00
mafiesto4 a7e428a21c Merge branch 'master' into 1.5
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Editor/CustomEditors/Editors/ActorTagEditor.cs
#	Source/Engine/Core/Config/GraphicsSettings.cpp
#	Source/Engine/Engine/PostProcessEffect.cs
#	Source/Engine/Graphics/GPUResourcesCollection.cpp
#	Source/Engine/Graphics/GPUResourcesCollection.h
#	Source/Engine/Graphics/PostProcessBase.h
#	Source/FlaxEngine.Gen.cs
2023-01-10 15:37:55 +01:00
mafiesto4 9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
GoaLitiuM 96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
mafiesto4 00be6ffb89 Merge branch 'master' into 1.5 2022-10-29 20:45:51 +02:00
mafiesto4 6379171fa6 Fix crash due to bdb69d57dd (Mono typenames are invalid after dll unloaded) 2022-10-29 18:56:21 +02:00
mafiesto4 77f8df02e5 Add ModuleInitializer attribute for C# scripting initialization code running on load 2022-10-12 17:00:40 +02:00
mafiesto4 bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
mafiesto4 b815ba51a5 Fix build issues 2022-06-13 23:37:11 +02:00
mafiesto4 a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
mafiesto4 ed908a260e Add support for Double2/3/4 for Variant
Increase size to 40 bytes to store Double3 without allocations
Change Ray and BoundingBox to be stored inlined in BoundingBox
Use safer accessors to read Variant explicit data type
2022-05-20 18:10:35 +02:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 31bbd586db Add scripting enums as ScriptingType 2021-11-19 16:43:02 +01:00
mafiesto4 f87544bbaf Add ScriptingTypeHandle::IsSubclassOf 2021-10-23 16:43:17 +02:00
mafiesto4 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
mafiesto4 45e3da3f90 Fix compilation issues 2021-10-08 17:03:11 +02:00
mafiesto4 e92c22585a Add support for using interfaces in Visual Scripting 2021-10-04 12:26:35 +02:00
mafiesto4 c3c0a4ef0d Add support for interfaces in scripting API (cross language support C++/C#/VS) 2021-10-04 12:26:08 +02:00
mafiesto4 ba8f7c5ab4 Add improvements for native interfaces usage 2021-09-29 16:33:25 +02:00
mafiesto4 e2cd0393ac Add ManagedBinaryModule::FindModule utility for C# type class lookup 2021-09-29 15:46:17 +02:00
mafiesto4 8d512eb1d3 Add ScriptingTypeHandle::IsAssignableFrom 2021-09-23 13:46:47 +02:00
mafiesto4 847641f655 Fix crash when spawning C# object that inherits from abstract C++ class 2021-08-08 19:10:51 +02:00
mafiesto4 9f9e5b49cc Add more profile events 2021-07-06 16:17:11 +02:00
mafiesto4 05f919c50f Optimization and tweaks 2021-05-02 11:25:33 +02:00
mafiesto4 0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
mafiesto4 b193a7abc4 Add support for binary modules with native-code only 2021-02-25 13:01:15 +01:00
mafiesto4 6fd1580d67 Fix building on linux after merge 2021-02-16 19:01:00 +01:00
mafiesto4 efea842486 Fix warning 2021-02-01 16:23:57 +01:00
mafiesto4 cbbfb16628 Add scripting API events in Visual Script 2021-01-22 10:55:13 +01:00
mafiesto4 cc8e78b505 Merge remote-tracking branch 'origin/master' into navigation-features
# Conflicts:
#	Source/Editor/Content/Settings/NavigationSettings.cs
#	Source/Engine/Engine/PhysicalMaterial.cs
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Api.cs
2021-01-04 14:31:56 +01:00
mafiesto4 8dc5b11f51 Add API_INTERFACE to scripting API bindings for implementing interfaces 2021-01-04 14:18:59 +01:00
jb-perrier 03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
mafiesto4 e242dbf89f Add missing code for ScriptingType copy/move 2020-12-23 12:58:31 +01:00
mafiesto4 4665e8fbdb Add support for basic classes to Scripting Type (without scripting object as a base) 2020-12-22 12:55:57 +01:00
mafiesto4 6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00