Commit Graph

819 Commits

Author SHA1 Message Date
Wojtek Figat
38f74c8cf7 Refactor Dictionary and HashSet to use shared base class
Add const iterators
2025-01-23 23:59:31 +01:00
Wojtek Figat
f5280eab74 Refactor and improve collections code
#3043
2025-01-23 14:44:11 +01:00
Wojtek Figat
b247070840 Fix regression in Dictionary capacity and use similar improvement in HashSet 2025-01-21 15:38:14 +01:00
Wojtek Figat
d4a5c76c82 Add serialization of game settings for proper upgrade when loading deprecated data 2025-01-20 23:47:51 +01:00
Wojtek Figat
8a7ceef288 Add content deprecation system that auto-saves assets in Editor that use old data format 2025-01-20 23:46:49 +01:00
Wojtek Figat
1497acef58 SImplify capacity presetting for Dictionary to handle memory slack scale internally as suers care about items count only 2025-01-16 17:42:01 +01:00
Wojtek Figat
90ba7f4a92 Mark CommonValue as deprecated to generate warnings in old code 2025-01-13 18:25:26 +01:00
Wojtek Figat
addc6d5216 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Content/Editor/Gizmo/Material.flax
#	Content/Engine/DefaultTerrainMaterial.flax
#	Source/Editor/Windows/Assets/ModelWindow.cs
#	Source/Editor/Windows/Assets/SkinnedModelWindow.cs
#	Source/Engine/Core/Types/Variant.cpp
2025-01-13 18:07:54 +01:00
Wojtek Figat
7fcf8c2d4c Improve #3138 to pass over setting value to null and via proper cast so value type stays the same 2025-01-13 16:08:43 +01:00
Wojtek Figat
db4d7d2a05 **Refactor meshes format to support custom vertex layouts and new flexible api to access mesh data**
#3044 #2667
2025-01-06 22:47:19 +01:00
Wojtek Figat
933fac6c13 Add Slice to Span and sue it to make code cleaner 2025-01-05 17:41:27 +01:00
Wojtek Figat
fee0ab74ff Update old doc comments 2024-12-28 21:31:21 +01:00
Wojtek Figat
0f847335c3 Fix typo on mac 2024-12-19 14:56:22 +01:00
Wojtek Figat
12f3f00f9f Fix log file spam and limit size to 1GB
#2980
2024-12-19 13:21:47 +01:00
Wojtek Figat
d1ac9cd2bc Minor fixes 2024-12-16 20:07:53 +01:00
Wojtek Figat
35e9e048f2 Merge remote-tracking branch 'origin/master' into 1.10 2024-12-10 11:07:31 +01:00
Wojtek Figat
0cf31395b5 Add support for Quaternion in GPU particles graph
#2901
2024-12-06 17:38:16 +01:00
Wojtek Figat
4ac334acac Another iteration on cooking job 2024-12-05 11:21:51 +01:00
Wojtek Figat
2230f907fd Fix duplicated newlines on Github Action output 2024-12-05 10:33:30 +01:00
Wojtek Figat
e27d18ef87 Fix default build target preset 2024-12-04 18:44:09 +01:00
Wojtek Figat
e2ed618056 Fix regression from 07aafea5af 2024-11-27 23:28:22 +01:00
Wojtek Figat
3bd0858acf Fix typo and indent 2024-11-26 16:03:16 +01:00
Wojtek Figat
6146ea89b3 Merge branch 'TerrainLayerNames' of https://github.com/xxSeys1/FlaxEngine into xxSeys1-TerrainLayerNames 2024-11-26 15:59:01 +01:00
Wojtek Figat
07aafea5af Fix Forward and Backward in Matrix and Matrix3x3
#3078
2024-11-26 14:54:11 +01:00
xxSeys1
573b57ed4a add missing System 2024-11-23 17:16:02 +01:00
Wojtek Figat
9d70fd82d6 Merge remote-tracking branch 'origin/master' into 1.10
# Conflicts:
#	Source/Engine/Networking/NetworkReplicator.cpp
2024-11-22 16:31:18 +01:00
Wojtek Figat
914d82a087 Fix Variant enum casting 2024-11-22 16:04:34 +01:00
Wojtek Figat
f8f4edfa76 Fix variious issues 2024-11-21 23:42:05 +01:00
Wojtek Figat
a7daf44330 Fix BitArray swap when using different allocators
Add unit test to ensure this works correctly.
2024-11-19 12:21:13 +01:00
xxSeys1
498e94548b fix tests not passing 2024-11-16 17:08:34 +01:00
xxSeys1
75d4a110de remove usage of System.Linq 2024-11-16 17:08:10 +01:00
dd894b510d Add support for .NET 9 SDK and runtime 2024-11-14 23:05:25 +02:00
Wojtek Figat
246944f688 Merge remote-tracking branch 'origin/master' into 1.10 2024-11-06 09:29:48 +01:00
Wojtek Figat
935e25ab7d Fix compile warnings 2024-11-05 11:32:49 +01:00
Mateusz Karbowiak
dca48b335a Hash collections bucket state enum extracted
This is a small compilation time optimization by reducing total number of generated types. Should not change runtime behavior.
2024-10-31 02:41:51 +01:00
Mateusz Karbowiak
26309a0d41 Dictionary mutable key access for const accessor hack 2024-10-31 01:15:05 +01:00
Mateusz Karbowiak
7cca26bb97 Dictionary cast constiness fix 2024-10-31 01:08:44 +01:00
Mateusz Karbowiak
2ae3932fcc Revert BitArray changes 2024-10-31 01:06:04 +01:00
Mateusz Karbowiak
5d32ed7f8e Collections casts constiness fix 2024-10-31 00:49:59 +01:00
Mateusz Karbowiak
fbb840dff3 Collections de/increment operations fix
This one is more stylistic but is consistent with practice of using pre- operations for iterators.
2024-10-31 00:45:00 +01:00
Mateusz Karbowiak
9c448f75d8 Collections const correctness fix (style) 2024-10-31 00:29:38 +01:00
Mateusz Karbowiak
66b6a29ed4 Collections iterator move noexcept fix 2024-10-31 00:21:34 +01:00
Mateusz Karbowiak
8cb7fb48ce Dictionary returning const item fix
Returning const object does not prevent from using mutable by triggering copy constructor.
2024-10-31 00:21:33 +01:00
Mateusz Karbowiak
5439efc559 Collections implicit cast constructor fix
This one prohibits annoying casts. It is also important for future context injection and follows STL practice.
2024-10-30 22:30:55 +01:00
Mateusz Karbowiak
f77f551b72 Collections type aliasing fix
This one is debatable. It follows modern C++.
2024-10-30 22:30:54 +01:00
Mateusz Karbowiak
a55866d558 Collections casts fix 2024-10-30 22:18:47 +01:00
Mateusz Karbowiak
02db7d02f2 Collections const-correctness fix 2024-10-30 21:06:16 +01:00
Wojtek Figat
c1bd42ff7e Add Vector3.SignedAngle utility method 2024-10-29 23:55:42 +01:00
Wojtek Figat
b1a54d2967 Missing change in 072f7c7e45 2024-10-29 23:34:10 +01:00
Wojtek Figat
072f7c7e45 Fix C++ Vector3::Angle to return value in degrees just like C# API (instead of radians) 2024-10-29 20:36:01 +01:00