- add openscreenshots opensaves and openconfig console commands on Windows and Linux and Mac
This commit is contained in:
parent
4710a40fb5
commit
82d0376520
5 changed files with 104 additions and 1 deletions
|
|
@ -52,6 +52,10 @@
|
|||
#include "version.h"
|
||||
#include "findfile.h"
|
||||
#include "md5.h"
|
||||
#include "i_specialpaths.h"
|
||||
|
||||
void I_OpenShellFolder(const char*);
|
||||
void I_OpenShellFile(const char*);
|
||||
|
||||
extern FILE* Logfile;
|
||||
|
||||
|
|
@ -336,3 +340,19 @@ CCMD(printlocalized)
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
UNSAFE_CCMD(opensaves)
|
||||
{
|
||||
I_OpenShellFolder(M_GetSavegamesPath().GetChars());
|
||||
}
|
||||
|
||||
UNSAFE_CCMD(openscreenshots)
|
||||
{
|
||||
I_OpenShellFolder(M_GetScreenshotsPath().GetChars());
|
||||
}
|
||||
|
||||
UNSAFE_CCMD(openconfig)
|
||||
{
|
||||
I_OpenShellFile(M_GetConfigPath(false).GetChars());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue