101 Commits

Author SHA1 Message Date
mafiesto4 9db3439d0d Fix compilation error 2023-07-03 16:17:46 +02:00
mafiesto4 544eb03f7e Add network replication support for in-built object/asset reference holders 2023-07-03 13:06:08 +02:00
mafiesto4 694980160b Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Editor/CustomEditors/CustomEditorsUtil.cs
#	Source/Engine/Networking/NetworkReplicator.cpp
#	Source/Engine/Scripting/ManagedCLR/MUtils.cpp
#	Source/Tools/Flax.Build/Bindings/BindingsGenerator.Cpp.cs
2023-05-24 23:28:38 +02:00
mafiesto4 7efb3e3f3d Add SoftTypeReference<T> to scripting API for lazy-load type references (via typename) 2023-05-24 22:56:29 +02:00
mafiesto4 5a66e90b56 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	.github/workflows/tests.yml
#	Source/Engine/Content/JsonAsset.cs
2023-05-07 19:46:29 +02:00
mafiesto4 efab20e335 Fix compilation regression from 5d2a3482c7 2023-05-06 23:00:50 +02:00
mafiesto4 c47907c0c3 Fix C# serialization of reference to self (eg. script sub-object referencing owning script)
#55
2023-05-06 17:36:17 +02:00
mafiesto4 2affebd375 Fix C# serialization of scene objects when property throws and exception
#88
2023-05-06 14:57:44 +02:00
mafiesto4 5d2a3482c7 Reduce compilation problems by moving FindObject fwd decl to be more commonly included
#1040
2023-05-05 16:10:09 +02:00
mafiesto4 5a2831d0cb Various improvements 2023-04-29 12:11:17 +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
mafiesto4 eed2cdfe04 Progress on dotnet7 runtime hosting with mono 2023-03-22 17:59:46 +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
mafiesto4 84a68c5977 Update Newtonsoft.Json to 13.0.2 and .Net 7 2022-12-17 13:38:30 +01:00
mafiesto4 889eb7d846 Revert "Implement JSON difference serialization"
This reverts commit 6bfb0205fd.
2022-12-17 13:06:16 +01:00
GoaLitiuM 6bfb0205fd Implement JSON difference serialization 2022-11-26 13:55:18 +02:00
mafiesto4 93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
mafiesto4 b139ebfe88 Fix crash when reading Transform from native data stream 2022-11-21 15:37:17 +01:00
mafiesto4 c0f596a00e Add ScriptingObjectReference for Read/WriteStream and scripting interop as an array 2022-11-16 17:31:26 +01:00
mafiesto4 727d29ee07 Fix Clang compilation 2022-10-21 19:32:10 +02:00
mafiesto4 52b1b19b02 Fix Clang compilation 2022-10-21 19:06:05 +02:00
mafiesto4 8b446edc06 Fix Clang compilation 2022-10-21 18:42:33 +02:00
mafiesto4 32e052a87b Refactor native Stream serialization to new API 2022-10-20 17:28:12 +02:00
mafiesto4 ff34c7cc9b Refactor raw data ReadSttream and WriteStream to have easier to use API with more features 2022-10-12 11:22:20 +02:00
mafiesto4 9ba117cde3 Refactor OrientedBoundingBox to use Transform for transformation instead of Matrix (for large worlds) 2022-06-16 10:51:59 +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 2369b6a34a Add support for double serializtion in C++ 2022-05-20 15:53:50 +02:00
mafiesto4 158c29e598 Add **Dictionaries to Visual Scripting** 2022-04-27 22:47:54 +02:00
mafiesto4 5d0c27dff3 Remove FlaxException 2022-03-27 23:57:36 +02:00
mafiesto4 b780e33a5b Fix for faster models exporting 2022-03-14 20:32:38 +01:00
mafiesto4 cdc74a9c49 Reduce includes in Serialization header 2022-02-28 23:16:15 +01:00
mafiesto4 4a9c746bed Add SoftAssetReference type 2022-02-28 23:15:35 +01:00
mafiesto4 05a935660d Add StringAnsi serialization 2022-01-21 18:32:16 +01:00
mafiesto4 8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
mafiesto4 729bfcb941 Fix build 2022-01-09 18:05:52 +01:00
mafiesto4 892723c501 Fix build 2022-01-09 17:46:37 +01:00
mafiesto4 fa83869430 Add minor changes 2022-01-08 15:06:18 +01:00
mafiesto4 32c7d36fcd Tweaks 2022-01-08 15:06:17 +01:00
mafiesto4 0f9f3905ed Add json serialization utils for objects to save/load from raw bytes 2022-01-08 15:06:15 +01:00
mafiesto4 32a73727b0 Optimize Stream includes to Array 2022-01-08 15:06:14 +01: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 53022ff013 Fix code quality issues detected by PVS-Studio 2021-09-21 18:23:31 +02:00
mafiesto4 e4cb87ea9e Fix loading null as Guid for object refs in C++ Json parser 2021-08-27 16:06:23 +02:00
mafiesto4 a8c7705c3b Fix null values handling in C# Json serialization
It didn't replace prefab object reference if replaced with null in the prefab instance.
2021-08-19 13:06:18 +02:00
mafiesto4 70c729b171 Fix LocalizedString undo bug 2021-08-12 11:48:51 +02:00
mafiesto4 916c2733f0 Fix some problems with LocalizedString serialization in C# 2021-08-12 11:48:50 +02:00
mafiesto4 0e76bf22ed Fix crash when reading empty string from stream 2021-08-01 23:17:55 +02:00