mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
bring back extras.wad autoload, support for chex3v.wad IWAD (#2086)
* add "-noextras"
This commit is contained in:
parent
78491e0340
commit
29e1e9e1b5
@ -43,6 +43,7 @@ static const iwad_t iwads[] = {
|
||||
{"freedoom1.wad", doom, retail, "Freedoom: Phase 1" },
|
||||
{"freedm.wad", doom2, commercial, "FreeDM" },
|
||||
{"chex.wad", pack_chex, retail, "Chex Quest" },
|
||||
{"chex3v.wad", pack_chex, retail, "Chex Quest 3: Vanilla Edition" },
|
||||
{"hacx.wad", pack_hacx, commercial, "HACX: Twitch n' Kill" },
|
||||
{"rekkrsa.wad", pack_rekkr, retail, "REKKR" },
|
||||
{"rekkrsl.wad", pack_rekkr, retail, "REKKR: Sunken Land" },
|
||||
|
15
src/d_main.c
15
src/d_main.c
@ -1873,6 +1873,21 @@ void D_DoomMain(void)
|
||||
|
||||
IdentifyVersion();
|
||||
|
||||
//!
|
||||
// @category mod
|
||||
//
|
||||
// Disable auto-loading of extars.wad file.
|
||||
//
|
||||
|
||||
if (gamemission < pack_chex && !M_ParmExists("-noextras"))
|
||||
{
|
||||
char *path = D_FindWADByName("extras.wad");
|
||||
if (path)
|
||||
{
|
||||
D_AddFile(path);
|
||||
}
|
||||
}
|
||||
|
||||
// [FG] emulate a specific version of Doom
|
||||
InitGameVersion();
|
||||
|
||||
|
@ -44,6 +44,7 @@ static const char *params[] = {
|
||||
"-bsp",
|
||||
"-force_old_zdoom_nodes",
|
||||
"-noautoload",
|
||||
"-noextras",
|
||||
"-nocheats",
|
||||
"-nodeh",
|
||||
"-nomapinfo",
|
||||
|
Loading…
x
Reference in New Issue
Block a user