Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A compilation of simple one-line fixes #5661

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

TemporalOroboros
Copy link
Contributor

Mass-purge of obsolete method calls.

Replaces call to TransformComponent.GetMapUid with SharedTransformSystem.GetMap
Fixes a couple calls to obsolete varients of SetAwake and an obsolete call to RegenerateContacts by converting them to their Entity<T> varients
Adds one set of parenthesis to convert a 'uid, comp, comp, comp' call to an 'Entity<T, T, T> call.
Removes an unused list of broadphases that was being allocated in TryCollideRect
Fixes all of the easy warnings regarding physics island processing, the rest require more complicated changes than a simple argument rearrangement
Slightly more complicated than the rest, but it's really just changing an unused dependency over to use SharedTransformSystem
LineEdit and TextEdit never use their IClyde dependencies and it generates a warning so yeet
Removes a bunch of unused private IEntityManager vars
Also removes an obsolete use of TransformComponent.GetWorldPositionRotation
There's nothing saying why this is this way and the blame looks like it was an oversight when replacing a bit where they set position and then rotation
Please, oh Chesterton's Fence, spare me your wrath
Use #else sections to make sure they don't complain about being on the wrong side of a throw
@TemporalOroboros TemporalOroboros marked this pull request as ready for review February 6, 2025 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants