Pieter-Jan Briers and GitHub
510846321d
BUI Improvements / fixes ( #4826 )
...
* Extension helper function for registering BUI events filtered to UI key.
Usages of events like BoundUIClosedEvent frequently did not check the UI key or do it improperly. This has, and will continue to cause, bugs.
The new helper (accessible as Subs.BuiEvents() from an entity system) makes it easy to subscribe to BUI events while also filtering to the correct UI key.
Also added missing SubscribeLocalEvent overloads with new handler types to EntitySystem.Subscriptions.
* Sprinkle [ViewVariables] around BUI
* Avoid buggy behavior if a Bound UI is closed inside the `BoundUIOpenedEvent` that's opening it.
2024-01-10 18:30:57 +01:00
Pieter-Jan Briers
da2a2ce4ff
Remove "Do not use from content" public members.
2024-01-07 04:43:59 +01:00
b8fbe5e465
Compiler error for AutoNetworkedField fields in a component without a AutoGenerateComponentState attribute ( #4670 )
...
* yeah
* remove autonetfield
---------
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2024-01-03 17:24:08 +11:00
Leon Friedrich and GitHub
97d03c6954
VisMask and EntityLifeStage changes ( #4794 )
2024-01-02 11:43:08 +11:00
ElectroJr
be0fb4250c
Replace scale with override
2023-12-27 17:22:07 -05: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
metalgearsloth and GitHub
495671576e
Add cycling for auto-animated states ( #4763 )
...
* Add cycling for auto-animated states
* Non-nullable and AdvanceFrameAnimation() tweak
2023-12-28 08:51:00 +11:00
7e8a5e199f
Don't defer grid traversals ( #4750 )
...
* Don't defer grid traversals
Transform is in a slightly better state so we can remove this hacky thing.
It got to the point it was doing a bunch of unnecessary checks (no need to check container if you're just checking map / grid parent assuming no map / grid has containers).
The main concern now is: Does not deferring cause any issues, which it doesn't seem to (previously this mostly happened with transform state handling). On server-side the main worry is broadphasesystem seeing as this is being run manually to check for entities entering grids.
* Comment cleanup
* Obsolete MoveEvent .FromStateHandling
* Faster map position calculation
* Check Xform.GridUid instead of checking for `MapGridComponent`
---------
Co-authored-by: ElectroJr <leonsfriedrich@gmail.com >
2023-12-24 16:33:00 +11:00
Kara and GitHub
d416344aef
MoveEvent broadcast -> C# event ( #4732 )
...
* MoveEvent broadcast -> C# event
* Broadcast MoveEvent -> C# event
* oops
* forgob
* release notes
* Update description of moveevent
2023-12-19 12:26: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
250f6ca7db
Obsolete TransformComponent.ChildEntities ( #4706 )
...
Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com >
2023-12-14 17:50:29 +11:00
metalgearsloth and GitHub
24b0165ec9
Revert Arch ( #4613 )
2023-11-27 21:41:01 +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
ceb205ad52
Allow per-eye lighting toggling. ( #4569 )
2023-11-13 05:30:00 +11:00
Leon Friedrich and GitHub
216292c849
Make EyeComponent.Eye not nullable ( #4564 )
2023-11-13 04:20:09 +11:00
metalgearsloth and GitHub
2f6c29ab43
Add GetMapCoordinates to TransformSystem ( #4556 )
2023-11-07 20:23:05 -08: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
DrSmugleaf and GitHub
6b6ec844e8
Replace all T : Component constraints with T : IComponent ( #4494 )
2023-10-17 19:37:46 -07:00
Leon Friedrich and GitHub
f3af813b57
Transform interpolation fixes ( #4488 )
2023-10-17 23:47:45 +11:00
Leon Friedrich and GitHub
910a7f8bff
Fix visibility layers not updating on children ( #4431 )
2023-09-19 23:12:52 +10:00
Leon Friedrich and GitHub
366266a8ae
Fix light animations not working ( #4413 )
2023-09-18 03:49:47 +10:00
Leon Friedrich and GitHub
a22cce7783
Fix metadata assert ( #4419 )
2023-09-17 17:18:44 +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
ElectroJr
c102da052f
Make VV fields private
2023-09-16 14:47:27 -04:00
metalgearsloth and GitHub
5d46cdcfa4
Add transform parent + container VVs ( #4407 )
2023-09-16 17:08:08 +10:00
metalgearsloth and GitHub
6af0c88f27
Fix IEye not updating always ( #4368 )
2023-09-13 11:51:11 +10:00
metalgearsloth and GitHub
268eb862ea
Refactor UI a bit more to shared ( #4343 )
2023-09-11 20:21:23 +10:00
metalgearsloth and GitHub
25007a743f
Remove lights component reference ( #4316 )
2023-09-11 19:17:28 +10:00
metalgearsloth and GitHub
c4d6690a71
Remove SharedEyeComponent ( #4309 )
2023-09-11 16:15:08 +10:00
metalgearsloth and GitHub
3fd731d917
Network entity ids ( #4252 )
2023-09-11 09:42:55 +10:00
DrSmugleaf and GitHub
66239d23ea
Refactor serialization copying to use source generators ( #4286 )
2023-08-22 17:37:13 -07:00
7fe9385c3b
Change default value of EntityLastModifiedTick from zero to one. ( #4282 )
...
Co-authored-by: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com >
2023-08-21 13:55:41 +10:00
Leon Friedrich and GitHub
77e949bfe8
More serialization related changes, ( #4250 )
2023-08-08 17:22:10 +10:00
metalgearsloth and GitHub
8b4925863e
Cull Component.Initialize ( #4191 )
2023-07-26 22:37:45 +10:00
metalgearsloth and GitHub
7d1ad527d9
Replace Robust Vector2 with System.Numerics ( #4092 )
2023-07-08 14:08:26 +10:00
Leon Friedrich and GitHub
8fd1e9047f
Rejig time offset serializer ( #4154 )
2023-06-26 06:29:45 +10:00
Leon Friedrich and GitHub
8c5a34f538
Fix bad gamestate asserts ( #4149 )
2023-06-23 09:48:06 +10:00
Leon Friedrich and GitHub
9d4105abc7
Add support for client-side replays ( #4122 )
2023-06-19 03:23:46 +10:00
metalgearsloth and GitHub
33cdc0d31f
Obsolete some metadata stuff ( #4110 )
2023-06-11 05:44:36 +10:00
metalgearsloth and GitHub
0ebdd4ac1d
MapManager query changes ( #4090 )
2023-05-28 23:22:39 +10:00
TemporalOroboros and GitHub
435b252c86
Removes AppearanceVisualizers ( #4069 )
2023-05-19 07:15:06 +10:00
Leon Friedrich and GitHub
b422d8d3ca
Make map-grids set TransformComponent.GridUid ( #4040 )
2023-05-15 12:39:45 +10:00
Menshin and GitHub
ff35b921aa
Add option for norot/snapping sprite layers ( #3808 )
2023-05-13 08:14:03 +10:00
Leon Friedrich and GitHub
c5ecc426d0
Remove server and shared sprite component ( #3981 )
2023-04-30 16:09:07 +10:00
DrSmugleaf and GitHub
4c8be516cf
Remove ILookupWorldBox2Component component reference ( #3914 )
2023-04-20 23:41:30 +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