Commit Graph

307 Commits

Author SHA1 Message Date
2c0e9faa32 Remove throwing exceptions from invoked methods with debugger
The same effect can be achieved by enabling all CLR exceptions in VS debugger settings, and it also supports continuation after catching exceptions.
2022-12-23 22:36:19 +02:00
80c3056daf Fix errors when compiling plugins 2022-12-23 22:33:22 +02:00
3c79be2910 Cleanup 2022-12-22 20:16:02 +02:00
6a41ab0b6d Fix unnecessary allocations when creating managed arrays 2022-12-22 19:54:58 +02:00
22b4e25c02 Improve array allocations when marshalling method parameters 2022-12-22 19:54:58 +02:00
e71e6835de Optimize allocations in return values from invoked managed methods 2022-12-22 18:13:23 +02:00
b449353d2f Fix incorrect field reference for reference types 2022-12-22 18:13:23 +02:00
Wojciech Figat
04799c89dc Merge branch 'dotnet7' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-dotnet7 2022-12-21 12:28:55 +01:00
Wojciech Figat
9a5c105db9 Merge branch '1.5' into dotnet7 2022-12-21 10:35:58 +01:00
c8cc899128 Optimize allocations in method parameter marshalling and invocation 2022-12-21 00:40:38 +02:00
b9f11298e8 Avoid pre-allocating custom attributes for managed types 2022-12-17 15:39:04 +02:00
ff438a6219 Set default culture to InvariantCulture
Fixes issues such as wrong decimal separator in floating point strings when used with parameterless .ToString()
2022-12-17 15:38:52 +02:00
Wojciech Figat
c38eda5799 Fixes for compilation 2022-12-14 14:04:14 +01:00
Wojciech Figat
df82a0f5d0 Add **GPU Memory profiler** to Editor 2022-12-08 16:30:37 +01:00
Wojciech Figat
0f19fc64fd Add SceneReference to C++ scripting API 2022-12-02 10:05:07 +01:00
fcd1366d26 Fix memory leaks caused by unreleased GCHandles 2022-12-02 00:06:32 +02:00
Wiktor Kocielski
2968399f2d Core classes Random & RandomStream port to C# 2022-12-01 19:54:57 +03:00
cc7655d804 Fix managed array element marshalling with strings 2022-11-29 18:40:11 +02:00
96dc279ebd Implement .NET 7 runtime support and bindings generation 2022-11-26 14:37:07 +02:00
Wojtek Figat
6a61b692aa Refactor PostProcessEffect to support C++ scripting 2022-11-02 20:29:59 +01:00
Wojtek Figat
e1836a222c Fix bug with Screen.CursorVisible set in script OnStart
#799
2022-10-29 19:33:34 +02:00
Wojciech Figat
7953f6cb83 Add Engine.FocusGameViewport to implement game menu with camera focus gather 2022-08-01 16:17:34 +02:00
Wojtek Figat
bbb5b68e91 Refactor FlaxTests to run as Editor with all engine services initialized 2022-07-26 23:10:02 +02:00
Wojtek Figat
74e3d1ad8f Fix removing Gameplay Globals 2022-07-23 16:58:16 +02:00
Wojtek Figat
1633d8ebb6 Minor fixes 2022-07-23 01:27:40 +02:00
Wojtek Figat
7f3a32a69b Improve cursor clipping logic (fix after alt+tab and confine to game window in Editor)
#691
2022-07-17 00:09:59 +02:00
Wojtek Figat
1f1c3adaf1 Merge branch 'feature-clip-cursor' of https://github.com/ScottLongley/FlaxEngine into ScottLongley-feature-clip-cursor 2022-07-16 09:03:47 +02:00
Wojtek Figat
a881c90b2e Refactor engine to support double-precision vectors 2022-06-13 00:40:32 +02:00
Wojtek Figat
f82e370392 Refactor Vector types to support 64-bit precision via define switch 2022-05-25 20:04:33 +02:00
Wojtek Figat
5d0c27dff3 Remove FlaxException 2022-03-27 23:57:36 +02:00
Scott Longley
1fa06546f4 add CursorLockMode.Clipped 2022-02-18 22:44:16 +10:00
Wojtek Figat
ba2f58df6a Revert 2022-01-26 20:14:18 +01:00
Wojciech Figat
33eb3d8540 Add Online system base 2022-01-26 17:01:30 +01:00
Wojciech Figat
18b156ad44 Fixes and tweaks 2022-01-26 16:55:22 +01:00
Wojtek Figat
37e11a4b1f Merge remote-tracking branch 'origin/master'
# Conflicts:
#	Source/Engine/Physics/Physics.Queries.cpp
#	Source/Engine/Physics/Utilities.h
2022-01-20 23:29:59 +01:00
Wojtek Figat
427846f73b Refactor Physics to separate PhysicsBackend
#673
2022-01-20 23:28:43 +01:00
Wojtek Figat
35d9016053 Add options for game window on macOS 2022-01-17 21:14:41 +01:00
Wojciech Figat
8c2241c6dc Update copyright year 2022-01-14 13:31:12 +01:00
Wojtek Figat
8a3cfb36d0 Merge branch 'multiple_physics_scenes' of git://github.com/iainmckay/FlaxEngine into iainmckay-multiple_physics_scenes 2022-01-10 20:13:55 +01:00
Iain Mckay
a4e102672d Adds feature for creating multiple physics scenes 2022-01-05 14:26:42 +01:00
Wojtek Figat
9b991bcfdf Add Editor for Mac impl progress 2021-12-31 17:12:55 +01:00
Wojciech Figat
d017dd14ca Add Mac platform 2021-12-27 14:04:16 +01:00
Wojciech Figat
36a18a0b56 Add profile events for Editor startup 2021-12-22 16:23:53 +01:00
Wojciech Figat
71c8fa2638 Merge branch 'tick_fix' of git://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-tick_fix 2021-12-09 10:36:10 +01:00
Wojciech Figat
c35465b274 Fix minor issues 2021-12-08 16:53:44 +01:00
GoaLitiuM
17311e7c9e Add some tolerance in checks against zero floating point values 2021-12-05 16:43:24 +02:00
GoaLitiuM
d7d8eca9c8 Fix engine ticking to catch up faster when falling behind 2021-12-05 16:39:59 +02: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
48a867ef16 Add PS5 platform defines and types 2021-10-08 16:25:16 +02:00
Wojtek Figat
782d29f427 Merge branch 'xboxone' of git://github.com/honzapatCZ/FlaxEngine into honzapatCZ-xboxone 2021-08-26 12:44:53 +02:00