feat(battle-engine): M1 auto-copy closure (782 battle-logic files)
Compile-driven bulk-copy loop (tools/engine-port/m1_copy_loop.py) pulled the precise reference closure of the battle-core roots, stopping at the classify god-object/View-VFX-UI boundary. 782 files; no re-explosion (M0 had estimated ~order 1000). Residual frontier = 52 shim-classified + 80 external (Unity/BCL) types to author next.
This commit is contained in:
29
SVSim.BattleEngine/Engine/Wizard/Font.cs
Normal file
29
SVSim.BattleEngine/Engine/Wizard/Font.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
namespace Wizard;
|
||||
|
||||
public class Font
|
||||
{
|
||||
private const int MIN_TsukuAOldMin = 32;
|
||||
|
||||
private const int MAX_TsukuAOldMin = 126;
|
||||
|
||||
public static bool IsSupported_TsukuAOldMin(string str)
|
||||
{
|
||||
for (int i = 0; i < str.Length; i++)
|
||||
{
|
||||
if (!IsSupported_TsukuAOldMin(str[i]))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public static bool IsSupported_TsukuAOldMin(char ch)
|
||||
{
|
||||
if (' ' <= ch)
|
||||
{
|
||||
return ch <= '~';
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user