Commit Graph

325 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
0ba261d338 Add iOS platform (refactor Mac into shared Apple platform impl) 2023-03-15 20:58:23 +01:00
Wojtek Figat
74758f5380 Merge remote-tracking branch 'origin/master' into 1.6
# Conflicts:
#	Source/Tools/Flax.Build/Build/Builder.Projects.cs
#	Source/Tools/Flax.Build/Build/Plugins/NetworkingPlugin.cs
2023-03-14 11:52:41 +01:00
Wojtek Figat
cfa7cac149 Fix crash when loading scene with script which type is not a scene object 2023-03-13 14:24:16 +01:00
Wojtek Figat
31411e334b Fix AnimatedModel bounds calculations 2023-03-03 17:44:34 +01:00
Wojtek Figat
b5558606b5 Merge branch 'add-ragdoll' of https://github.com/Tryibion/FlaxEngine into Tryibion-add-ragdoll 2023-02-27 19:51:38 +01:00
Wojtek Figat
79dbddc48e Fix Level::FindActors with Tag 2023-02-27 12:45:55 +01:00
Chandler Cox
eab5ee93b9 Add ragdoll to toolbox 2023-02-22 17:19:28 -06:00
Wojtek Figat
5a7f678e4d Add Actor.AddTag utility 2023-02-19 11:25:46 +01:00
Wojtek Figat
dc04d3dc0b Restore Actor.Tag property as deprecated for backwards compatibility
Regression from a570d6d178
2023-02-19 11:25:37 +01:00
Wojtek Figat
5dc63da4bf Fix crash if texture is missing
#942
2023-02-17 16:19:10 +01:00
Wojtek Figat
a70234c9b6 Cleanup comments 2023-02-13 22:45:44 +01:00
Wojtek Figat
d58a77cc60 Add support in GetScript to interface types
#290
2023-02-10 15:36:02 +01:00
Wojtek Figat
b4ea70acbb Fix layer name property to be hidden in Editor 2023-02-09 21:13:39 +01:00
Wojtek Figat
82823d6945 Various improvements and fixes 2023-02-09 20:05:46 +01:00
Wojtek Figat
12cb8fd59d Ignore warning on missing object in Level::FindActor 2023-02-09 20:04:57 +01:00
Wojtek Figat
c878c613c7 Update consoles building 2023-02-05 23:48:11 +01:00
Wojtek Figat
a0c6add732 Add ViewFlags::Sky for conditional sky/skybox rendering 2023-01-31 15:58:02 +01:00
Wojtek Figat
a214c14a4d Add Sort Order to animated models too 2023-01-28 17:03:18 +01:00
Wojtek Figat
adfe3ad165 Add SortOrder to drawable object types for transparency sorting override 2023-01-26 18:37:40 +01:00
Wojtek Figat
c854b657c1 Add actor virtual functions OnDebugDraw/OnDebugDrawSelected/OnEnable/OnDisable to override in scripting 2023-01-23 23:43:16 +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
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
2df3574cfa Refactor new tags system to use uint for tag index (0 is invalid tag) 2023-01-01 16:39:34 +01:00
Wojtek Figat
7184566b4b Merge branch 'master' into 1.5 2022-12-29 23:04:18 +01:00
Wojtek Figat
46b65bc546 Format code 2022-12-28 18:51:13 +01:00
Wojtek Figat
8762e8ad15 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/Utilities/Utils.cs
2022-12-28 16:59:11 +01:00
Wojtek Figat
8918c71312 Update old header usage 2022-12-22 19:31:01 +01:00
Wojtek Figat
01612f1b47 Add tag native serialization 2022-12-22 19:23:30 +01:00
Wojtek Figat
dc81147681 Convert C# tags checks utilities into extension methods for better usability 2022-12-21 18:18:17 +01:00
Wojtek Figat
cbef100a17 Add FindActor/FindActors with Tag to Level 2022-12-20 23:01:53 +01:00
Wojtek Figat
e6900d9a17 Minor adjustments to tags 2022-12-20 22:39:20 +01:00
Wojtek Figat
2f6e793df4 Add utility api for Tags usage 2022-12-20 22:39:11 +01:00
Wojtek Figat
a570d6d178 Refactor **Actor tags into hierarchical reusable Tags** system for better gameplay scripting 2022-12-20 21:11:38 +01:00
Chandler Cox
6677177534 Removed variable MClass 2022-12-15 08:52:37 -06:00
Chandler Cox
c3f23d1390 Added abstract check to spawning actor 2022-12-15 08:49:52 -06:00
Chandler Cox
af5f3cbd95 Return null if type is abstract but trying to be added as an actor or script 2022-12-15 08:18:09 -06:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojtek Figat
950289db9f Fix crash when drawing scene in async and content streaming updates model residency 2022-12-03 11:23:26 +01:00
Wojtek Figat
98c29c4a4e Optimize compilation time 2022-12-03 10:42:58 +01:00
Wojtek Figat
8e52e2fb10 Merge branch 'master' into 1.5 2022-11-27 12:11:50 +01:00
Wojtek Figat
835a230323 Refactor material shaders to use separate constant buffer (slot 1) for shared per-view constants 2022-11-27 12:06:31 +01:00
Wojtek Figat
39dc439cd8 Revert "Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now)"
This reverts commit c33fe04645.
2022-11-26 20:37:04 +01:00
Wojtek Figat
c33fe04645 Remove unused LodProxyView feature from RenderContext (shadow projections are using the same draw batch as main view now) 2022-11-25 23:04:17 +01:00
Wojtek Figat
5cc66d60dc Tweaks 2022-11-24 20:14:47 +01:00
Wojtek Figat
76c1045444 Code cleanup after #823 2022-11-23 19:18:30 +01:00
Wojtek Figat
93c0dd704e Merge branch 'master' into 1.5
# Conflicts:
#	Source/Engine/Serialization/Stream.cpp
2022-11-21 15:51:57 +01:00
Wojtek Figat
16ebc72099 Fix rendering of custom actors lists in Editor viewports 2022-11-16 09:57:17 +01:00