Sloth loves Chunk!
This commit is contained in:
@@ -3,23 +3,25 @@
|
||||
|
||||
#include <SFML/Window.hpp>
|
||||
#include <SFML/Graphics.hpp>
|
||||
#include <iostream>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
#include <GL/glew.h>
|
||||
#include <gl/GL.h>
|
||||
#include <gl/GLU.h>
|
||||
#else
|
||||
#include <GL/glew.h>
|
||||
|
||||
#endif
|
||||
|
||||
#define CHUNK_SIZE_X 16
|
||||
#define CHUNK_SIZE_Y 128
|
||||
#define CHUNK_SIZE_Z 16
|
||||
|
||||
enum BlockType {BTYPE_AIR, BTYPE_DIRT, BTYPE_GRASS};
|
||||
|
||||
typedef uint8_t BlockType;
|
||||
enum BLOCK_TYPE { BTYPE_AIR, BTYPE_DIRT, BTYPE_GRASS };
|
||||
|
||||
#define TEXTURE_PATH "../SQCSim2021/media/textures/"
|
||||
#define SHADER_PATH "../SQCSim2021/media/shaders/"
|
||||
#define VIEW_DISTANCE 128
|
||||
|
||||
#endif // DEFINE_H__
|
||||
|
Reference in New Issue
Block a user