about summary refs log tree commit diff
path: root/src/engine/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-08-25 08:48:24 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-08-25 08:48:24 +0000
commit89ccbd4f7b478b49329fa39be62ee3a5b38641bc (patch)
treefc96f677e9947f4d7b7642999544d954f0a10617 /src/engine/client
parent3e23392105fad0d847b41f730d002a700cd4d752 (diff)
downloadzcatch-89ccbd4f7b478b49329fa39be62ee3a5b38641bc.tar.gz
zcatch-89ccbd4f7b478b49329fa39be62ee3a5b38641bc.zip
compressed map support. begun to fix things for ctf
Diffstat (limited to 'src/engine/client')
-rw-r--r--src/engine/client/client.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/client/client.c b/src/engine/client/client.c
index 6f557861..72f73741 100644
--- a/src/engine/client/client.c
+++ b/src/engine/client/client.c
@@ -375,11 +375,12 @@ static void client_debug_render()
 	static float frametime_avg = 0;
 	frametime_avg = frametime_avg*0.9f + frametime*0.1f;
 	char buffer[512];
-	sprintf(buffer, "send: %6d recv: %6d snaploss: %d latency: %4.0f %c gfxmem: %6dk fps: %3d",
+	sprintf(buffer, "send: %6d recv: %6d snaploss: %d latency: %4.0f %c  mem %dk   gfxmem: %dk  fps: %3d",
 		(current.send_bytes-prev.send_bytes)*10,
 		(current.recv_bytes-prev.recv_bytes)*10,
 		snaploss,
 		latency*1000.0f, extra_polating?'E':' ',
+		mem_allocated()/1024,
 		gfx_memory_usage()/1024,
 		(int)(1.0f/frametime_avg));
 	gfx_quads_text(2, 2, 16, buffer);