engine: client: correctly named values in net_speeds stats

This commit is contained in:
SNMetamorph 2021-06-05 19:57:16 +04:00 committed by Alibek Omarov #SupportRMS
parent f7f069a38b
commit 6ceb101ba1
1 changed files with 12 additions and 2 deletions

View File

@ -183,8 +183,18 @@ void SCR_NetSpeeds( void )
if( cur_clfps > max_clfps ) max_clfps = cur_clfps;
}
Q_snprintf( msg, sizeof( msg ), "sv fps: ^1%4i min, ^3%4i cur, ^2%4i max\ncl fps: ^1%4i min, ^3%4i cur, ^2%4i max\nGame Time: %02d:%02d\nTotal received from server: %s\nTotal sent to server: %s\n",
min_svfps, cur_svfps, max_svfps, min_clfps, cur_clfps, max_clfps, (int)(time / 60.0f ), (int)fmod( time, 60.0f ), Q_memprint( cls.netchan.total_received ), Q_memprint( cls.netchan.total_sended ));
Q_snprintf( msg, sizeof( msg ),
"Updaterate: ^1%2i min, ^3%2i cur, ^2%2i max\n"
"Client FPS: ^1%i min, ^3%3i cur, ^2%3i max\n"
"Game Time: %02d:%02d\n"
"Total received from server: %s\n"
"Total sent to server: %s\n",
min_svfps, cur_svfps, max_svfps,
min_clfps, cur_clfps, max_clfps,
(int)(time / 60.0f ), (int)fmod( time, 60.0f ),
Q_memprint( cls.netchan.total_received ),
Q_memprint( cls.netchan.total_sended )
);
x = refState.width - 320;
y = 384;