private static void SetAddFiles(IGameFile mainFile, FileLoadHandler handler, List <IGameFile> addFiles)
 {
     mainFile.SettingsFiles           = string.Join(";", addFiles.Select(x => x.FileName));
     mainFile.SettingsFilesIWAD       = string.Join(";", addFiles.Intersect(handler.GetIWadFiles()).Select(x => x.FileName));
     mainFile.SettingsFilesSourcePort = string.Join(";", addFiles.Intersect(handler.GetSourcePortFiles()).Select(x => x.FileName));
 }
Beispiel #2
0
 public List <IGameFile> GetIWadAdditionalFiles()
 {
     return(GetAdditionalFiles().Intersect(m_handler.GetIWadFiles()).ToList());
 }