mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +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;
|
||||
|
||||
lfi.dotFilter = LumpFilter;
|
||||
|
||||
if (g_gameType & (GAMEFLAG_DUKE | GAMEFLAG_NAM | GAMEFLAG_NAPALM | GAMEFLAG_WW2GI | GAMEFLAG_RRALL)) lfi.gameTypeFilter.Push("DukeEngine");
|
||||
|
||||
lfi.postprocessFunc = [&]()
|
||||
{
|
||||
DeleteStuff(fileSystem, todelete, groups.Size());
|
||||
|
|
Loading…
Reference in a new issue