Added version info
This commit is contained in:
parent
03e2678eca
commit
6fcfc7e272
@ -4,6 +4,12 @@
|
||||
#include <limits.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_H 256
|
||||
#define CHUNK_D 16
|
||||
|
||||
@ -3,6 +3,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "constants.h"
|
||||
#include "typedefs.h"
|
||||
|
||||
struct DisplaySettings {
|
||||
@ -17,7 +18,7 @@ struct DisplaySettings {
|
||||
/* GLFW swap interval value, 0 - unlimited fps, 1 - vsync*/
|
||||
int swapInterval = 1;
|
||||
/* Window title */
|
||||
const char* title = "VoxelEngine-Cpp v0.14";
|
||||
const char* title = "VoxelEngine-Cpp v" ENGINE_VERSION;
|
||||
};
|
||||
|
||||
struct ChunksSettings {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user