Initial draft of update for Flecs 4.1.0. #99
Draft
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.
The diffs are messed up because I messed up line endings trying to get the generated files to not go crazy with git replacing them just for line endings.
Looks like I just made things worse (every included file has the entire thing as the diff, ugh), so this will stay as a draft PR unless I can figure out how to fix that.
(I'd like to suggest having the generated files not included in the repository and just making it generate as part of the build process (maybe with source generators if the current implementation is hard to fit in correctly).
New features are untested (though some, like the script builder functions functionality, might see testing by me soon).
What I didn't do:
Breaking change made by me, specifically to the C# binding:
world.Prefab<SomeStruct>()
), the prefab can no longer have any fields.fatal: sparse_storage.c: 124: assert: tgt != 0 INTERNAL_ERROR