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

Add savestate support #154

Open
malleoz opened this issue Oct 6, 2024 · 0 comments
Open

Add savestate support #154

malleoz opened this issue Oct 6, 2024 · 0 comments
Labels
engine Code involving engine (C++) feature New code P2 Priority: Medium

Comments

@malleoz
Copy link
Contributor

malleoz commented Oct 6, 2024

My current thought is a ISerializable interface where classes must define a serialize and deserialize function. Classes like KartSub should call serialize for the members that have their own serialize impl as well.

Only thing I'm not sure on is when we have to, during runtime, determine whether to load a KartMove object or a KartMoveBike object, for example. Or various different object types. We would maybe need to have an enum to represent an object type so that we know which one to load during runtime.

@vabold vabold added engine Code involving engine (C++) P2 Priority: Medium feature New code labels Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engine Code involving engine (C++) feature New code P2 Priority: Medium
Projects
None yet
Development

No branches or pull requests

2 participants