Some more 'borrowed' code

This commit is contained in:
Izuru Yakumo
2025-07-26 22:59:27 -03:00
parent ef570c312a
commit 6de1c350d1
2 changed files with 27 additions and 14 deletions

View File

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