- Added GTK+-based clipboard support for Linux.
- Fixed: Most Linux filesystems do not fill in d_type for scandir(), so we cannot rely on it to detect directories. - Added NicePath() function to perform shell-style ~ substitution on path names. - Changed the default screenshot directory on Unix to ~/.zdoom/screenshots/. - Added -shotdir command line option to temporarily override the screenshot_dir cvar. SVN r1413 (trunk)
This commit is contained in:
parent
125be6b54e
commit
be165578ea
7 changed files with 199 additions and 69 deletions
|
|
@ -2263,20 +2263,12 @@ void D_DoomMain (void)
|
|||
#endif
|
||||
file += "skins";
|
||||
D_AddDirectory (file);
|
||||
|
||||
const char *home = getenv ("HOME");
|
||||
if (home)
|
||||
{
|
||||
file = home;
|
||||
if (home[strlen(home) - 1] != '/')
|
||||
{
|
||||
file += '/';
|
||||
}
|
||||
file += ".zdoom/skins";
|
||||
D_AddDirectory (file);
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef unix
|
||||
file = NicePath("~/" GAME_DIR "/skins");
|
||||
D_AddDirectory (file);
|
||||
#endif
|
||||
|
||||
// Add common (global) wads
|
||||
D_AddConfigWads ("Global.Autoload");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue