Build independent base gameplay and source-bound native verification
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user