Skip to content

Conversation

@HylianFreddy
Copy link
Collaborator

This changes the type of extInf from a u8 array to a generic struct, in order to make it easier to add bitfields containing more than 8 flags, without having to add more functions to the multiplayer implementation because anything added to extInf will be synced automatically.

I also moved the hasTimeTraveled flag out of the struct because it was intentionally skipped in the syncing code.

Copy link
Collaborator

@Kewlan Kewlan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent use case for a union!

@HylianFreddy HylianFreddy merged commit c12a025 into gamestabled:main Jan 11, 2026
2 checks passed
@HylianFreddy HylianFreddy deleted the ext-inf branch January 11, 2026 10:32
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