-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Implement network serializer (rebased) #1293
Implement network serializer (rebased) #1293
Conversation
Avoids warning due to glm::vec3 not being trivially copyable
Single class wasn't working well because deserialization may need to be done on const data. With the split, the deserializer part can work with const data without issues. Also cleaned things up a bit.
* Stop trying to be compatible with the old format, and just bump the version number. * Add uint64_t support to serializer * A bit improved debug output from serializer * Add lastAdvance() function to ask the serializer how much data was added/read in the last operation.
This fixes compatibility with older baked assets
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bloody hell, how did I miss that one?
I spent a few hours staring at a dump but somehow missed the completely obvious problem.
sorry I hadn’t tried building the branch myself earlier! if I’d known there was still a bug I would have taken a closer look at things sooner |
Awesome! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all looks good
#81 rebased + with one final bug fix