thatscringebro 9dfd911bff Init
2023-02-16 09:26:40 -05:00

34 lines
705 B
C++
Executable File

#ifndef DEFINE_H__
#define DEFINE_H__
#include <GL/glew.h>
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
#include <SFML/Audio.hpp>
#include <thread>
#include <list>
#ifdef _WIN32
#include <windows.h>
#include <gl/GL.h>
#include <gl/GLU.h>
#else
#include <GL/glew.h>
#include <unistd.h>
#endif
#define CHUNK_SIZE_X 16
#define CHUNK_SIZE_Y 128
#define CHUNK_SIZE_Z 16
typedef uint8_t BlockType;
enum BLOCK_TYPE { BTYPE_AIR , BTYPE_DARK , BTYPE_DARKER , BTYPE_LIGHT , BTYPE_LIGHTER, BTYPE_LAST, BTYPE_MOB};
#define TEXTURE_PATH "../The_Land_of_Wild_Blocs/media/textures/"
#define SHADER_PATH "../The_Land_of_Wild_Blocs/media/shaders/"
#define VIEW_DISTANCE 128
#endif // DEFINE_H__