Commit Graph

89 Commits

Author SHA1 Message Date
Wojtek Figat
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
Wojtek Figat
eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +01:00
Wojtek Figat
2c1409c2a4 Add macOS build for dotnet7 2023-02-19 13:31:57 +01:00
Wojtek Figat
ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
Wojtek Figat
c785a17ca8 Fix crash on exit due to remaining DefautlInstance objects 2023-02-10 11:27:01 +01:00
Wojciech Figat
f3366178ea Refactor manually written managed bindings to use C-style exported P/Invoke 2023-01-23 18:14:38 +01:00
Wojciech Figat
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
Wojciech Figat
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
Wojciech Figat
9626e9bbb6 Update copyright year 2023-01-10 15:29:37 +01:00
Wojtek Figat
c53af39c92 Merge remote-tracking branch 'origin/1.5' into dotnet7 2023-01-08 15:05:56 +01:00
Wojtek Figat
4012434102 Fix test 2023-01-03 23:04:09 +01:00
759a9bd365 Fix native library resolver not working after hot-reload 2022-12-24 03:13:40 +02:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojtek Figat
4ba93d9d86 Code cleanup #765 2022-10-29 12:04:42 +02:00
Preben Eriksen
2efc97b64f Added: ScriptingObject* TryFindObject(MClass* mclass), Allow you from c++ to use MAssembly GetBinaryModuleGame, and get a monoobject from a class, monoobject is needed later to Invoke a method from the class. 2022-10-11 10:45:28 +02:00
Wojtek Figat
bb7d4f7812 Fix console builds 2022-08-07 21:06:17 +02:00
Wojtek Figat
bdb69d57dd Refactor Plugins system to support plugins in C++ scripts 2022-07-28 21:05:03 +02:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01: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
a72ac91ebc Fix support for codeless game projects 2021-10-05 15:54:55 +02:00
Wojtek Figat
a1bf4819cb Optimize calling Object.FindObject from C# 2021-08-19 13:06:20 +02:00
Wojtek Figat
27f2856e6d Optimize FindObject and TryFindObject in Object 2021-08-10 15:57:22 +02:00
Wojtek Figat
f7e47815ae Fix loading game binaries in Editor if they are still missing are recompile 2021-07-19 15:30:06 +02:00
Wojtek Figat
446458d20c Add PLATFORM_THREADS_LIMIT for maximum concurrency limiting 2021-07-08 00:34:48 +02:00
Wojtek Figat
6938821467 Add even more profiler events 2021-07-07 15:15:33 +02:00
Wojtek Figat
9f9e5b49cc Add more profile events 2021-07-06 16:17:11 +02:00
Wojtek Figat
99012725dc Adjust includes 2021-06-17 14:15:19 +02:00
Wojtek Figat
bbbcfb707d Fix crash on null type 2021-06-14 14:28:16 +02:00
Wojtek Figat
fd3553f668 Add support for Tracy on Android 2021-05-13 16:24:35 +02:00
Wojtek Figat
aa7c467679 Fix some profile event names 2021-05-04 00:16:01 +02:00
Wojtek Figat
0e75dba142 Optimize C++ compilation time 2021-04-30 16:27:57 +02:00
Wojtek Figat
bdde0af771 Fix typos 2021-04-27 10:22:06 +02:00
Wojtek Figat
0d422ec169 Remove unused include 2021-04-17 19:38:31 +02:00
Wojtek Figat
b2c824b77e Fix various memory leaks on exit 2021-03-14 23:58:03 +01:00
Wojtek Figat
b193a7abc4 Add support for binary modules with native-code only 2021-02-25 13:01:15 +01:00
Wojtek Figat
c9860f21ec Fix scripting object issue 2021-02-08 19:42:04 +01:00
Wojtek Figat
8c1f56b7db Fixes for scripting objects 2021-02-07 19:28:57 +01:00
Jean-Baptiste Perrier
03eb39afe6 Bumping all copyright headers to 2021. 2021-01-02 14:28:49 +01:00
Wojtek Figat
6fb9eee74c You're breathtaking! 2020-12-07 23:40:54 +01:00