refactor: add Window interface

This commit is contained in:
MihailRis 2025-03-21 03:35:57 +03:00
parent cd5c6a889c
commit 9694a59649
31 changed files with 859 additions and 923 deletions

View file

@ -13,6 +13,7 @@ class Batch3D;
class Block;
class ContentIndices;
class Shader;
class Window;
class ContentGfxCache;
class BlocksPreview {
@ -26,6 +27,7 @@ class BlocksPreview {
);
public:
static std::unique_ptr<Atlas> build(
Window& window,
const ContentGfxCache& cache,
const Assets& assets,
const ContentIndices& indices