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
Leon Friedrich and GitHub
f285c62674
Rework entity prototype categories ( #5061 )
...
* Improve entity categories
* A
2024-06-02 14:10: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
d5c4981648
Partial MapManager refactor ( #5042 )
...
* MapManager rejig
* Update Tests
* A
2024-04-18 14:05:02 +10:00
Leon Friedrich and GitHub
2f0283edb7
Freeze event bus dictionaries ( #4727 )
...
* Make component factory use frozen collections
* Fix integration tests
* Also freeze _entTraitDict
* A
* I love integration test setup logic
* Re-add public method
* Freeze event bus
* Remove per-component dictionary lookup on EntAddComponent
* release notes + fix test jank
* Fix merge
* fix tests
* Shutdown
2024-01-06 13:50:19 +11:00
Leon Friedrich and GitHub
f4faa1ad3d
Run grid traversal on entity spawn ( #4796 )
...
* Run grid traversal on entity spawn
* Add test
* Fix tests
2024-01-02 17:25:13 +11:00
250f6ca7db
Obsolete TransformComponent.ChildEntities ( #4706 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-14 17:50:29 +11:00
Leon Friedrich and GitHub
684cabf3e6
Use metadata query in ToPrettyString() ( #4478 )
2023-10-09 19:07:31 +11:00
DrSmugleaf and GitHub
66239d23ea
Refactor serialization copying to use source generators ( #4286 )
2023-08-22 17:37:13 -07:00
DrSmugleaf and GitHub
d3dc89832a
Add component that lets entities ignore BUI range checks ( #4264 )
2023-08-16 15:41:01 +10:00
Leon Friedrich and GitHub
f917748809
Make map loading log errors on invalid UIDs ( #3970 )
2023-04-25 13:58:10 +10:00
metalgearsloth and GitHub
8a6cadd38f
Revert "Revert "Replace ResourcePath with ResPath ( #3926 )" ( #3949 )" ( #3950 )
2023-04-20 20:15:57 +10:00
metalgearsloth and GitHub
d646403068
Revert "Replace ResourcePath with ResPath ( #3926 )" ( #3949 )
2023-04-20 11:43:51 +10:00
Ygg01 and GitHub
d6a3e1e286
Replace ResourcePath with ResPath ( #3926 )
2023-04-19 23:37:46 +10:00
Pieter-Jan Briers and GitHub
23fd4e1843
Refactor MSBuild spaghetti, new configurations. ( #3807 )
2023-03-06 11:12:08 -08:00
metalgearsloth and GitHub
ace8500240
Remove client/server split on sharedphysicsmap ( #3618 )
2022-12-27 13:17:54 +11:00
Pieter-Jan Briers and GitHub
84733a335c
Prototype load parallelization ( #3502 )
2022-12-20 22:46:30 +01:00
metalgearsloth and GitHub
d9c59164f2
Refactor maploader to a system ( #3385 )
2022-11-13 17:29:57 +11:00
Leon Friedrich and GitHub
f4f2dea688
Fix load grid errors ( #3181 )
2022-08-25 23:28:29 +10:00
Pieter-Jan Briers
77b1fd933c
Fix MapLoaderTest having a nullable error in Rider.
2022-07-08 22:38:30 +02:00
2059d37c8f
Remove implicit grid conversion ( #2968 )
...
* Remove implicit grid conversion
* fix map test
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2022-06-28 22:55:44 +10:00
mirrorcult and GitHub
bf5d1d58a8
Merge pull request #2715 from moonheart08/better-map-loading
2022-04-15 14:34:48 -07:00
DrSmugleaf and GitHub
649178fa54
Rename engine prototypes folder to EnginePrototypes ( #2723 )
2022-04-14 05:46:29 +02:00
moonheart08
8a202be0cf
naming.
2022-04-12 09:34:18 -05:00
moonheart08
aa9721d146
fix tests
2022-04-11 23:15:37 -05:00
8491f7be24
New Serv3 api just dropped ( #2605 )
...
Co-authored-by: Paul Ritter <ritter.paul1@gmail.com >
2022-04-03 01:59:48 +02:00
metalgearsloth and GitHub
33251222cd
EntityLookup as a system ( #2573 )
2022-03-03 21:17:01 +11:00
metalgearsloth and GitHub
4b20bae597
RobustUnitTest tweaks ( #2568 )
2022-03-01 13:35:32 +11:00
de4d255841
Analyzer to enforce classes to be either [Virtual], abstract, or sealed. ( #2469 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-02-05 19:31:58 +01:00
wrexbe and GitHub
d1e0f2cd94
Automatic Component Names (Alternate ending) ( #2389 )
2022-01-25 14:10:08 +01:00
2d331ff786
Broadphase fix take 2 ( #2327 )
...
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com >
2021-12-23 12:20:59 +01:00
Vera Aguilera Puerto and GitHub
e94c2f039c
Some fixes for map init. ( #2355 )
2021-12-20 13:57:26 +01:00
DrSmugleaf
7f89aabbb0
Merge branch 'master' of https://github.com/space-wizards/RobustToolbox into 2021-12-03-remove-IEntity-komm-süsser-todd
2021-12-06 12:41:36 +01:00
Vera Aguilera Puerto and GitHub
43e67c0db9
Add new EntitySystem proxy methods. ( #2310 )
2021-12-06 12:33:04 +01:00
Vera Aguilera Puerto
850d7ba032
More error fixes.
2021-12-04 12:47:09 +01:00
Wrexbe
84ee039f62
Fix the tests
2021-12-03 18:48:29 -08:00
Wrexbe
69fa2eed64
Building Tests
2021-12-03 14:22:53 -08:00
Vera Aguilera Puerto
7a06db60cf
Inline UID
2021-12-03 15:53:10 +01:00
Vera Aguilera Puerto
94e6886a85
Inline Transform
2021-12-03 14:20:35 +01:00
Vera Aguilera Puerto
86d05dfa1e
Inline GetComponent
2021-12-03 11:55:25 +01:00
metalgearsloth and GitHub
6da9176410
Fixture 2 electric boogaloo ( #2297 )
2021-12-01 18:31:13 +11:00
metalgearsloth
f812eb1e27
Revert "Move physics fixtures to its own component ( #2220 )"
...
This reverts commit ebc0fc9c60 .
2021-12-01 13:54:32 +11:00
metalgearsloth and GitHub
ebc0fc9c60
Move physics fixtures to its own component ( #2220 )
2021-12-01 12:59:42 +11:00
metalgearsloth and GitHub
68576ace72
Accurate grid bounds ( #2027 )
...
* Fright night
* Shitty bounds working
* No more fixture leak
* Optimise TryFindGridAt
Should be O(1) now instead of the previous O(n) for number of fixtures
* ambush
* Merge stuffies
* Merge to master
* Fixes I guess
* Fix client sync
* Fix grid deserialization
* Jank test
* Fix deferral shitfuckery
* Optimise and remove
* Fixes
* Just werk dam u
* Optimisations
* Bunch of fixes
* FINALLY IT'S DONE
* Fixes
* Fix
* Comment
2021-09-20 21:07:31 +10:00
metalgearsloth and GitHub
36a9d06381
Fix Robust tests ( #2004 )
...
Not the greatest of solutions but at least it's fixed for now.
2021-09-06 01:27:37 +10:00
7f2e433087
Broadphase refactor ( #1848 )
...
* Broadphase refactor
* Stuff
* Working
* TODO
* Changes
* Which fucking madman came up with this shit
* Known gud state
* Kinda shitcodey but it works so fuck it doin it live
* Shuttle jankiness
* Refactor entitylookups to be 30% more based
* Refactor gucci
* Done?
* Fix most tests
* nothing suss
* Vera single-handedly saving shuttles
* fex
* Fix renderingtreecomp for relativity
* Fix IEntityLookup
* Fixes
* Testing jank please revert some of it before merging
* Fix the remaining bugs
* Fix crash
* Fix grid physics initialization
* Shuttle collisions working
* Fixes
* Fixes
* Velocity on transfers
* Velocity on parent change
* Fixes
* world angular velocity too
* Slightly faster map velocities
* showbb revert
* Sketch grids kinda workin
* Fix PVS contact crash
* Cleanup gridfixture updates 0.1%
* Grid fixtures
* AAAAAAAAAAAAAAA
* a
* termp
* Fixes
* Test reversion reversion?
* Tests
* Fix Equals
* Slight box2i cleanup
* Better initializer
* Fix merge issues
* Shuttles go BRRT
* Remove MoveProxy from DynamicTreeBroadphase
* Optimise a shit tonne
* Approx
* fix showbb
* clean
* Slightly more optimised
* My almonds are activating
* Contact transform caching
* Avoid duplicates
* Typo
* Logger
* Jitter 1% better
* Okay shit maybe that's not it.
* Contact fixes
* Move check thingy up front
* Revert some jank caching
* Contact filtering
* Fix master merge
* Test fixes
* Re-fix MapLoaderTest
* Use proxies instead
* uhh wtf?
* Woops
* Fix collisions
* Fix grid fixture generation
* Fix deserializing
* Tile window fix
* Cleanup broadphase
* Bit more cleanup
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com >
2021-07-21 21:12:58 +10:00
metalgearsloth and GitHub
f780f04784
Deprecate PhysShapeGrid ( #1862 )
...
* Grid fixtures
* termp
* Fixes
* Test reversion reversion?
* Tests
* Fix Equals
* Slight box2i cleanup
* Better initializer
* Also add static grid assert
2021-07-14 18:47:17 +10:00
Acruid and GitHub
dadd7b4cc3
Remove Static Component NetIds ( #1842 )
...
* ComponentNames are not sent over the network when components are created.
* Removed ComponentStates array from EntityState, now the state is stored directly inside the CompChange struct.
* Remove the unnecessary NetID property from ComponentState.
* Remove Component.NetworkSynchronizeExistence.
* Change GetNetComponents to return both the component and the component NetId.
* Remove public usages of the Component.NetID property.
* Adds the NetIDAttribute that can be applied to components.
* Removed Component.NetID.
* Revert changes to GetComponentState and how prediction works.
* Adds component netID automatic generation.
* Modifies ClientConsoleHost so that commands can be called before Initialize().
* Completely remove static NetIds.
* Renamed NetIDAttribute to NetworkedComponentAttribute.
* Fixing unit tests.
2021-07-12 10:23:13 +02:00
Pieter-Jan Briers
2a1eda0d38
Fix tests
2021-05-12 01:57:03 +02:00
Acruid and GitHub
f7e8178736
Added new ComponentEvents system in IEventBus. ( #1601 )
...
* Added new ComponentEventBus, combined it with IEventBus.
* Removed all traces of IEntity from ComponentDependencies.
Removed IEntityManager dependency from ComponentManager.
* Added entity create/delete events to IEntityManager.
* ComponentEvents now use EntitySystemMessages instead of their custom ComponentEvent class.
* Component events are now just overloads of entity events.
* Removed obsolete EntitySystemMessage, now everything uses the base EntityEventArgs.
* Add a bool argument for if the message should be broadcast as well as directed.
Fix ordering and init issues of events in EntityManager.
* Changed names from Component/Entity events to Directed/Broadcast.
* Fix bugs and unit tests.
2021-03-09 11:02:24 -08:00