|
|
|
@ -213,37 +213,6 @@ void Con_ClearTyping( void )
@@ -213,37 +213,6 @@ void Con_ClearTyping( void )
|
|
|
|
|
Cmd_AutoCompleteClear(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
============ |
|
|
|
|
Con_StringLength |
|
|
|
|
|
|
|
|
|
skipped color prefixes |
|
|
|
|
============ |
|
|
|
|
*/ |
|
|
|
|
int Con_StringLength( const char *string ) |
|
|
|
|
{ |
|
|
|
|
int len; |
|
|
|
|
const char *p; |
|
|
|
|
|
|
|
|
|
if( !string ) return 0; |
|
|
|
|
|
|
|
|
|
len = 0; |
|
|
|
|
p = string; |
|
|
|
|
|
|
|
|
|
while( *p ) |
|
|
|
|
{ |
|
|
|
|
if( IsColorString( p )) |
|
|
|
|
{ |
|
|
|
|
p += 2; |
|
|
|
|
continue; |
|
|
|
|
} |
|
|
|
|
len++; |
|
|
|
|
p++; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
return len; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
================ |
|
|
|
|
Con_MessageMode_f |
|
|
|
@ -2098,7 +2067,6 @@ void Con_DrawVersion( void )
@@ -2098,7 +2067,6 @@ void Con_DrawVersion( void )
|
|
|
|
|
|
|
|
|
|
Con_DrawStringLen( curbuild, &stringLen, &charH ); |
|
|
|
|
start = refState.width - stringLen * 1.05f; |
|
|
|
|
stringLen = Con_StringLength( curbuild ); |
|
|
|
|
height -= charH * 1.05f; |
|
|
|
|
|
|
|
|
|
Con_DrawString( start, height, curbuild, color ); |
|
|
|
|