28 lines
630 B
C++
28 lines
630 B
C++
#ifndef DEFINE_H__
|
|
#define DEFINE_H__
|
|
|
|
#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>
|
|
#endif
|
|
|
|
#define VIEW_DISTANCE 128
|
|
#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_DIRT, BTYPE_GRASS, BTYPE_METAL, BTYPE_ICE, BTYPE_LAST };
|
|
|
|
#define TEXTURE_PATH "../SQCSim2021/media/textures/"
|
|
#define SHADER_PATH "../SQCSim2021/media/shaders/"
|
|
#define AUDIO_PATH "../SQCSim2021/media/audio/"
|
|
|
|
#endif // DEFINE_H__
|