a3d0921cc9
Pause entities that leave PVS range ( #5878 )
...
* Pause entities that leave PVS range
* Fix merge
---------
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2025-05-10 21:57:04 +10:00
Leon Friedrich and GitHub
c458abdc69
Move TestPair & PoolManager to engine ( #5877 )
...
* Engine pool manager
* Move documentation
* Move namespace
* Move TestMapData to engine
* Option to prevent loading test assembly
* release notes
* Rename to avoid conflicts
2025-05-10 21:35:28 +10:00
eb5ed12270
Serialize TimeSpan from text ( #5865 )
...
* timespanserializer cleanup
* string reading
* high speed, low drag
* unit tests
* Update Robust.Shared/Serialization/TypeSerializers/Implementations/TimespanSerializer.cs
---------
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2025-05-05 00:57:01 +02:00
Leon Friedrich and GitHub
806c23e034
Move EntityExt.AsNullable extension methods into the Entity struct ( #5899 )
...
* Move `EntityExt.AsNullable` extension methods into the Entity struct
* use constructor
* a
2025-05-04 01:24:23 +02:00
metalgearsloth and GitHub
e80f5d13a1
Add Vector2i / bitmask conversions ( #5901 )
...
Content uses for a couple tile-based flags.
2025-05-04 01:23:04 +02:00
Milon and GitHub
3bbe0e7f44
ftl hot reloading ( #5874 )
...
* sloth is so going to kill me
* the voices in my head told me to do this
* Register ILocalizationManagerInternal on client
* Avoid breaking change
* Cleanup
* Release notes
2025-04-26 22:38:56 +10:00
Tayrtahn and GitHub
8f9e0f6bab
Fix warnings in PhysicsMap_Test ( #5884 )
2025-04-24 18:10:13 +10:00
Tayrtahn and GitHub
3ed408de5d
Fix warnings in Joints_Test ( #5885 )
2025-04-24 18:09:27 +10:00
Leon Friedrich and GitHub
3ce764311d
Make RobustIntegrationTest pool by default ( #5872 )
2025-04-20 17:53:55 +10:00
Leon Friedrich and GitHub
2f8f4f2f7a
Make MappingDataNode use string keys ( #5783 )
...
* string keys
* obsoletions
* Fix ValueTupleSerializer
* Release notes
* fix release note conflict
* cleanup
* Fix yaml validator & tests
* cleanup release notes
* a
* enumerator allocations
* Also sequence enumerator alloc
2025-04-18 19:01:34 +10:00
Tayrtahn and GitHub
7365a59bd9
Cleanup warnings in CollisionWake_Test ( #5847 )
2025-04-18 12:05:48 +10:00
Whatstone and GitHub
919de8ce0e
SharedPhysicsSystem.Island: set position after velocity ( #5801 )
2025-04-09 01:10:17 +10:00
metalgearsloth and GitHub
ae625ebad8
Inline manifold points ( #5794 )
...
* Inline manifold points
Max is 2 so no reason to use an array over a fixedarray.
* this
2025-04-02 00:04:51 +11:00
Tayrtahn and GitHub
f244c94905
Switch from checking comp.Owner == ent to GetComp(ent) == comp ( #5776 )
2025-03-27 15:21:05 +11:00
Tayrtahn and GitHub
01cac6465b
Cleanup warnings in EntityCoordinates_Tests ( #5771 )
...
* Fix warnings
* Use transform refs to simplify WithEntityId
2025-03-27 15:20:20 +11:00
Tayrtahn and GitHub
089224cd44
Cleanup warnings in EntityLookup_Test ( #5775 )
...
* Replace MapManager.DeleteMap calls with MapSystem.DeleteMap
* Remove unused resolves
2025-03-27 15:07:05 +11:00
Tayrtahn and GitHub
dacaa974d4
Replace MapManager.DeleteMap with SharedMapSystem.DeleteMap in misc tests ( #5777 )
...
* Replace MapManager.DeleteMap with SharedMapSystem.DeleteMap in various tests
* Poke tests
* I guess this is was technically a breaking change?
2025-03-27 13:50:56 +11:00
Tayrtahn and GitHub
4529a7569a
Replace uses of ProtoId<EntityPrototype> with ProtoId<EntityCategoryPrototype> ( #5762 )
2025-03-21 04:08:12 +01:00
metalgearsloth and GitHub
45dc9ad80e
Inline polygon vertices ( #5758 )
...
* FastPoly
* Inline polygon vertices
No more pooling, pooling bad. No more arrays in engine, only span.
I made a slim version that's only the 4 verts so no padding on it compared to Polygon. Slightly more clamplicated code but entitylookup + mapmanager are both hotpaths and it's easy to do. Memory usage will likely go up for now but heap allocations should drop significantly due to removing the pooling.
* Unhide these
* Fixes
* More fixes
* More fixes
* Avoid potential bomb
2025-03-20 21:26:05 +11:00
PJB3005
80f2dc6dd3
Fix BoxContainer stretching causing controls to be made too small
...
In which I fix a bug by just deleting a ton of code and doing nothing else.
(also I added unit tests)
2025-03-13 01:01:18 +01:00
metalgearsloth and GitHub
654480862e
Use Prototype for ITileDef ( #5731 )
...
Forgot to push this.
2025-03-08 15:20:25 +11:00
metalgearsloth and GitHub
348ab70a8d
Update B2DynamicTree ( #5332 )
...
* Update B2DynamicTree
* API updates
* weh
* forcing it
* Fix all of the bugs
* Rebuild
* A crumb of danger
* Fix merge conflicts
2025-03-08 14:15:47 +11:00
Tayrtahn and GitHub
f10e96a6d1
Clean up warnings in Stack_Test ( #5705 )
2025-03-08 13:49:52 +11:00
metalgearsloth and GitHub
9fe9730d4a
Add public API for physicshull ( #5719 )
2025-03-03 22:07:38 +11:00
poklj and GitHub
0dec6a425f
Modify TryCopyComponents metadata TryGetComponent ( #5710 )
2025-02-27 11:25:28 +11:00
beck-thompson and GitHub
11b24579a2
Fix MultiRootInheritanceGraph not detecting circular inheritance ( #5672 )
...
* Fix
* This is better!
* Fixes
2025-02-22 22:08:31 +01:00
685d002bb7
Move VisibilitySystem to shared ( #5694 )
...
* Move VisibilitySystem to shared
* this
* Remove redundant qualifiers.
---------
Co-authored-by: PJB3005 <pieterjan.briers+git@gmail.com >
2025-02-22 21:36:49 +01:00
8a04a4f3a5
Add a method for copying components ( #5654 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2025-02-21 09:46:13 +11:00
Leon Friedrich and GitHub
b323c8bd1e
Add support for optional and params T[] toolshed command arguments. ( #5573 )
...
* Include argument name in completion suggestions
* Support optional args
* It (not so shrimply) works
* Add tests
* Add TestGenericPipeInference
* Fix tests
* Release notes
* Overzealous YAMLLinter
* Improve help signatures, fix map command
* Improve NoImplementationError
* Better type argument help signatures
* better pipe syntax
* fix NRE
* Add test
* a
* Fix silent toolshed failure
* Fix GetConcreteMethodInternal
* Improve vars command
* EntProtoId IAsType
* More GetConcreteMethodInternal fixes
* I hate this so much
* update tp command description
The command arguments call the the "other" entity the "target"
* Support localized argument hints/signatures
2025-02-16 21:55:05 +11: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
metalgearsloth and GitHub
ea1cc5e446
Planet lighting pre-reqs ( #5490 )
...
* Add another lookup overload
* Fix RenderInRenderTarget
See the linked issue for what happens.
* Also this one
* stuff
* Fix stencilling
* fixes
* mix blend
* fix
* blur fixes
* Tile flag
* Minor tweak
* Fixes
* Render state fixes
* Fixes
* Fix stupidity
* More state render bug fixes
* MapUid on overlay draw
* Remove blur comment
* Fixes
* Fixes
* Remove
* Engine vibe
2025-02-16 19:29:32 +11:00
51edceae4d
Ensure parents are always initialized & started before children ( #5595 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2025-01-29 23:16:14 +11:00
af6cac14d6
Add CollisionPredictionTest ( #5493 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2025-01-27 21:23:23 +11:00
Leon Friedrich and GitHub
80dbf02af4
Log errors when encountering entity data fields ( #5578 )
...
* Log errors when encountering entity data fields
* Cleanup & comments
* Remove unnecessary GetGenericTypeDefinition
2025-01-07 16:54:25 +01:00
PJB3005
347d240fae
Add API for creating mock configuration managers in unit tests.
2025-01-05 23:27:59 +01:00
Leon Friedrich and GitHub
9af119f57a
Toolshed Rejig ( #5455 )
...
* Toolshed Rejig
* shorten hint string
* Try fix conflicts. Ill make with work later
* bodge
* Fix ProtoIdTypeParser assert
* comment
* AllEntities
* Remove more linq from WhereCommand
* better help strings
* Add ContainsCommand
* loc strings
* Add contains command description
* Add $self variable
* Errors for writing to readonly variables
* A
2024-12-21 17:49:11 +11:00
metalgearsloth and GitHub
82c94fc8b0
transform traversals ( #5564 )
2024-12-21 15:49:43 +11:00
metalgearsloth and GitHub
0b7e8c2560
Add shapecasts + raycasts ( #5440 )
...
* Add shapecasts + raycasts
Actual raycasts. Need this for AI LIDAR experiment.
* cassette
* more cudin
* Mostly ported
* more work
* More ports
* the big house
* rays
* builds
* Janky not working raycasts
* Fix GJK
* Test fixes
* Shapecast + fixes
* free
* tests
* More fixes
* Minor changes
* Not these
* Release notes
2024-12-16 16:07:24 +11:00
SpaceManiac and GitHub
0c7ace16d1
Fix most non-obsolete warnings ( #5555 )
2024-12-13 01:25:00 +01:00
MilenVolf and GitHub
45c14b2bc3
Replace remaining obsolete TileAccess methods ( #5519 )
...
* Replace remaining TileAccess methods
* Small fix
2024-11-18 17:19:57 +01:00
MilenVolf and GitHub
2a1bcb6f1e
Replace some obsolete TileAccess methods ( #5516 )
...
* Replace some obsolete TileAccess methods
* Guh
2024-11-12 23:17:40 +01:00
Mervill and GitHub
3a670ec25e
Replace obsolete functions in EntityLookup Test ( #5482 )
2024-10-07 18:34:22 +02:00
Mervill and GitHub
9be903ee56
Replace obsolete functions in GridRotation Tests ( #5481 )
2024-10-05 13:21:26 +10:00
Vasilis and GitHub
b4beca6562
Expose GameTitle, WindowIconSet and SplashLogo to content ( #5475 )
...
* Expose GameTitle to public
Requirement for upstream ss14 pr
* Missing method implemented
* Add windowiconset and splashlogo (I think this is what pjb meant?)
I don't think its worth it to add the other stuff (modules, assemblyprefix, autocnnect, clientassemblies)
* Docs
2024-10-01 12:05:44 +02:00
Pieter-Jan Briers and GitHub
f40ccb7558
New HWID system prep ( #5446 )
...
* New HWID system prep
* Allow HWID to be disabled.
Both client and server can now request HWID to be disabled.
On the server via CVar, if disabled the client won't send it.
On the client via env var, if disabled it won't be sent to the client.
This involved moving legacy HWID to be sent in MsgEncryptionResponse instead of MsgLoginStart. This means the legacy HWID won't be available anymore if the connection isn't authenticated.
* Fix tests
* Fix another test
* Review
* Thanks Rider
2024-09-29 00:29:02 +02:00
Pieter-Jan Briers and GitHub
f0ed3537ee
Duplicate dependency field analyzer ( #5463 )
...
* Duplicate dependency field analyzer
Detects cases of duplicate [Dependency] fields in a type. We apparently have 27 of these across RT + SS14.
* Fix duplicate dependencies in Robust
2024-09-28 15:35:18 +10:00
Kara and GitHub
48d70a09c6
Remove most fully-obsoleted code ( #5433 )
2024-09-11 19:38:26 +10:00
Pieter-Jan Briers
4490751001
Fix warnings in FormattedMessageSerializerTest.cs
2024-09-02 07:33:26 +02:00
Pieter-Jan Briers
bc8d2c154c
Fix warnings in EntityManager_Components_Tests.cs
2024-09-02 07:32:47 +02:00
Pieter-Jan Briers
3c83f8e62a
Make Rider not complain about Is. in Robust.UnitTesting, globally.
2024-09-02 07:27:23 +02:00