mirror of
https://github.com/ioquake/ioq3.git
synced 2025-06-02 01:42:12 +00:00
Detect GOG install path
This commit is contained in:
parent
f5143405f1
commit
7ff610db35
5 changed files with 94 additions and 4 deletions
|
@ -47,6 +47,9 @@ static char homePath[ MAX_OSPATH ] = { 0 };
|
|||
// Used to store the Steam Quake 3 installation path
|
||||
static char steamPath[ MAX_OSPATH ] = { 0 };
|
||||
|
||||
// Used to store the GOG Quake 3 installation path
|
||||
static char gogPath[ MAX_OSPATH ] = { 0 };
|
||||
|
||||
/*
|
||||
==================
|
||||
Sys_DefaultHomePath
|
||||
|
@ -106,6 +109,17 @@ char *Sys_SteamPath( void )
|
|||
return steamPath;
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
Sys_GogPath
|
||||
================
|
||||
*/
|
||||
char *Sys_GogPath( void )
|
||||
{
|
||||
// GOG also doesn't let you install Quake 3 on Mac/Linux
|
||||
return gogPath;
|
||||
}
|
||||
|
||||
/*
|
||||
================
|
||||
Sys_Milliseconds
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue