BSP and VBSP should not share lump types

This commit is contained in:
Matt Nadareski
2026-03-26 09:29:32 -04:00
parent c216129b37
commit 2ae3291a30
8 changed files with 370 additions and 268 deletions

View File

@@ -1,6 +1,5 @@
using System.Text.RegularExpressions;
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
namespace SabreTools.Data.Extensions
{
public static class WiseScriptExtensions
@@ -58,7 +57,9 @@ namespace SabreTools.Data.Extensions
// External DLL
null => null,
#pragma warning disable SYSLIB1045 // Convert to 'GeneratedRegexAttribute'
_ => Regex.IsMatch(functionId, @"^f[0-9]{1,2}$") ? $"UNDEFINED {functionId}" : $"External: {functionId}",
#pragma warning restore SYSLIB1045
};
}
}