mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-09-22 14:54:56 +00:00
Fix build with missed changes
This commit is contained in:
@@ -377,6 +377,14 @@ namespace BurnOutSharp
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// BSP
|
||||
if (scannable is BSP)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, stream, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// BZip2
|
||||
if (scannable is BZip2)
|
||||
{
|
||||
@@ -385,6 +393,14 @@ namespace BurnOutSharp
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// GCF
|
||||
if (scannable is GCF)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, stream, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// GZIP
|
||||
if (scannable is GZIP)
|
||||
{
|
||||
@@ -425,13 +441,21 @@ namespace BurnOutSharp
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// MPQ archive
|
||||
// MoPaQ archive
|
||||
if (fileName != null && scannable is MPQ)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// PAK
|
||||
if (fileName != null && scannable is PAK)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// PKZIP archive (and derivatives)
|
||||
if (scannable is PKZIP)
|
||||
@@ -457,8 +481,8 @@ namespace BurnOutSharp
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// Valve archive formats
|
||||
if (fileName != null && scannable is Valve)
|
||||
// VBSP
|
||||
if (fileName != null && scannable is VBSP)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
@@ -473,6 +497,14 @@ namespace BurnOutSharp
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// WAD
|
||||
if (scannable is WAD)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, stream, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// XZ
|
||||
if (scannable is XZ)
|
||||
{
|
||||
@@ -480,6 +512,14 @@ namespace BurnOutSharp
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
|
||||
// XZP
|
||||
if (scannable is XZP)
|
||||
{
|
||||
var subProtections = scannable.Scan(this, stream, fileName);
|
||||
PrependToKeys(subProtections, fileName);
|
||||
AppendToDictionary(protections, subProtections);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user