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

- implement new cvar save_sort_order - for now options are only 0 o… #2876

Merged
merged 2 commits into from
Jan 1, 2025

Conversation

madame-rachelle
Copy link
Collaborator

…r 1 - 0 is alphabetical, 1 is descending by time (most recent first)

…r 1 - 0 is alphabetical, 1 is descending by time (most recent first)
@MajorCooke
Copy link
Contributor

Yes, please! I'm wondering if the option to change this could be embedded directly into the save menu itself?

@madame-rachelle
Copy link
Collaborator Author

Yes, please! I'm wondering if the option to change this could be embedded directly into the save menu itself?

At this time, no, it cannot be, but it would be nice.

The trick for it working without restarting GZDoom is it completely wipes GZDoom's cache for the save game list. The games are actually sorted as they are loaded from the disk. So this makes it impossible to embed directly into the menu without a bit of refactoring.

@MajorCooke
Copy link
Contributor

Ah well, still a step in a better direction so I'll take it!

- when overwriting a save force it to reposition itself in the list in case any of its details have changed
@madame-rachelle madame-rachelle merged commit d42e3b0 into ZDoom:master Jan 1, 2025
9 checks passed
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