daily update on 20241226 by nitload youmu

This commit is contained in:
Nitload
2024-12-26 03:09:46 +08:00
parent 7c8d462ca5
commit 592ad55d57
94 changed files with 3767 additions and 1484 deletions
@@ -33,6 +33,8 @@
// using StgSharp.Graphics;
// using StgSharp.Math;
using StgSharp.Data.Intrinsic;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -82,7 +84,7 @@ namespace StgSharp
private static uint markCount = 0;
internal static GraphicAPI API = default;
public static void Init()
public static unsafe void Init()
{
mainTimeProvider = new StgSharpTime();
MainTimeProvider.StartProvidingTime();
@@ -92,6 +94,15 @@ namespace StgSharp
$"Program {Assembly.GetEntryAssembly()!.FullName} Started.",
LogType.Info );
_mainThreadID = Environment.CurrentManagedThreadId;
Dialogue.LoadDialogue();
if (Dialogue.NeedShowWhenStartup)
{
Dialogue.CreateDialogueProcessIfNotExist();
}
InternalIO.InitIntrinsicContext();
}
public static void LogError( Exception ex )