SQCSimulator2023/SQCSim2021/define.h

30 lines
599 B
C
Raw Normal View History

#ifndef DEFINE_H__
#define DEFINE_H__
#include <SFML/Window.hpp>
#include <SFML/Graphics.hpp>
2021-10-11 11:37:58 -04:00
#include <iostream>
#ifdef _WIN32
#include <windows.h>
2021-10-11 11:37:58 -04:00
#include <GL/glew.h>
#include <gl/GL.h>
#include <gl/GLU.h>
2021-10-11 11:37:58 -04:00
#endif
#define CHUNK_SIZE_X 16
#define CHUNK_SIZE_Y 128
#define CHUNK_SIZE_Z 16
2021-10-11 11:37:58 -04:00
typedef uint8_t BlockType;
enum BLOCK_TYPE { BTYPE_AIR, BTYPE_DIRT, BTYPE_GRASS };
2021-10-19 10:27:59 -04:00
2021-09-27 11:32:10 -04:00
#define TEXTURE_PATH "../SQCSim2021/media/textures/"
2021-10-11 11:37:58 -04:00
#define SHADER_PATH "../SQCSim2021/media/shaders/"
2021-10-19 10:27:59 -04:00
#define AUDIO_PATH "../SQCSim2021/media/audio/"
#define VIEW_DISTANCE 128
#endif // DEFINE_H__