Tayrtahn and GitHub
196e59b7e4
Clean up all missing EntitySystem proxy method uses ( #6027 )
...
* Clean up all missing EntitySystem proxy method uses
* Restore comment
* Fix bad change that caused closure allocation
* tuple
* Revert "tuple"
This reverts commit 14581a40aa .
* Revert "Fix bad change that caused closure allocation"
This reverts commit 215b2559ed .
* Revert "Restore comment"
This reverts commit 4a47a36557 .
* Revert "Clean up all missing EntitySystem proxy method uses"
This reverts commit 3b1fe4ce7f .
* Redo with improved code fixer.
Let's see how it fares this time
2025-06-21 00:05:09 +02:00
PJB3005
a6905151b6
Move PointLight component states to shared
...
Necessary so the client can calculate an initial state, which is necessary for prediction and replay seeking to work properly.
Fixes the nuke in SS14 not having its light turn off when going back in a replay.
2025-05-02 01:21:17 +02:00
1d0404953f
Add GridUidChangedEvent and MapUidChangedEvent ( #5893 )
...
* Add GridUidChangedEvent and MapUidChangedEvent
* cleanup
* Fix assert
* more fixes
* docs
* record struct
* Use implicit tuple constructor
* stinky review
---------
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2025-04-30 18:36:53 +10: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
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
IProduceWidgets and GitHub
a2983a5ee0
safe dictionary assignment ( #5587 )
2025-01-06 21:02:02 +01:00
Mervill and GitHub
80a963ec05
Replace obsolete functions in MapSystem ( #5483 )
2024-10-07 18:48:09 +02:00
metalgearsloth and GitHub
140767c262
Move viewsubscriber to shared + handle eye targets ( #5362 )
...
* Move viewsubscriber to shared + handle eye targets
Need this stuff for AI.
* Fix dumb
* review
2024-08-23 18:29:57 +10:00
Pieter-Jan Briers and GitHub
05cdb99252
Warning fixes around IMapManager.GetMapEntityId ( #5298 )
...
* Add MapSystem.GetMapOrInvalid
This is effectively the same exact behavior as IMapManager.GetMapEntityId. Adding this so I don't have to consider whether warning fixes using MapSystem.GetMap() instead would change behavior.
* Warning fixes around IMapManager.GetMapEntityId
* Fix tests
2024-07-13 15:27:32 +10:00
b8924f3ddf
Removes obsolete visibility system functions ( #5209 )
...
* Removes obsolete visibility system functions
* guh, forgot to add the test
---------
Co-authored-by: plykiya <plykiya@protonmail.com >
2024-06-28 17:30:02 +10:00
Leon Friedrich and GitHub
074a4faa92
Try fix client-side BUI error spam ( #5208 )
2024-06-05 15:21:27 +10:00
Leon Friedrich and GitHub
6dd6b79db6
Fix PVS exception ( #5196 )
2024-06-02 21:58:48 +10:00
eoineoineoin and GitHub
56c30edf04
Replace Matrix3 with System.Numerics.Matrix3x2 ( #5078 )
...
* Delete Matrix3. Replace with System.Numerics.Matrix3x2
* Feedback
* release notes
2024-06-02 14:08:47 +10:00
metalgearsloth and GitHub
0a149fa91c
Expand PVS BUIs ( #5179 )
...
Mainly happens to aghosts who go out of range. Shouldn't be a huge perf impact as the User component is added / removed as BUIs get opened.
2024-05-31 09:51:11 +10:00
metalgearsloth and GitHub
d72de032fa
Predicted BUIs ( #5059 )
...
* Add TryGetOpenBUI
Avoids having to get the component and openinterfaces separately.
* Couple more helpers
* entityquery
* reviews
* Shared BUIs
* zawehdo
* More boilerplate
* Bunch more work
* Building
* Stuff
* More state handling
* API cleanup
* Slight tweak
* Tweaks
* gabriel
* Disposies
* Active UI support
* Lots of fixes
- Fix states not applying properly, fix predicted messages, remove redundant message type, add RaiseUiMessage for an easy way to do it from shared, add the old BUI state change events back.
* Fix test failures
* weh
* Remove unncessary closes.
* release note
2024-04-26 18:12:55 +10:00
Leon Friedrich and GitHub
1031ae4cc5
Fix mapping not pausing maps ( #5063 )
2024-04-23 14:25:40 +10:00
Leon Friedrich and GitHub
0ab59d70b1
More mapinit fixes ( #5058 )
2024-04-21 18:57:20 +10:00
Leon Friedrich and GitHub
15f94bd094
Fix mapinit persistence when overwriting existing maps ( #5057 )
...
* Fix mapinit persistence when overwriting existing maps
* Hours wasted chasing fucking chickens in a crate
2024-04-21 16:48:39 +10:00
Leon Friedrich and GitHub
d5c4981648
Partial MapManager refactor ( #5042 )
...
* MapManager rejig
* Update Tests
* A
2024-04-18 14:05:02 +10:00
Pieter-Jan Briers and GitHub
2a9de462d5
Preserve tile maps when saving maps & related changes ( #5003 )
...
* Un-hardcode behavior to make a component not saved to map file.
MapSaveId is a special component that can't be saved to map files due to a hardcoded type check. This behavior can now be applied to any component with [UnsavedComponent].
Moved "component registration" attributes into a single file because they don't deserve their own (poorly organized) .cs files.
* Add ITileDefinitionManager.TryGetDefinition
Try-pattern version of the existing indexers.
* Preserve tile maps when saving maps
This changes the map saver and loader code so that the "tilemap" can be preserved between map modifications as much as possible.
The tile map from the loaded map gets stored onto MapSaveTileMapComponent components on all loaded grids. This tile map is then used when saving, meaning that changes to the engine's internal tile IDs do not cause diffs.
Fixes #5000
* Changelog
* Fix tests
2024-03-27 14:14:19 +11:00
a2d0504368
Replace PVS dictionaries with memory magic ( #4795 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2024-03-17 06:57:13 +11:00
Pieter-Jan Briers
3a55118143
Replace CVar OnValueChanged in systems with Subs.CVar
2024-02-11 13:29:27 +01:00
Leon Friedrich and GitHub
1758fced75
Revert some grid/map related changes ( #4809 )
2024-01-05 13:48:43 +11:00
Leon Friedrich and GitHub
cfb88b2e8e
Arch related engine changes ( #4806 )
2024-01-04 12:18:03 +11:00
Leon Friedrich and GitHub
c1789cbbaf
Make MappingDataNode ordered ( #4800 )
2024-01-03 10:22:44 +11:00
Leon Friedrich and GitHub
97d03c6954
VisMask and EntityLifeStage changes ( #4794 )
2024-01-02 11:43:08 +11:00
Leon Friedrich and GitHub
0b8febf6a6
FlushEntity() and EntityManager event changes ( #4791 )
2024-01-01 11:04:11 +11:00
Leon Friedrich and GitHub
64b5d6e323
Pvs cleanup & expose methods for benchmarking ( #4779 )
...
* Pvs cleanup & expose methods for benchmarking
* Fix tests
* Minimalist PvsData
2023-12-30 13:23:29 +11:00
Leon Friedrich and GitHub
e9e0117402
Fix pvs bug ( #4775 )
...
* Fix pvs bug
* Moar asserts
2023-12-28 12:24:41 +11:00
Leon Friedrich and GitHub
eba58cb893
Remove RobustTree & PVSCollection ( #4759 )
...
* Cut down RobustTree
* Better LoD
* Add PvsPriority flag
* Undo cvar name change
* reorganize grafana metrics
* Fix tests
* Fix replays
* Don't try process empty chunks
* Fix move benchmark
* Fix benchmark
* Remove obsolete audio methods
* Moar benchmarks
* Rename EntityData
* A
* B
2023-12-28 09:10:13 +11:00
bc84590a33
Make ChildEnumerator out value non-nullable ( #4707 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-17 03:10:20 +11:00
Pieter-Jan Briers
01df42aa8f
Fix ICommonSession.ConnectedClient obsoletion warnings
2023-12-15 19:34:30 +01:00
250f6ca7db
Obsolete TransformComponent.ChildEntities ( #4706 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-14 17:50:29 +11:00
DrSmugleaf and GitHub
a23915e0dd
Make MapLoaderSystem.GetSaveData public ( #4702 )
2023-12-12 13:09:39 +11:00
2733435218
Audio rework unrevert + audio packaging ( #4555 )
...
Co-authored-by: Pieter-Jan Briers <pieterjan.briers@gmail.com >
2023-11-27 22:12:26 +11:00
metalgearsloth and GitHub
24b0165ec9
Revert Arch ( #4613 )
2023-11-27 21:41:01 +11:00
metalgearsloth and GitHub
4cb51af733
Add arch trimming back ( #4608 )
2023-11-26 12:35:13 +11:00
7dce51e2cf
Arch PR two electric boogaloo ( #4388 )
...
Co-authored-by: DrSmugleaf <drsmugleaf@gmail.com >
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-11-23 14:29:37 +11:00
Leon Friedrich and GitHub
19564a421b
Fix deserialization of empty grid chunks ( #4565 )
2023-11-13 05:22:20 +11:00
Leon Friedrich and GitHub
58e0b62145
Merge ActorSystem and IPlayerManager ( #4530 )
2023-11-11 12:50:21 +11:00
DrSmugleaf and GitHub
164bf68aca
Move TryGetUi/TryToggleUi/ToggleUi/TryOpen/OpenUi/TryClose/CloseUi to SharedUserInterfaceSystem ( #4562 )
2023-11-08 16:52:38 +11:00
metalgearsloth and GitHub
170d192791
Revert audio rework ( #4554 )
2023-11-07 09:34:09 +11:00
metalgearsloth and GitHub
d75dbc901f
Audio rework ( #4421 )
2023-10-29 14:58:19 +11:00
Leon Friedrich and GitHub
911abf2693
Remove empty planet-map chunks ( #4529 )
2023-10-29 12:52:03 +11:00
Leon Friedrich and GitHub
5a6c4220fc
IPlayerManager refactor ( #4518 )
2023-10-24 20:18:58 +11:00
DrSmugleaf and GitHub
f754ddb96d
Remove all usages of obsolete Dirty method, remove some obsoleted methods ( #4500 )
2023-10-21 14:19:07 -07:00
DrSmugleaf and GitHub
b737ecf9b3
Add generic EntityUid, remove some usages of .Owner ( #4498 )
2023-10-19 12:23:48 -07:00
Leon Friedrich and GitHub
910a7f8bff
Fix visibility layers not updating on children ( #4431 )
2023-09-19 23:12:52 +10:00
1ea7071ffb
Backport some arch comp net changes ( #4408 )
...
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-09-17 11:03:11 +10:00
metalgearsloth and GitHub
22aeec45f9
Minor resolve light update ( #4366 )
2023-09-13 00:32:02 +10:00