26 lines
448 B
C
26 lines
448 B
C
#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};
|
|
|
|
|
|
#define TEXTURE_PATH "../SQCSim2021/media/textures/"
|
|
#define VIEW_DISTANCE 128
|
|
|
|
#endif // DEFINE_H__
|