
'LPWSTR' does not name a type opendungeons_src line 25, external location: c:\mingw\include\Userenv.h C/C++ Problem
'LPSTR' does not name a type opendungeons_src line 19, external location: c:\mingw\include\Userenv.h C/C++ Problem
'HANDLE' does not name a type opendungeons_src line 30, external location: c:\mingw\include\Userenv.h C/C++ Problem
'DWORD' does not name a type opendungeons_src line 24, external location: c:\mingw\include\Userenv.h C/C++ Problem
'BOOL' does not name a type opendungeons_src line 40, external location: c:\mingw\include\Userenv.h C/C++ Problem
'::GetUserProfileDirectoryW' has not been declared ResourceManager.cpp /opendungeons_src/src line 148 C/C++ Problem
'::_get_errno' has not been declared ResourceManager.cpp /opendungeons_src/src line 190 C/C++ Problem
svenskmand {l Wrote}:I have now added support for the My Documents\Open Dungeons folder to save userconfig files, screenshots, replays, etc. in. The path to the place to put these files is now stored in a single line in user_files.cfg in the root OD directory. The same file is also used on Linux, here I make it point to ~/.opendungeons in the deb-package and finally in the tarball releases user_files.cfg should just contain "." to indicate that files will be save in the root OD directory. If people compiling from source wants them stored somewhere else they can edit the file themself.
So now you just need to take this file user_files.cfg into account in the game.
Users browsing this forum: No registered users and 0 guests