mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-28 23:53:55 -04:00
add new steam dirs for Unity IWAD and Final Doom (#702)
This commit is contained in:
parent
292f7926c3
commit
383c0b4442
@ -211,6 +211,10 @@ static char *steam_install_subdirs[] =
|
|||||||
// From Doom 3: BFG Edition:
|
// From Doom 3: BFG Edition:
|
||||||
|
|
||||||
"steamapps\\common\\DOOM 3 BFG Edition\\base\\wads",
|
"steamapps\\common\\DOOM 3 BFG Edition\\base\\wads",
|
||||||
|
|
||||||
|
"steamapps\\common\\ultimate doom\\rerelease\\DOOM_Data\\StreamingAssets",
|
||||||
|
"steamapps\\common\\doom 2\\rerelease\\DOOM II_Data\\StreamingAssets",
|
||||||
|
"steamapps\\common\\doom 2\\finaldoombase"
|
||||||
};
|
};
|
||||||
|
|
||||||
static char *GetRegistryString(registry_value_t *reg_val)
|
static char *GetRegistryString(registry_value_t *reg_val)
|
||||||
|
10
src/d_main.c
10
src/d_main.c
@ -551,14 +551,10 @@ void D_DoAdvanceDemo(void)
|
|||||||
name = demostates[demosequence][gamemode].name;
|
name = demostates[demosequence][gamemode].name;
|
||||||
if (name && !strcasecmp(name, "TITLEPIC"))
|
if (name && !strcasecmp(name, "TITLEPIC"))
|
||||||
{
|
{
|
||||||
int i = W_CheckNumForName("TITLEPIC");
|
if (W_CheckNumForName("TITLEPIC") < 0)
|
||||||
int j = W_CheckNumForName("DMENUPIC");
|
name = "DMENUPIC";
|
||||||
|
|
||||||
if (i < 0 || (j >= 0 && W_IsIWADLump(i)))
|
|
||||||
name = (j >= 0) ? "DMENUPIC" : "INTERPIC";
|
|
||||||
}
|
}
|
||||||
demostates[demosequence][gamemode].func
|
demostates[demosequence][gamemode].func(name);
|
||||||
(name);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user