Nerfage pour version Debug/MSVC

This commit is contained in:
MarcEricMartel
2021-12-06 09:45:51 -05:00
parent a3c0dee1f2
commit d01e8e9c62
20 changed files with 74 additions and 36 deletions

View File

@@ -15,7 +15,18 @@
#define CHUNK_SIZE_X 16
#define CHUNK_SIZE_Y 128
#define CHUNK_SIZE_Z 16
#define MAX_SELECTION_DISTANCE 5
#ifdef _DEBUG
#define WORLD_SIZE_X 32
#define WORLD_SIZE_Y 32
#define FRAMES_RENDER_CHUNKS 4
#define FRAMES_UPDATE_CHUNKS 4
#define FRAMES_DELETE_CHUNKS 4
#define VIEW_DISTANCE 128
#else
#define WORLD_SIZE_X 128
#define WORLD_SIZE_Y 128
@@ -24,7 +35,8 @@
#define FRAMES_DELETE_CHUNKS 2
#define VIEW_DISTANCE 512
#define MAX_SELECTION_DISTANCE 5
#endif
typedef uint8_t BlockType;
enum BLOCK_TYPE { BTYPE_AIR, BTYPE_DIRT, BTYPE_GRASS, BTYPE_METAL, BTYPE_ICE, BTYPE_LAST };