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

SDL metadata strings and save data #429

Merged
merged 12 commits into from
Dec 7, 2020
Merged

Conversation

Daft-Freak
Copy link
Collaborator

This is where my quick save data idea went...

First few commits embed the metadata strings in the SDL build and removes the "CMake!" title completely. (Could replace this with the tool outputting the usual footer as an array to get all the metadata).

Next bit adds get_save_path to the API, which returns the path to use for save data.

Then we finally get to the thing I was trying to do, with an extra-convenient template wrapper and an example. (Needed to test this anyway)

TODO?: The .sln build isn't broken, but since there's no metadata handling there everything falls back to the defaults...

Generates a file containing the definitions. The library contains some
defaults that are marked weak for GCC and relies on the VS linker
behavior of OBJs overriding LIBs.
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