- replaced wadlist_t with an array of FStrings and added a list parameter to

everything that eventually calls D_AddFile. Also create the list of files
  loaded on the command line separately to allow further checks on them.


SVN r2072 (trunk)
This commit is contained in:
Christoph Oelckers 2010-01-01 12:40:47 +00:00
commit 370eff9014
7 changed files with 93 additions and 86 deletions

View file

@ -1376,6 +1376,7 @@ void FConsoleAlias::SafeDelete ()
static BYTE PullinBad = 2;
static const char *PullinFile;
extern TArray<FString> allwads;
int C_ExecFile (const char *file, bool usePullin)
{
@ -1492,7 +1493,7 @@ CCMD (pullin)
FixPathSeperator (path);
}
}
D_AddFile (path);
D_AddFile (allwads, path);
if (path != argv[i])
{
delete[] path;