[Release] (version.h|getter.cpp): Version dump to 1.0.3.1.

Signed-off-by: BZLZHH <admin@bzlzhh.top>
This commit is contained in:
BZLZHH 2025-02-13 17:14:46 +08:00
parent 8e200f3961
commit 71e3fedb64
2 changed files with 4 additions and 0 deletions

View File

@ -197,6 +197,9 @@ const GLubyte * glGetString( GLenum name ) {
std::string realVersion = " " + std::to_string(MAJOR) + "." + std::string realVersion = " " + std::to_string(MAJOR) + "." +
std::to_string(MINOR) + "." + std::to_string(MINOR) + "." +
std::to_string(REVISION); std::to_string(REVISION);
if (PATCH) {
realVersion += "." + std::to_string(PATCH);
}
std::string suffix = realVersion + (version_type == VERSION_ALPHA ? " | §4§l如果您在公开平台看到这一提示, 则发布者已违规!§r" : std::string suffix = realVersion + (version_type == VERSION_ALPHA ? " | §4§l如果您在公开平台看到这一提示, 则发布者已违规!§r" :
std::string(version_type == VERSION_DEVELOPMENT?".Dev":"")); std::string(version_type == VERSION_DEVELOPMENT?".Dev":""));
versionString += suffix; versionString += suffix;

View File

@ -11,6 +11,7 @@
#define MAJOR 1 #define MAJOR 1
#define MINOR 0 #define MINOR 0
#define REVISION 3 #define REVISION 3
#define PATCH 1
const int version_type = VERSION_RELEASE; const int version_type = VERSION_RELEASE;