feat: wire infinite chunk streaming into Game with loading screen

This commit is contained in:
2026-06-01 12:57:09 +02:00
parent 4467a7bd10
commit 59466fb291
4 changed files with 76 additions and 77 deletions

View File

@@ -20,16 +20,18 @@ Log.Logger = new LoggerConfiguration()
try
{
var cfg = new Configuration();
NativeWindowSettings nativeSettings = new()
{
ClientSize = new Vector2i(1280, 720),
ClientSize = new Vector2i(cfg.WindowWidth, cfg.WindowHeight),
Title = "VoxelEngine",
APIVersion = new Version(3, 3),
Profile = ContextProfile.Core,
Flags = ContextFlags.ForwardCompatible
};
using Game game = new(GameWindowSettings.Default, nativeSettings);
using Game game = new(cfg, GameWindowSettings.Default, nativeSettings);
game.Run();
}
catch (Exception ex)