- hooked up ZMusic.

This commit is contained in:
Christoph Oelckers 2019-11-11 19:10:46 +01:00
parent 29d16868c9
commit ec6ce8b1ec
13 changed files with 165 additions and 1644 deletions

View file

@ -360,6 +360,19 @@ void InitFileSystem(TArray<GrpEntry>& groups)
Files.Push(lastfn);
}
}
const char* key;
const char* value;
if (GameConfig->SetSection("global.Autoload"))
{
while (GameConfig->NextInSection(key, value))
{
if (stricmp(key, "Path") == 0)
{
FString nice = NicePath(value);
D_AddFile(Files, nice);
}
}
}
TArray<FString> todelete;
fileSystem.InitMultipleFiles(Files, todelete);