Commit Graph

5237 Commits

Author SHA1 Message Date
Wojtek Figat
eeb543c653 Merge branch 'create-script-name-change' of https://github.com/Tryibion/FlaxEngine into Tryibion-create-script-name-change 2023-05-28 11:58:10 +02:00
Wojtek Figat
bb567cafde Improve #1120 to use shared lookup table export from engine source and reduce memory alloc from Array via Span 2023-05-28 11:46:48 +02:00
Wojtek Figat
a4d7693a2f Merge branch 'unitstotext' of https://github.com/Withaust/FlaxEngine into Withaust-unitstotext 2023-05-28 11:22:02 +02:00
Chandler Cox
c9d48d00e7 Change default script name to MyScript and make the name invalid if it is called Script. 2023-05-27 11:15:54 -05:00
Wiktor Kocielski
a21abaac84 Implement INetworkObject::OnNetworkSync and make INetworkObject just virtual 2023-05-27 04:12:46 +03:00
bca5e908f1 Copy content files using Content Database instead of Content Importing
Fixes an issue where copying asset files does not change the asset ID,
causing the copied assets to remain linked to the original files.
2023-05-27 00:41:19 +03:00
4e683dcc15 Clean up DXGIFactory after use on D3D12 2023-05-26 20:17:30 +03:00
bdf6a11491 Prefer high-performance discrete GPUs when enumerating adapters 2023-05-26 20:05:32 +03:00
Wiktor Kocielski
91fdd60b07 BytesToText -> UnitsToText 2023-05-26 18:37:28 +03:00
Wojtek Figat
9572073eda Add CustomArgs to compile and link environment in build tool for customization 2023-05-26 13:43:20 +02:00
Chandler Cox
75f1c8baaa Fix scale linking to be a ratio. 2023-05-25 10:17:08 -05:00
Chandler Cox
e9250ab365 Fix spacing 2023-05-25 08:25:57 -05:00
Chandler Cox
a45f067719 Fix zero scale value changing when scales are linked. #1117 2023-05-25 08:24:49 -05:00
Wojtek Figat
ad1c573678 Fix false-positive error when interop structure has a additional memory size (alignment) 2023-05-25 00:12:54 +02:00
Wojtek Figat
c2cd3b64ff Improve generated bindings code usability in Editor 2023-05-24 23:50:51 +02:00
Wojtek Figat
48b18bf84e Fix regression from 7c0d1ab977 when using different access level to property getter/setter 2023-05-24 23:40:40 +02:00
Wojtek Figat
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
Wojtek Figat
90d633fb2d Minor improvements to new replication hierarchy 2023-05-24 22:59:22 +02:00
Wojtek Figat
e10aa1ff58 Add support for editing dictionary keys that are structures 2023-05-24 22:58:07 +02:00
Wojtek Figat
7efb3e3f3d Add SoftTypeReference<T> to scripting API for lazy-load type references (via typename) 2023-05-24 22:56:29 +02:00
Wojtek Figat
982639f215 Fix syncing Custom Editor value when using it to edit value-type 2023-05-24 22:55:02 +02:00
Wojtek Figat
9986d62a28 Fix crash when scripting object gets deleted while it exists in NetworkReplicationHierarchy 2023-05-24 12:06:09 +02:00
Wojtek Figat
2c1f6e561a Fix replication regression from eb2fc0f02f 2023-05-24 11:52:32 +02:00
Wojtek Figat
c4f57d19db Fix network replicator incorrect error message filter 2023-05-24 10:52:59 +02:00
Wojtek Figat
1a6e4bf14b Fix missing tracy header in cooked build #948 2023-05-24 09:48:02 +02:00
Wojtek Figat
47f9bc2017 Fix regression in Content Item tooltip #1085 2023-05-24 09:47:27 +02:00
Wojtek Figat
eb2fc0f02f Add **Network Replication Hierarchy** for robust control over replication in multiplayer games 2023-05-24 09:46:38 +02:00
Wojtek Figat
8ba17f1026 Optimize MUtils::UnboxScriptingTypeHandle 2023-05-23 18:22:43 +02:00
Wojtek Figat
914f7b842e Optimize interface method lookup to eliminate strlen 2023-05-23 18:22:23 +02:00
Wojtek Figat
4879b9bd90 Add CPU profiler events to various networking functions 2023-05-23 16:11:34 +02:00
Wojtek Figat
f5adbc08fa Remove unused Function::TryCall 2023-05-23 16:08:51 +02:00
Wojtek Figat
2881ca17a0 Fix bindings code instance object param obj to __obj to prevent name collisions 2023-05-22 18:06:08 +02:00
Wojtek Figat
1b8b585367 Optimize network replication when no client can receive object 2023-05-21 22:38:48 +02:00
Wojtek Figat
2ae20c5fc4 Add formatting to network profiler bytes values 2023-05-21 22:36:14 +02:00
Olly Rybak
c92a3e566e New button styling 2023-05-21 09:57:39 +10:00
Wojtek Figat
d5fcdf6edb Fix BitArray::Set to not be const 2023-05-20 11:11:06 +02:00
Wojtek Figat
ee83c19c7b Merge branch 'rollforward' of https://github.com/GoaLitiuM/FlaxEngine into GoaLitiuM-rollforward 2023-05-19 14:11:49 +02:00
Wojtek Figat
144b72109b Fix crash after scripting hot-reload in editor due to cached class attribute objects
#1108
2023-05-19 13:53:49 +02:00
Wojtek Figat
7b8c013918 Various minor cleanups 2023-05-19 13:53:18 +02:00
Wojtek Figat
3e792e6cd7 Add NativeInteropException for native interop crashes 2023-05-19 13:52:30 +02:00
Wojtek Figat
ed70eb24c7 Fix using proper default value in scripting bindings for IntPtr value type 2023-05-19 13:49:15 +02:00
f46d1a4aba Enable roll-forward to latest .NET major preview version 2023-05-19 14:20:06 +03:00
Menotdan
306cedeb39 stopped being stupid and just copied dependencies from the other implementations. 2023-05-19 00:54:49 -04:00
Menotdan
66f66c5481 Whoops forgot includes. Hopefully this builds, but I don't have a mac to test so... 2023-05-19 00:11:29 -04:00
Menotdan
8c20ba83de Lay out what needs to be implemented for Mac 2023-05-18 22:10:35 -04:00
Menotdan
cdee91f258 Color Picker FINALLY works 2023-05-18 21:48:47 -04:00
Menotdan
8f6ceece10 Change XGrabPointer call a bit. 2023-05-18 19:40:39 -04:00
Menotdan
f5d3e30972 XGrabPointer doesn't seem to be doing what I want. 2023-05-18 15:42:04 -04:00
Menotdan
408d620b17 Removed more unneeded logs. 2023-05-18 00:00:06 -04:00
Menotdan
1d079842f6 Add Mac screen utilities, and removed an unneeded log. 2023-05-17 23:57:23 -04:00