Skip to content

RFC: new saving/loading of save file variables. #265

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

RFC: new saving/loading of save file variables. #265

wants to merge 5 commits into from

Conversation

a1270
Copy link
Contributor

@a1270 a1270 commented Nov 21, 2013

This splits up variables in five nodes: numbers, strings, bools, kostypes and variables. The latter is for when it's not the first four. That is for debugging and can be removed. It casts the strings to string,numbers to double and bools to bool, putting kostypes through Expression.

This fixes #220 as far as i can tell at the cost of breaking old saves. Anyone know how to convert in a reasonable way? I'll link a compiled dll upon request.

@a1270
Copy link
Contributor Author

a1270 commented Nov 25, 2013

Expression has issues with VERSION. I'd suggest making VERSION return a string. Then you add RELEASE. All subelements will return a double or int. So 0 is major, 9 is minor and 3 is release.

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.

kOS breaks vessel loading when the context includes certain variable values
1 participant