Browse Source

engine: client: correctly named values in net_speeds stats

pull/2/head
SNMetamorph 3 years ago committed by Alibek Omarov #SupportRMS
parent
commit
6ceb101ba1
  1. 14
      engine/client/cl_scrn.c

14
engine/client/cl_scrn.c

@ -183,8 +183,18 @@ void SCR_NetSpeeds( void ) @@ -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;

Loading…
Cancel
Save