From 2b255ac3eab92735d7c75f3323e5fe39e825da0b Mon Sep 17 00:00:00 2001 From: Simon Date: Mon, 3 Apr 2023 21:26:39 +0100 Subject: [PATCH] Improved version string --- .../jni/OpenJK/code/qcommon/stv_version.h | 2 +- z_vr_assets_jka/ui/main.menu | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Projects/Android/jni/OpenJK/code/qcommon/stv_version.h b/Projects/Android/jni/OpenJK/code/qcommon/stv_version.h index efe6c90..736bbc1 100644 --- a/Projects/Android/jni/OpenJK/code/qcommon/stv_version.h +++ b/Projects/Android/jni/OpenJK/code/qcommon/stv_version.h @@ -28,7 +28,7 @@ along with this program; if not, see . #ifdef _DEBUG #define Q3_VERSION "(debug)OpenJK: v" VERSION_STRING_DOTTED " JKXR: " JKXR_VERSION #elif defined FINAL_BUILD - #define Q3_VERSION "OpenJK: v" VERSION_STRING_DOTTED " JKXR: " JKXR_VERSION + #define Q3_VERSION "JKXR: " JKXR_VERSION " (OpenJK: v" VERSION_STRING_DOTTED ")" #else #define Q3_VERSION "(internal)OpenJK: v" VERSION_STRING_DOTTED #endif diff --git a/z_vr_assets_jka/ui/main.menu b/z_vr_assets_jka/ui/main.menu index 20d9789..bbfce2b 100644 --- a/z_vr_assets_jka/ui/main.menu +++ b/z_vr_assets_jka/ui/main.menu @@ -547,6 +547,23 @@ } }*/ + itemDef + { + name about + rect 90 463 500 24 + type 0 + cvar "version" + textalign ITEM_ALIGN_LEFT + textalignx 150 + textaligny 2 + textalign 1 + font 2 + textscale .5 + forecolor 1 1 1 1 + visible 1 + decoration + } + } }