Build independent base gameplay and source-bound native verification

This commit is contained in:
2026-09-19 08:09:14 +02:00
parent 16f397e581
commit af5146a317
580 changed files with 65780 additions and 107 deletions
@@ -0,0 +1,26 @@
// Honor noSplash before Game-module widget classes exist, only for the
// explicit ordinary diagnostic. Visible/unflagged startup stays vanilla.
#ifndef WORKBENCH
modded class SplashScreen
{
protected bool m_ERRDiagnosticSplashSkipped;
override void Load()
{
string project;
if (!System.IsCLIParam("noSplash") || !System.GetCLIParam("errOrdinaryScenario", project) || (project != "core" && project != "chat"))
{
super.Load();
return;
}
// BaseLoadingAnim.Show may request Load again while the deliberately absent
// root is null. Preserve the splash sequence counter once per instance.
if (!m_ERRDiagnosticSplashSkipped)
{
m_ERRDiagnosticSplashSkipped = true;
s_iSplashShown++;
Print("ERR ORDINARY: diagnostic noSplash honored before Game compilation");
}
}
}
#endif