ENGINE_VERSION_INDEV replaced with ENGINE_DEBUG_BUILD

This commit is contained in:
MihailRis 2024-05-02 17:26:25 +03:00
parent 5915b811f2
commit 3ac6ad640a
3 changed files with 9 additions and 3 deletions

View file

@ -7,7 +7,13 @@
inline constexpr int ENGINE_VERSION_MAJOR = 0;
inline constexpr int ENGINE_VERSION_MINOR = 21;
inline constexpr bool ENGINE_VERSION_INDEV = true;
#ifdef NDEBUG
inline constexpr bool ENGINE_DEBUG_BUILD = false;
#else
inline constexpr bool ENGINE_DEBUG_BUILD = true;
#endif // NDEBUG
inline const std::string ENGINE_VERSION_STRING = "0.21";
inline constexpr int BLOCK_AIR = 0;