Add functions to get useful standard paths by JonnyPtn · Pull Request #3710 · SFML/SFML · GitHub
Skip to content

Add functions to get useful standard paths - #3710

Open
JonnyPtn wants to merge 1 commit into
SFML:masterfrom
JonnyPtn:standard_paths
Open

JonnyPtn wants to merge 1 commit into
SFML:masterfrom
JonnyPtn:standard_paths

Conversation

@JonnyPtn

Copy link
Copy Markdown
Contributor

Primarily motivated by issues on Mac when using app bundles - they default the working directory to / which means it's tricky for users to write cross-platform code with SFML, they either have to manually adjust the working directory or get the path to the app resources themselves.

Otherwise, these functions have a wide range of uses for the types of applications SFML users create - saving screenshots, user settings, loading user pictures, etc.

Influenced by how some other libraries offer the same, such as SDL

Purely additive API so could be a candidate for the next minor release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants