mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-29 07:01:55 +00:00
f11127ca71
Added explicit warning if gzdoom.pk3 is not loaded for GZDoom game configurations. Fixed tokenizer not picking up the very last token in the stream.
41 lines
1.2 KiB
C#
41 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CodeImp.DoomBuilder.Config
|
|
{
|
|
class RequiredArchiveEntry
|
|
{
|
|
private string reqClass;
|
|
private string reqLump;
|
|
|
|
public RequiredArchiveEntry(string reqClass, string reqLump)
|
|
{
|
|
this.reqClass = reqClass;
|
|
this.reqLump = reqLump;
|
|
}
|
|
|
|
public string Class { get { return reqClass; } }
|
|
public string Lump { get { return reqLump; } }
|
|
}
|
|
|
|
class RequiredArchive
|
|
{
|
|
private string filename;
|
|
private bool excludeFromTesting;
|
|
private List<RequiredArchiveEntry> entries;
|
|
|
|
public RequiredArchive(string filename, bool excludeFromTesting, List<RequiredArchiveEntry> entries)
|
|
{
|
|
this.filename = filename;
|
|
this.excludeFromTesting = excludeFromTesting;
|
|
this.entries = entries;
|
|
}
|
|
|
|
public string FileName { get { return filename; } }
|
|
public bool ExcludeFromTesting { get { return excludeFromTesting; } }
|
|
public IReadOnlyCollection<RequiredArchiveEntry> Entries { get { return entries; } }
|
|
}
|
|
}
|