mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-12 09:59:05 +02:00
Move ressource files to a separate directory
This commit is contained in:
parent
843b3abde6
commit
22b9cfcb8b
8 changed files with 12 additions and 13 deletions
|
@ -25,7 +25,7 @@
|
|||
|
||||
|
||||
#include "Chunk.hpp"
|
||||
#include "BlockType.hpp"
|
||||
#include "../Resource/BlockType.hpp"
|
||||
|
||||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
|
@ -152,7 +152,7 @@ Chunk::Blocks Chunk::getTopLayer() const {
|
|||
continue;
|
||||
|
||||
uint8_t id = getBlockAt(x, y, z);
|
||||
if (!BLOCK_TYPES[id].opaque)
|
||||
if (!Resource::BLOCK_TYPES[id].opaque)
|
||||
continue;
|
||||
|
||||
Block &b = ret.blocks[x][z];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue