Lie about VERSION_TEXT for OMM backwards compatibility

This commit is contained in:
MysterD 2023-11-24 19:36:13 -08:00
parent 1543aac714
commit 5e3dce9020
4 changed files with 6 additions and 3 deletions

View File

@ -12340,4 +12340,4 @@ VERSION_REGION = "SH"
VERSION_REGION = "US" VERSION_REGION = "US"
--- @type string --- @type string
VERSION_TEXT = "v" VERSION_TEXT = "beta"

View File

@ -4298,7 +4298,7 @@ char gSmluaConstants[] = ""
"COOP_OBJ_FLAG_LUA = (1 << 1)\n" "COOP_OBJ_FLAG_LUA = (1 << 1)\n"
"COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n" "COOP_OBJ_FLAG_NON_SYNC = (1 << 2)\n"
"COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n" "COOP_OBJ_FLAG_INITIALIZED = (1 << 3)\n"
"VERSION_TEXT = 'v'\n" "VERSION_TEXT = 'beta'\n"
"VERSION_NUMBER = 36\n" "VERSION_NUMBER = 36\n"
"MINOR_VERSION_NUMBER = 0\n" "MINOR_VERSION_NUMBER = 0\n"
"PATCH_VERSION_NUMBER = 0\n" "PATCH_VERSION_NUMBER = 0\n"

View File

@ -2,6 +2,9 @@
#include "version.h" #include "version.h"
#include "types.h" #include "types.h"
#undef VERSION_TEXT
#define VERSION_TEXT "v"
static char sVersionString[MAX_VERSION_LENGTH] = { 0 }; static char sVersionString[MAX_VERSION_LENGTH] = { 0 };
static char sLocalVersionString[MAX_LOCAL_VERSION_LENGTH] = { 0 }; static char sLocalVersionString[MAX_LOCAL_VERSION_LENGTH] = { 0 };

View File

@ -1,7 +1,7 @@
#ifndef VERSION_H #ifndef VERSION_H
#define VERSION_H #define VERSION_H
#define VERSION_TEXT "v" #define VERSION_TEXT "beta"
#define VERSION_NUMBER 36 #define VERSION_NUMBER 36
#define MINOR_VERSION_NUMBER 0 #define MINOR_VERSION_NUMBER 0
#define PATCH_VERSION_NUMBER 0 #define PATCH_VERSION_NUMBER 0