Moony and PJB3005
48dbcf7fd4
Hotpatch for map loading test fail.
2026-02-08 15:33:30 +01:00
PJB3005 and kaylie
fd27f315cb
Add more MapLoaderSystem TextReader/TextWriter overloads
...
Co-authored-by: kaylie <moony@hellomouse.net >
2026-02-08 14:04:09 +01:00
Rouden and GitHub
ac45a0a64b
MapId, MapCoordinates, EntityCoordinates Type serializers ( #6165 )
...
* New Type Serializers
* Delete NetCoordinatesSerializer.cs
* Make EntityCoordinates and MapCoordinates use DataRecord
* Turn them into actual record structs
I'm somewhat surprised the DataRecord attribute doesn't check this
* Allocate MapIds before deserializing components
* Deserialize preallocated ids
* fix map merge assert
* remove old
* Use TryGetMap
* release notes
2025-10-06 15:27:08 +13:00
abd5149245
Improve map serialization error logging & exception tolerance ( #6188 )
...
* Improve map serialization error logging
* Prevent remove children of erroring entities
* better logging
* Improve error tolerance
* Even more exception tolerance
* missing !
* Improve handling of category errors
Helps prevents weird bugs that arise due to deleting un-initialized entities
* release notes
* Typo fix
---------
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2025-09-17 21:44:56 +02:00
Pieter-Jan Briers and GitHub
cdd3afaa4c
Remove redundant custom math types ( #6078 )
...
Vector3, Vector4, Matrix4, and Quaternion are now gone. Use System.Numerics instead.
This commit is just replacing usages, cleaning up using declarations, and moving over the (couple) helpers that are actually important.
2025-07-23 01:15:27 +02:00
Pieter-Jan Briers and GitHub
5501209b35
Add API to load maps from byte stream ( #6029 )
...
In case you don't want to load from a ResPath.
2025-06-21 14:41:32 +02:00
Leon Friedrich and GitHub
c459b55052
Add TryLoadGrid override ( #5701 )
...
* Add TryLoadGrid override
* fix cmd-addmap-help
2025-03-08 13:50:14 +11:00
56daa63783
make map loading logs better ( #5723 )
...
Co-authored-by: deltanedas <@deltanedas:kde.org>
2025-03-05 15:49:20 +01:00
fbc706f37b
Refactor map loading & saving ( #5572 )
...
* Refactor map loading & saving
* test fixes
* ISerializationManager tweaks
* Fix component composition
* Try fix entity deserialization component composition
* comments
* CL
* error preinit
* a
* cleanup
* error if version is too new
* Add AlwaysPushSerializationTest
* Add auto-inclusion test
* Better categorization
* Combine test components
* Save -> TrySave
Also better handling for saving multiple entities individually
* Create new partial class for map loading
* Add OrphanSerializationTest
* Include MapIds in BeforeSerializationEvent
* Addd LifetimeSerializationTest
* Add TestMixedLifetimeSerialization
* Add CategorizationTest
* explicitly serialize list of nullspace entities
* Add backwards compatibility test
* Version comments
also fixes wrong v4 format
* add MapMergeTest
* Add NetEntity support
* Optimize EntityDeserializer
Avoid unnecessary component deserialization
* fix assert & other bugs
* fucking containers strike again
* Fix deletion of pre-init entities
* fix release note merge conflict
* Update Robust.Shared/Map/MapManager.GridCollection.cs
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
* VV
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-02-16 21:25:07 +11:00