Commit Graph

523 Commits

Author SHA1 Message Date
Wojtek Figat
1f2260048a Merge branch 'sign-fix' of https://github.com/Tryibion/FlaxEngine into Tryibion-sign-fix 2023-04-19 11:09:13 +02:00
Wojtek Figat
ca48d60627 Merge remote-tracking branch 'origin/master' into 1.6 2023-04-18 19:47:13 +02:00
Wojtek Figat
a500f88b4c Fix compilation with UseLargeWorlds 2023-04-18 19:44:32 +02:00
Wojtek Figat
f046642ba7 Improve stability by fixing various crashes with dotnet7 2023-04-18 12:36:33 +02:00
Wojtek Figat
67b373c6df Merge remote-tracking branch 'origin/master' into 1.6 2023-04-17 13:18:08 +02:00
Wojtek Figat
b85184eee0 Optimize vectors normalization 2023-04-17 11:10:14 +02:00
Wiktor Kocielski
2e1691c2f1 CSharp Math.Remap method obsoletion 2023-04-17 05:52:02 +03:00
Wojtek Figat
c3cc78b7c2 Cleanup code after #1001 2023-04-16 19:46:36 +02:00
Wojtek Figat
e1ea6a0676 Merge branch 'cpp-clamp-length' of https://github.com/PrecisionRender/FlaxEngine into PrecisionRender-cpp-clamp-length 2023-04-16 19:42:55 +02:00
PrecisionRender
17aca44a3b Add MoveTowards functions to C++ Math 2023-04-15 16:40:03 -05:00
PrecisionRender
49e05bc206 Add ClampLength functions to C++ Vector3 2023-04-15 12:53:19 -05:00
Chandler Cox
685a68b7b8 Fix c# math sign functions for #993 2023-04-14 09:31:49 -05:00
Wojtek Figat
89704bebe9 Add Span<T> support for scripting fields 2023-04-14 15:01:22 +02:00
Wojtek Figat
91c017713c Merge remote-tracking branch 'origin/master' into 1.6 2023-04-13 12:12:33 +02:00
Wojtek Figat
bedb056645 Fix codestyle #989 2023-04-12 17:03:30 +02:00
Wiktor Kocielski
96609815ec Fix C++ API for Vector2/3 Normalization 2023-04-11 15:56:46 +03:00
Wojtek Figat
f4e62afe8a Fix compilation with C# disabled 2023-04-05 19:39:04 +02:00
Wojtek Figat
03b16875c7 Add SkipUnusedDotnetLibsPackaging to build settings for optional whole C# stdlib packaging 2023-04-03 18:03:28 +02:00
Wojtek Figat
e995736012 Optimize out System.ComponentModel.TypeConverter assembly usage to reduce cooked game builds 2023-04-03 13:51:33 +02:00
Wojtek Figat
a25eae5d10 Move dotnet7 native interop, wrappers and marshalers into FlaxEngine.Interop namespace 2023-03-28 13:20:18 +02:00
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
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
e00bf92f05 Add .Net Runtime deployment for cooked game 2023-03-13 10:23:42 +01:00
Wojtek Figat
0cf40729fa Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-19 15:04:02 +01:00
Wojtek Figat
2338e03554 Fix crash when unbinding from Delegate from other thread during invocation
Caused by `callee` being invalid thus it's better to read function pointer again to ensure that both are valid before calling function.
2023-02-17 10:31:49 +01:00
Wojtek Figat
d5cdbdb808 Fix typo 2ea468d5da 2023-02-17 01:13:23 +01:00
Wojtek Figat
2ea468d5da Ignore constant error due to missing Game Settings in Editor (log once) 2023-02-17 01:01:32 +01:00
W2.Wizard
f8aa1cd5f8 Updated transform Gizmos #340 2023-02-16 15:23:18 +01:00
Wojtek Figat
30fa911832 Merge remote-tracking branch 'origin/master' into dotnet7
# Conflicts:
#	README.md
2023-02-16 09:54:22 +01:00
Wojtek Figat
54a056e5c3 Merge branch 'fix_clang_warnings' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-fix_clang_warnings 2023-02-15 14:55:15 +01:00
Wojtek Figat
ac59cc4633 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-13 10:05:51 +01:00
Wojtek Figat
07892ccf18 Refactor ObjectsRemovalService to skip double-buffering due to issues and complexity 2023-02-10 10:50:18 +01:00
Wojtek Figat
7fae0d9fb6 Fix to ignore warning due to missing NDA consoles packages 2023-02-08 23:41:24 +01:00
Wojtek Figat
0270772463 Merge remote-tracking branch 'origin/master' into dotnet7 2023-02-06 10:02:13 +01:00
Wojtek Figat
d9f1e4253f Merge branch 'Inputs' of https://github.com/RuanLucasGD/FlaxEngine into RuanLucasGD-Inputs 2023-02-03 15:47:45 +01:00
d7595f1ecc Fix compiler warnings with Clang 15 or later 2023-02-02 18:52:41 +02:00
Wojtek Figat
b071cdb843 Expose various engine features to scripting 2023-01-31 16:01:56 +01:00
Wojtek Figat
b93e97dd76 Add EnumHasNoneFlags 2023-01-31 15:19:34 +01:00
Ruan Lucas
82e9923be3 change IsAnyKeyDown to IsAnyButtonDown and add Float2.Normalized 2023-01-26 08:54:15 -04:00
Wojciech Figat
c9c35eb74e Merge remote-tracking branch 'origin/1.5' into dotnet7 2023-01-24 09:25:45 +01:00
Wojtek Figat
9e90cb260a Add support for custom icons for actors in ViewportIconsRenderer 2023-01-23 23:43:59 +01:00
Wojciech Figat
405ae519dd Refactor generated bindings P/Invoke to support name mangling for symbols 2023-01-23 18:41:12 +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
38fcfee9a4 Merge branch '1.5' into dotnet7 2023-01-23 14:47:12 +01:00
Ruan Lucas
d20bce9967 Add Vector2.Normalized 2023-01-19 20:52:20 -04:00
Wojciech Figat
ec2bdb7437 Fix crash when copying empty span of data into DataContainer 2023-01-18 13:20:24 +01:00
Wojciech Figat
7b20bc38a4 Merge branch '1.5' into dotnet7
# Conflicts:
#	Content/Shaders/GI/DDGI.flax
#	Content/Shaders/GI/GlobalSurfaceAtlas.flax
#	Content/Shaders/TAA.flax
#	Content/Shaders/VolumetricFog.flax
#	Source/Tools/Flax.Build/Projects/VisualStudio/VCProjectGenerator.cs
2023-01-17 11:52:52 +01:00
Wojtek Figat
f127bbebe1 Refactor enum flags with __underlying_type and new EnumHasAnyFlags/EnumHasAllFlags
Fixes #832
Closes #886
2023-01-15 12:44:39 +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