diff --git a/res/content/base/package.json b/res/content/base/package.json index eeb24ed0..fc04da9c 100644 --- a/res/content/base/package.json +++ b/res/content/base/package.json @@ -1,6 +1,6 @@ { "id": "base", "title": "Base", - "version": "0.22", + "version": "0.23", "description": "basic content package" } diff --git a/src/constants.hpp b/src/constants.hpp index 56ff3160..e98d5914 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -7,7 +7,7 @@ #include inline constexpr int ENGINE_VERSION_MAJOR = 0; -inline constexpr int ENGINE_VERSION_MINOR = 22; +inline constexpr int ENGINE_VERSION_MINOR = 23; #ifdef NDEBUG inline constexpr bool ENGINE_DEBUG_BUILD = false; @@ -15,7 +15,7 @@ inline constexpr bool ENGINE_DEBUG_BUILD = false; inline constexpr bool ENGINE_DEBUG_BUILD = true; #endif // NDEBUG -inline const std::string ENGINE_VERSION_STRING = "0.22"; +inline const std::string ENGINE_VERSION_STRING = "0.23"; inline constexpr blockid_t BLOCK_AIR = 0; inline constexpr itemid_t ITEM_EMPTY = 0; diff --git a/src/window/Window.cpp b/src/window/Window.cpp index 798e862e..42ef7f70 100644 --- a/src/window/Window.cpp +++ b/src/window/Window.cpp @@ -130,9 +130,12 @@ int Window::initialize(DisplaySettings* settings) { Window::width = settings->width.get(); Window::height = settings->height.get(); - std::string title = "VoxelEngine-Cpp v" + + std::string title = "VoxelCore v" + std::to_string(ENGINE_VERSION_MAJOR) + "." + std::to_string(ENGINE_VERSION_MINOR); + if (ENGINE_DEBUG_BUILD) { + title += " [debug]"; + } glfwSetErrorCallback(error_callback); if (glfwInit() == GLFW_FALSE) {