Improved version string

This commit is contained in:
Simon 2023-04-03 21:26:39 +01:00
parent 62284414d0
commit 2b255ac3ea
2 changed files with 18 additions and 1 deletions

View file

@ -28,7 +28,7 @@ along with this program; if not, see <http://www.gnu.org/licenses/>.
#ifdef _DEBUG #ifdef _DEBUG
#define Q3_VERSION "(debug)OpenJK: v" VERSION_STRING_DOTTED " JKXR: " JKXR_VERSION #define Q3_VERSION "(debug)OpenJK: v" VERSION_STRING_DOTTED " JKXR: " JKXR_VERSION
#elif defined FINAL_BUILD #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 #else
#define Q3_VERSION "(internal)OpenJK: v" VERSION_STRING_DOTTED #define Q3_VERSION "(internal)OpenJK: v" VERSION_STRING_DOTTED
#endif #endif

View file

@ -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
}
} }
} }