Closed donnierussellii closed 5 years ago
Instead of looking for a portable.txt file, could we just check if those preference files exist in the local directory before asking SDL to find them? Having to put a magic file in a certain place to change app logic just seems a bit weird.
I've seen at least one program do this kind of thing before. The reason is that the dev can just distribute a zip file with the magic file included and call it a portable version.
Anyway, I changed it to look for prefs, keybinds in exe folder.
Github is acting weird; the commit sometimes doesn't show up.
Another, final commit.
If portable.txt file exists in game folder, prefs.txt and keybinds.txt will reside with it.
Add message length (normal/terse) and audiolog setting (text/audio/both) to prefs file. Don't load audiolog setting from saved game.
Fix message length button in options setting wrong variable.
Fix ghost mouse cursor when opening settings while cursor is in settings area in full 3d mode.