Added version info
This commit is contained in:
@@ -4,6 +4,12 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
|
|
||||||
|
#define ENGINE_VERSION_MAJOR 0
|
||||||
|
#define ENGINE_VERSION_MINOR 15
|
||||||
|
#define STR_(x) #x
|
||||||
|
#define STR(x) STR_(x)
|
||||||
|
#define ENGINE_VERSION STR(ENGINE_VERSION_MAJOR) "." STR(ENGINE_VERSION_MINOR)
|
||||||
|
|
||||||
#define CHUNK_W 16
|
#define CHUNK_W 16
|
||||||
#define CHUNK_H 256
|
#define CHUNK_H 256
|
||||||
#define CHUNK_D 16
|
#define CHUNK_D 16
|
||||||
|
|||||||
+2
-1
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "constants.h"
|
||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
|
|
||||||
struct DisplaySettings {
|
struct DisplaySettings {
|
||||||
@@ -17,7 +18,7 @@ struct DisplaySettings {
|
|||||||
/* GLFW swap interval value, 0 - unlimited fps, 1 - vsync*/
|
/* GLFW swap interval value, 0 - unlimited fps, 1 - vsync*/
|
||||||
int swapInterval = 1;
|
int swapInterval = 1;
|
||||||
/* Window title */
|
/* Window title */
|
||||||
const char* title = "VoxelEngine-Cpp v0.14";
|
const char* title = "VoxelEngine-Cpp v" ENGINE_VERSION;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ChunksSettings {
|
struct ChunksSettings {
|
||||||
|
|||||||
Reference in New Issue
Block a user