]> git.localhorst.tv Git - blank.git/blobdiff - src/world/ChunkRenderer.hpp
block type prototypability and new types
[blank.git] / src / world / ChunkRenderer.hpp
index 714bb847f5655495ea979ca6cc4ca07a4b2a9063..7234941b7a472128d8f685355b2eb0161213a55c 100644 (file)
@@ -14,7 +14,7 @@ namespace blank {
 class AssetLoader;
 class BlockMesh;
 class ChunkIndex;
-class TextureIndex;
+class ResourceIndex;
 class Viewport;
 
 class ChunkRenderer {
@@ -23,7 +23,7 @@ public:
        explicit ChunkRenderer(ChunkIndex &);
        ~ChunkRenderer();
 
-       void LoadTextures(const AssetLoader &, const TextureIndex &);
+       void LoadTextures(const AssetLoader &, const ResourceIndex &);
        void FogDensity(float d) noexcept { fog_density = d; }
 
        int MissingChunks() const noexcept;