Some more 'borrowed' code
This commit is contained in:
@@ -3001,15 +3001,14 @@ static qboolean CG_DrawFollow( void ) {
|
||||
color[2] = 1;
|
||||
color[3] = 1;
|
||||
|
||||
|
||||
CG_DrawBigString( 320 - 9 * 8, 24, "following", 1.0F );
|
||||
|
||||
// I like how Bishop-333 does it
|
||||
// (no, it's not anything sexual)
|
||||
// ~Y.A.K.U.M.O.
|
||||
name = cgs.clientinfo[ cg.snap->ps.clientNum ].name;
|
||||
|
||||
x = 0.5 * ( 640 - GIANT_WIDTH * CG_DrawStrlen( name ) );
|
||||
|
||||
CG_DrawStringExt( x, 40, name, color, qtrue, qtrue, GIANT_WIDTH, GIANT_HEIGHT, 0 );
|
||||
|
||||
x = 0.5 * ( 640 - SMALLCHAR_WIDTH * CG_DrawStrlen( name ) ) - SMALLCHAR_WIDTH * 3;
|
||||
CG_DrawStringExt( x, 40, name, color, qtrue, qfalse, SMALLCHAR_WIDTH, SMALLCHAR_HEIGHT, 0 );
|
||||
CG_DrawSmallString( x + SMALLCHAR_WIDTH * CG_DrawStrlen( name ), 40, "'s view", 1.0F);
|
||||
|
||||
return qtrue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user