more fixes

This commit is contained in:
spherallic 2023-01-04 13:43:08 +01:00
parent f489abba63
commit 2a2780dc4f
3 changed files with 12 additions and 17 deletions

View file

@ -33,7 +33,6 @@ namespace CodeImp.DoomBuilder.IO
// WAD types
private const string TYPE_IWAD = "IWAD";
private const string TYPE_PWAD = "PWAD";
private const string TYPE_ZWAD = "ZWAD";
// Encoder
public static readonly Encoding ENCODING = Encoding.ASCII;
@ -248,11 +247,6 @@ namespace CodeImp.DoomBuilder.IO
file.Seek(0, SeekOrigin.Begin);
// Read WAD type
type = ENCODING.GetString(reader.ReadBytes(4));
if (type == TYPE_ZWAD)
throw new IOException("Sorry, can't open ZWADs. Please decompress first.");
isiwad = (ENCODING.GetString(reader.ReadBytes(4)) == TYPE_IWAD); //mxd
// Number of lumps

View file

@ -470,6 +470,16 @@ namespace CodeImp.DoomBuilder.BuilderModes.Properties {
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap NewSector2 {
get {
object obj = ResourceManager.GetObject("NewSector2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
@ -483,17 +493,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap NewSector2 {
get {
object obj = ResourceManager.GetObject("NewSector2", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap PasteProperties {
internal static System.Drawing.Bitmap PasteProperties {
get {
object obj = ResourceManager.GetObject("PasteProperties", resourceCulture);
return ((System.Drawing.Bitmap)(obj));

View file

@ -321,6 +321,7 @@
</data>
<data name="Repeat" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Repeat.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="NewSector2" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\NewSector2.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>