Move PhysicServer enums, structs and sub-objects to dedicated files#120983
Open
smix8 wants to merge 1 commit into
Open
Move PhysicServer enums, structs and sub-objects to dedicated files#120983smix8 wants to merge 1 commit into
smix8 wants to merge 1 commit into
Conversation
Moves PhysicServer enums, structs and sub-objects to dedicated files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moves PhysicServer enums, structs and sub-objects to dedicated files.
Someone had to do it and slay that monolith spaghetti code.
Everything in the engine seem to want to include the full physics server.
2D
The old enums can now all be found under
servers/physics_2d/physics_server_2d_enums.hThe old structs can now all be found under
servers/physics_2d/physics_server_2d_types.hThe old constants can now all be found under
servers/physics_2d/physics_server_2d_constants.hThe old direct body state and space state objects can be all found in folder
servers/physics_2d/direct_statesThe old parameter and results can now all be found under
servers/physics_2d/queries3D
The old enums can now all be found under
servers/physics_3d/physics_server_3d_enums.hThe old structs can now all be found under
servers/physics_3d/physics_server_3d_types.hThe old constants can now all be found under
servers/physics_3d/physics_server_3d_constants.hThe old direct body state and space state objects can be all found in folder
servers/physics_3d/direct_statesThe old parameter and results can now all be found under
servers/physics_3d/queriesThere are many more include fixes possible but I did run out of energy and just want that abomination-thing to be over before I lose my sanity on the next forced rebase.
No AI was used because I have a glimpse of self-dignity ... can't speak for my sanity.
