mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
- added a game-module wide lump filter for Duke and related games.
This commit is contained in:
parent
70e7176531
commit
f670d35ba1
1 changed files with 3 additions and 0 deletions
|
@ -376,6 +376,9 @@ void InitFileSystem(TArray<GrpEntry>& groups)
|
||||||
LumpFilterInfo lfi;
|
LumpFilterInfo lfi;
|
||||||
|
|
||||||
lfi.dotFilter = LumpFilter;
|
lfi.dotFilter = LumpFilter;
|
||||||
|
|
||||||
|
if (g_gameType & (GAMEFLAG_DUKE | GAMEFLAG_NAM | GAMEFLAG_NAPALM | GAMEFLAG_WW2GI | GAMEFLAG_RRALL)) lfi.gameTypeFilter.Push("DukeEngine");
|
||||||
|
|
||||||
lfi.postprocessFunc = [&]()
|
lfi.postprocessFunc = [&]()
|
||||||
{
|
{
|
||||||
DeleteStuff(fileSystem, todelete, groups.Size());
|
DeleteStuff(fileSystem, todelete, groups.Size());
|
||||||
|
|
Loading…
Reference in a new issue