From a5a72af796d6bb842538ab6b7ab47c4b8ce9e705 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Sat, 21 Dec 2024 08:31:58 +0300 Subject: [PATCH] fix msvc build --- src/frontend/ContentGfxCache.hpp | 2 +- src/graphics/render/Decorator.hpp | 2 +- src/graphics/render/ModelsGenerator.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/frontend/ContentGfxCache.hpp b/src/frontend/ContentGfxCache.hpp index 739d6c1d..cb5e2ad7 100644 --- a/src/frontend/ContentGfxCache.hpp +++ b/src/frontend/ContentGfxCache.hpp @@ -11,7 +11,7 @@ class Content; class Assets; class Atlas; -struct Block; +class Block; struct UVRegion; struct GraphicsSettings; diff --git a/src/graphics/render/Decorator.hpp b/src/graphics/render/Decorator.hpp index fbc196aa..422f6f77 100644 --- a/src/graphics/render/Decorator.hpp +++ b/src/graphics/render/Decorator.hpp @@ -14,7 +14,7 @@ class Chunks; class Camera; class Assets; class Player; -struct Block; +class Block; class Engine; class LevelController; class WorldRenderer; diff --git a/src/graphics/render/ModelsGenerator.hpp b/src/graphics/render/ModelsGenerator.hpp index 52bc56d0..c4665118 100644 --- a/src/graphics/render/ModelsGenerator.hpp +++ b/src/graphics/render/ModelsGenerator.hpp @@ -7,7 +7,7 @@ struct ItemDef; class Assets; class Content; -struct Block; +class Block; class ModelsGenerator { public: