lairworks / nas2d-core

NAS2D is an open source, object oriented 2D game development framework written in portable C++.
http://nas2d.lairworks.com
zlib License
10 stars 5 forks source link

Use SDL for `prefPath` #1022

Closed DanRStevens closed 2 years ago

DanRStevens commented 2 years ago

Use SDL for basePath and prefPath.

This changes the directory layout slightly on Linux. PhysFS ignored the organizationName parameter when forming the prefPath, while the SDL functions include it. People may need to move config files and saved games for them to be found at the updated path.

Closes #212 Related #967, #973

DanRStevens commented 2 years ago

I'm going to merge this, though we'll probably want to make a release note about the changed paths for config settings and saved games when OPHD is updated.