mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
Modified MS Store path handling to better follow the pattern of Steam/GOG
This commit is contained in:
parent
294eeb3c1c
commit
3afe37a896
2 changed files with 3 additions and 0 deletions
|
@ -51,6 +51,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
#define STEAMPATH_NAME "Quake 3 Arena"
|
#define STEAMPATH_NAME "Quake 3 Arena"
|
||||||
#define STEAMPATH_APPID "2200"
|
#define STEAMPATH_APPID "2200"
|
||||||
#define GOGPATH_ID "1441704920"
|
#define GOGPATH_ID "1441704920"
|
||||||
|
#define MSSTORE_PATH "Quake 3"
|
||||||
#define GAMENAME_FOR_MASTER "Quake3Arena"
|
#define GAMENAME_FOR_MASTER "Quake3Arena"
|
||||||
#define CINEMATICS_LOGO "idlogo.RoQ"
|
#define CINEMATICS_LOGO "idlogo.RoQ"
|
||||||
#define CINEMATICS_INTRO "intro.RoQ"
|
#define CINEMATICS_INTRO "intro.RoQ"
|
||||||
|
|
|
@ -232,10 +232,12 @@ Sys_MicrosoftStorePath
|
||||||
*/
|
*/
|
||||||
char* Sys_MicrosoftStorePath(void)
|
char* Sys_MicrosoftStorePath(void)
|
||||||
{
|
{
|
||||||
|
#ifdef MSSTORE_PATH
|
||||||
if (!microsoftStorePath[0])
|
if (!microsoftStorePath[0])
|
||||||
{
|
{
|
||||||
Q_strcat(microsoftStorePath, MAX_OSPATH, "C:\\Program Files\\ModifiableWindowsApps\\Quake 3\\EN");
|
Q_strcat(microsoftStorePath, MAX_OSPATH, "C:\\Program Files\\ModifiableWindowsApps\\Quake 3\\EN");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
return microsoftStorePath;
|
return microsoftStorePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue