sezero / quakespasm

QuakeSpasm -- A modern, cross-platform Quake game engine based on FitzQuake.
https://sourceforge.net/projects/quakespasm/
GNU General Public License v2.0
227 stars 96 forks source link

First pass at improving *nix userdir handling #107

Closed erysdren closed 3 weeks ago

erysdren commented 2 months ago

If it's built using SDL2, it will use the built-in functions SDL_GetBasePath() and SDL_GetPrefPath(). Otherwise it will prefer ~/.local/share/games/quake/ or /usr/local/share/games/quake/for game data and ~/.local/share/quakespasm/ for configuration files.

I've also reworked the desktop file and installation process in the makefile, as well as updated the Haiku code for userdirs.

quakespasm.svg attribution:

Sasha Shor, Public domain, via Wikimedia Commons