2023-09-25 17:17:17 -04:00
|
|
|
#ifndef CLI_DEFINE_H__
|
|
|
|
#define CLI_DEFINE_H__
|
2021-09-24 10:15:43 -04:00
|
|
|
|
|
|
|
#include <SFML/Window.hpp>
|
|
|
|
#include <SFML/Graphics.hpp>
|
2021-10-11 11:37:58 -04:00
|
|
|
#include <iostream>
|
2023-09-25 08:23:52 -04:00
|
|
|
#include <chrono>
|
2023-09-23 17:15:35 -04:00
|
|
|
#include <iomanip>
|
2023-09-25 17:17:17 -04:00
|
|
|
#include "../SQCSim-common/define.h"
|
2021-09-24 10:15:43 -04:00
|
|
|
|
|
|
|
#ifdef _WIN32
|
|
|
|
#include <windows.h>
|
2021-10-11 11:37:58 -04:00
|
|
|
#include <GL/glew.h>
|
2021-09-24 10:15:43 -04:00
|
|
|
#include <gl/GL.h>
|
|
|
|
#include <gl/GLU.h>
|
|
|
|
#endif
|
|
|
|
|
2023-09-25 08:23:52 -04:00
|
|
|
|
2021-12-06 10:49:55 -05:00
|
|
|
|
2023-09-25 17:17:17 -04:00
|
|
|
#define NETWORK_TEST true
|
|
|
|
#define SRV_ADDR "127.0.0.1"
|
|
|
|
#define COUNTDOWN 300
|
2021-11-26 11:59:02 -05:00
|
|
|
|
2021-12-06 11:53:18 -05:00
|
|
|
#define FRAMES_RENDER_CHUNKS 1
|
|
|
|
#define FRAMES_UPDATE_CHUNKS 1
|
|
|
|
#define FRAMES_DELETE_CHUNKS 1
|
2021-11-27 14:14:05 -05:00
|
|
|
|
2023-09-24 08:45:40 -04:00
|
|
|
#define THREADS_GENERATE_CHUNKS 8
|
2023-09-18 15:56:17 -04:00
|
|
|
#define THREADS_UPDATE_CHUNKS 3
|
2023-09-24 08:45:40 -04:00
|
|
|
#define THREADS_DELETE_CHUNKS 3
|
2021-12-12 23:31:38 -05:00
|
|
|
|
2023-09-25 17:17:17 -04:00
|
|
|
#define BASE_WIDTH 640
|
|
|
|
#define BASE_HEIGHT 480
|
2021-09-24 10:15:43 -04:00
|
|
|
|
2023-08-28 16:23:34 -04:00
|
|
|
#define TEXTURE_PATH "./media/textures/"
|
|
|
|
#define SHADER_PATH "./media/shaders/"
|
|
|
|
#define AUDIO_PATH "./media/audio/"
|
|
|
|
#define CHUNK_PATH "./media/chunks/"
|
2021-09-24 10:15:43 -04:00
|
|
|
|
|
|
|
#endif // DEFINE_H__
|