Pieter-Jan Briers
6bdb7c040f
Fix some warnings. ( #3803 )
2023-02-25 11:20:29 +11:00
metalgearsloth
b39adf0095
Fix some build warnings ( #3573 )
2022-12-12 22:12:51 +01:00
Pieter-Jan Briers
1646297039
Remove most static IoCManager. accesses from engine. ( #3466 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2022-11-15 22:00:28 +11:00
Leon Friedrich
c6896e9bd9
More broadphase fixes ( #3429 )
2022-11-03 12:30:14 +11:00
Leon Friedrich
2b594f6356
Cache broadphases and container rejig ( #3407 )
2022-10-31 10:06:08 +11:00
Leon Friedrich
1e843bf3a2
More Transform ECS ( #3368 )
2022-10-30 03:36:23 +11:00
metalgearsloth
2d7cd49dbc
Revert "Container tweaks ( #3293 )" ( #3309 )
...
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com >
2022-10-09 21:42:12 +11:00
themias
b861182846
Fix EmptyContainer and CleanContainer ( #3300 )
2022-10-09 04:30:46 +11:00
metalgearsloth
31da2557d5
Container tweaks ( #3293 )
2022-10-06 13:12:43 +02:00
DrSmugleaf
32f0ffdc79
Move ContainerHelpers methods to SharedContainerSystem ( #3149 )
2022-08-20 07:57:56 +02:00
metalgearsloth
df4ebd6c8c
No more spoopy invisible ghosts ( #2910 )
...
Co-authored-by: metalgearsloth <metalgearsloth@gmail.com >
2022-06-06 16:50:57 +10:00
Leon Friedrich
1d8a8e15ef
Add a is-In-container metadata flag. ( #2585 )
2022-03-31 13:23:33 +11:00
metalgearsloth
33251222cd
EntityLookup as a system ( #2573 )
2022-03-03 21:17:01 +11:00
Leon Friedrich
bcaa7001ad
Hopefully fix container occlusion bug? ( #2464 )
2022-02-10 09:29:26 +01:00
Leon Friedrich
c1df7dcca7
Move some static helpers to container system ( #2470 )
2022-01-31 17:21:09 +11:00
Leon Friedrich
b6907e999d
Make ContainerSystem.ContainsEntity() not log missing components ( #2345 )
2021-12-14 10:14:09 +01:00
Vera Aguilera Puerto
9133879bd3
Remove more IoCManager IEntityManager resolves
...
Also adds convenience "Deleted" method to IEntityManager
2021-12-08 10:53:24 +01:00
20kdc
8aa6fb478b
Susser Todd: Robust.Shared, Error Pass 2 "It Now Compiles"
2021-12-03 19:36:16 +00:00
Vera Aguilera Puerto
7a06db60cf
Inline UID
2021-12-03 15:53:10 +01:00
Vera Aguilera Puerto
e93ae73e50
Inline TryGetComponent completely, for real
2021-12-03 14:17:01 +01:00
Vera Aguilera Puerto
bbf5e92f32
Inline IsValid
2021-12-03 11:32:53 +01:00
Vera Aguilera Puerto
78d01fd25d
Remove every ITransformComponent usage.
2021-11-08 12:44:03 +01:00
Vera Aguilera Puerto
76ab68dc3d
SharedContainerSystem proxy methods use UID to add components.
...
- Also disables logging missing comps on TryX methods.
2021-10-05 11:34:59 +02:00
Vera Aguilera Puerto
fbcdd63988
Gets rid of most ComponentManager usages. ( #2076 )
...
- Obsoletes more `ComponentManager` fields/properties.
2021-09-28 13:36:18 +02:00
Vera Aguilera Puerto
0b8cb5e3b6
Add proxy methods to SharedContainerSystem. ( #2061 )
2021-09-25 18:18:11 +02:00
Vera Aguilera Puerto
e5013d9e3f
Add support for struct directed events, add by-ref directed/broadcast events. ( #1931 )
...
* Add support for struct directed events.
- Turn transform events into readonly structs
* TransformComponent events have readonly fields.
* Reduce boxing allocations, add DirectedRegistration readonly struct.
* Use typeof in a few places instead of GetType
* Add overloads to allow passing directed events by ref.
* Raise transform events by ref.
* Fix occluder AnchorStateChangedEvent subscription
* Fix broadphase subscriptions
* Fix bug oops
* Fix transform system raising moveevents by value
* Don't reflect the test entity systems.
* Directed EventBus uses ref everywhere, internally
Deduplicates a bunch of code. Whoo!
* Add broadcast by-ref events
* Fix by-ref events bug using Unsafe, add new tests for sorted by-ref events.
* Port broadcast events to by-ref.
* Speed, more correctness, reduce generics bloat.
* Clean up subscription code some.
* Remove bad test.
Co-authored-by: Pieter-Jan Briers <pieterjan.briers+git@gmail.com >
2021-08-21 11:37:02 +02:00
ShadowCommander
e16e0f4bd0
Fix containers with entities that do not exist yet ( #1892 )
...
* Fix containers that hold entities not on client
* Delete from ExpectedEntities when entity removed
* Fix ContainerSystem not registering on the server
* Move container state to entity system
Move client code to client
* Fix removal and clean up code
* Add test
* Add more checks to test
* Remove unneeded deletion event handler
When the child is deleted, if the entity does not exist on the client,
then HandleComponentState runs. If the entity does exist, then
HandleEntityInitialized would have run. Either way HandleEntityDeleted
is not needed.
* Renamed unexpected to removedExpected
2021-08-04 19:00:14 -07:00