347be23de2
https://wiki.libsdl.org/CategoryFilesystem This ensures that userdata will be saved in a standard user-specific location on any OS. On Linux, the XDG Base Directory Specification is followed, which means the config directory will typically be ~/.local/share/taisei/ now (further info: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html). A static prefix is still used for the game assets by default. In RELATIVE builds, SDL_GetBasePath is used rather than the current working directory, and the config path is still defined by SDL_GetPrefPath. Pass -DUSE_SDL2_PATHS=FALSE to cmake for old behaviour. |
||
---|---|---|
.. | ||
native.h | ||
relative.c | ||
sdl.c | ||
static.c |