2021-09-24 10:15:43 -04:00
|
|
|
#ifndef DEFINE_H__
|
|
|
|
#define DEFINE_H__
|
|
|
|
|
|
|
|
#include <SFML/Window.hpp>
|
|
|
|
#include <SFML/Graphics.hpp>
|
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include <windows.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};
|
|
|
|
|
|
|
|
|
2021-09-27 11:32:10 -04:00
|
|
|
#define TEXTURE_PATH "../SQCSim2021/media/textures/"
|
2021-09-24 10:15:43 -04:00
|
|
|
#define VIEW_DISTANCE 128
|
|
|
|
|
|
|
|
#endif // DEFINE_H__
|