mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-19 11:30:34 +00:00
Show engine arch in version
This commit is contained in:
parent
4b58b0b168
commit
17b0c23f2e
@ -2041,7 +2041,7 @@ void Con_DrawSolidConsole( int lines )
|
|||||||
memcpy( color, g_color_table[7], sizeof( color ));
|
memcpy( color, g_color_table[7], sizeof( color ));
|
||||||
|
|
||||||
|
|
||||||
Q_snprintf( curbuild, MAX_STRING, "%s %i/%s (hw build %i)", XASH_ENGINE_NAME, PROTOCOL_VERSION, XASH_VERSION, Q_buildnum( ));
|
Q_snprintf( curbuild, MAX_STRING, "%s %i/%s (%s-%s build %i)", XASH_ENGINE_NAME, PROTOCOL_VERSION, XASH_VERSION, Q_buildos(), Q_buildarch(), Q_buildnum( ));
|
||||||
|
|
||||||
Con_DrawStringLen( curbuild, &stringLen, &charH );
|
Con_DrawStringLen( curbuild, &stringLen, &charH );
|
||||||
start = glState.width - stringLen;
|
start = glState.width - stringLen;
|
||||||
@ -2195,8 +2195,8 @@ void Con_DrawVersion( void )
|
|||||||
host.force_draw_version = false;
|
host.force_draw_version = false;
|
||||||
|
|
||||||
if( host.force_draw_version || draw_version )
|
if( host.force_draw_version || draw_version )
|
||||||
Q_snprintf( curbuild, MAX_STRING, "%s v%i/%s (build %i)", XASH_ENGINE_NAME, PROTOCOL_VERSION, XASH_VERSION, Q_buildnum( ));
|
Q_snprintf( curbuild, MAX_STRING, "%s v%i/%s (%s-%s build %i)", XASH_ENGINE_NAME, PROTOCOL_VERSION, XASH_VERSION, Q_buildos(), Q_buildarch(), Q_buildnum( ));
|
||||||
else Q_snprintf( curbuild, MAX_STRING, "v%i/%s (build %i)", PROTOCOL_VERSION, XASH_VERSION, Q_buildnum( ));
|
else Q_snprintf( curbuild, MAX_STRING, "v%i/%s (%s-%s build %i)", PROTOCOL_VERSION, XASH_VERSION, Q_buildos(), Q_buildarch(), Q_buildnum( ));
|
||||||
|
|
||||||
Con_DrawStringLen( curbuild, &stringLen, &charH );
|
Con_DrawStringLen( curbuild, &stringLen, &charH );
|
||||||
start = glState.width - stringLen * 1.05f;
|
start = glState.width - stringLen * 1.05f;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user