83b301684d
Refactor NativeInterop.GetTypeSize
2024-05-01 18:53:19 +03:00
b958ecc64f
Close and restore Prefab windows during scripting reload
2024-05-01 18:53:18 +03:00
25036be05f
Fix scripting AssemblyLoadContext not getting unloaded
...
# Conflicts:
# Source/Engine/Engine/NativeInterop.Managed.cs
2024-05-01 18:53:18 +03:00
c16ec763c2
Revert "Initialize ScriptingService earlier"
...
This reverts commit 0566e17b23273feffed0c41ed61f7e56d6e8f1a8.
2024-05-01 18:53:17 +03:00
75d83a2ef3
_dotnet events
2024-05-01 18:53:16 +03:00
6d9c6fecf7
_net8 wip
2024-05-01 18:53:15 +03:00
81f94e08a9
Cleanup
2024-05-01 18:53:15 +03:00
a5ffe8893a
_gchandle string intern
2024-05-01 18:53:15 +03:00
7ed59a4426
Add setting for specifying custom framerate when window is not active
2024-05-01 18:53:12 +03:00
20a92a994e
_gchandle list final
2024-05-01 18:53:08 +03:00
3df1e86ecb
_gchandle weak v2
2024-05-01 18:53:07 +03:00
70edfbb146
_gchandle
2024-05-01 18:53:07 +03:00
983c22a3a6
Initialize ScriptingService earlier
2024-05-01 18:53:05 +03:00
203cede21d
Require semicolon after most engine API macros
2024-05-01 18:53:05 +03:00
d3f14efbbd
_adaptive sleep
2024-05-01 18:53:03 +03:00
dc3a1e142a
Refactor native interop internal type lookup
2024-05-01 18:45:20 +03:00
b6d375e9a3
Move generated marshallers into separate namespace
...
Avoid polluting the `FlaxEngine` namespace with interop related
marshallers, move those to nested namespace called `Interop` where most
of the common marshallers are placed already.
2024-05-01 18:45:20 +03:00
3ee6bffef7
Always run fixed update ticks at fixed deltatime
...
The random variance in fixed updates makes it impossible to do anything deterministic during physics ticks.
2024-05-01 18:43:31 +03:00
761c8415dc
Merge branch 'master' into signalgame
...
# Conflicts:
# Flax.flaxproj
2024-05-01 18:42:14 +03:00
Wojtek Figat
4414398f09
Fix crash when accessing physics objects state in OnLateFixedUpdate
...
#2494
2024-04-26 19:08:25 +02:00
Wojtek Figat
cdeb9a3b15
Merge remote-tracking branch 'origin/master' into 1.9
...
# Conflicts:
# Content/Editor/Camera/M_Camera.flax
# Content/Editor/CubeTexturePreviewMaterial.flax
# Content/Editor/DebugMaterials/DDGIDebugProbes.flax
# Content/Editor/DebugMaterials/SingleColor/Decal.flax
# Content/Editor/DebugMaterials/SingleColor/Particle.flax
# Content/Editor/DebugMaterials/SingleColor/Surface.flax
# Content/Editor/DebugMaterials/SingleColor/SurfaceAdditive.flax
# Content/Editor/DebugMaterials/SingleColor/Terrain.flax
# Content/Editor/DefaultFontMaterial.flax
# Content/Editor/Gizmo/FoliageBrushMaterial.flax
# Content/Editor/Gizmo/Material.flax
# Content/Editor/Gizmo/MaterialWire.flax
# Content/Editor/Gizmo/SelectionOutlineMaterial.flax
# Content/Editor/Gizmo/VertexColorsPreviewMaterial.flax
# Content/Editor/Highlight Material.flax
# Content/Editor/Icons/IconsMaterial.flax
# Content/Editor/IesProfilePreviewMaterial.flax
# Content/Editor/Particles/Particle Material Color.flax
# Content/Editor/Particles/Smoke Material.flax
# Content/Editor/SpriteMaterial.flax
# Content/Editor/Terrain/Circle Brush Material.flax
# Content/Editor/Terrain/Highlight Terrain Material.flax
# Content/Editor/TexturePreviewMaterial.flax
# Content/Editor/Wires Debug Material.flax
# Content/Engine/DefaultDeformableMaterial.flax
# Content/Engine/DefaultMaterial.flax
# Content/Engine/DefaultTerrainMaterial.flax
# Content/Engine/SingleColorMaterial.flax
# Content/Engine/SkyboxMaterial.flax
# Source/Engine/Graphics/Materials/MaterialShader.h
2024-04-23 10:30:01 +02:00
Wojtek Figat
9f983cff49
Refactor engine loop to have better sync between game update, physics and drawing
2024-04-17 13:38:06 +02:00
Wojtek Figat
e53ab10145
Add Engine::UpdateCount to sync gameplay logic updates with game loop rather than draw frames
2024-04-17 13:31:12 +02:00
Wojtek Figat
692a61c948
Add Time.Synchronize to stabilize engine loop
2024-04-17 13:01:58 +02:00
Wojtek Figat
60e8d73079
Merge remote-tracking branch 'origin/master' into 1.9
...
# Conflicts:
# Source/Engine/Renderer/RenderList.cpp
# Source/Engine/Renderer/RenderList.h
2024-04-17 09:58:59 +02:00
Wojtek Figat
03b498546d
Refactor UpdateGraph to run after engine services and game scripts
...
#2413
2024-04-16 20:27:31 +02:00
Wojtek Figat
53689063b9
Minor tweaks to Gameplay Globals
...
#2412
2024-04-14 00:09:29 +02:00
Wojtek Figat
8144db8e13
Fix various issues found with adrress sanitizer on macOS
2024-04-13 19:20:49 +02:00
Wojtek Figat
62444315de
Add METERS_TO_UNITS and impl metric units in shadows rendering
2024-04-11 16:38:43 +02:00
Wojtek Figat
d719c381ea
Merge remote-tracking branch 'origin/master' into 1.8
2024-03-11 23:49:33 +01:00
Wojtek Figat
b00b5bed00
Add InputAxis and InputEvent integration with stdlib features
2024-03-10 21:11:35 +01:00
b6879e7688
Fix concurrent access to cached marshalled type sizes
...
Also optimize hot path for type size when we have generic type
2024-03-03 01:32:52 +02:00
Wojtek Figat
53bd576ade
Fix game settings serialization bug
2024-02-28 02:05:26 +01:00
Wojtek Figat
14902dc29e
Merge remote-tracking branch 'origin/master' into 1.8
...
# Conflicts:
# Flax.flaxproj
2024-02-26 19:49:39 +01:00
Wojtek Figat
859c420d76
Update year in copyright note
2024-02-26 19:00:48 +01:00
Wojtek Figat
8898c20ad1
Fix crash when using generic interface in C#
...
#1983
2024-02-25 23:40:14 +01:00
Wojtek Figat
2df3d0f747
Fix crash when loading level with abstract script class
...
#1990
2024-02-25 14:54:57 +01:00
Wojtek Figat
318b00c617
Fix editor exit with error code when game cooking CL fails
...
#2248
2024-02-21 23:18:09 +01:00
Wojtek Figat
10180de9c6
Merge remote-tracking branch 'origin/master' into 1.8
...
# Conflicts:
# Source/Editor/Utilities/EditorUtilities.cpp
# Source/Editor/Utilities/EditorUtilities.h
2024-02-19 22:26:16 +01:00
Wojtek Figat
f0f8da3c09
Various fixes
2024-02-16 12:29:59 +01:00
Wojtek Figat
07e93e261e
Fix physics simulation result collection to happen before draw or next update
2024-02-13 09:52:26 +01:00
Wojtek Figat
082768d08c
Refactor ThreadLocal when running on hardware with more cores than PLATFORM_THREADS_LIMIT
2024-02-07 23:39:02 +01:00
Wojtek Figat
c60058758b
Minor fixes
2024-01-28 01:15:29 +01:00
Wojtek Figat
37da55896c
Remove unused DateTime apis and cleanup constants
2024-01-05 11:15:32 +01:00
Diego Fonseca
c17ff3926a
Update Time.cpp
2023-12-08 14:35:10 -05:00
Diego Fonseca
4707f98fab
Update Time.cpp
2023-12-08 14:13:50 -05:00
Wojtek Figat
7db0ae59bb
Fix managed method delegate creation to be thread-safe
2023-12-07 14:35:13 +01:00
Wojtek Figat
cebd28c3a7
Revert fd938e8284
2023-11-29 18:46:18 +01:00
Wojtek Figat
d3a77c7a55
Fix regressions
2023-11-28 17:38:06 +01:00
Wojtek Figat
0aeac36f09
Fix __cplusplus macro on MSVC and add logging C++ version used during compilation
2023-11-28 15:55:34 +01:00