about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-15 23:51:51 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2007-07-15 23:51:51 +0000
commitdd5afa751d93684b03d36225f3177d36160257d3 (patch)
tree1419940433d124f3afb612827d2faf61945643e4 /src/engine
parentf5086db463f1473a1507556ea2638b9fffd8dafc (diff)
downloadzcatch-dd5afa751d93684b03d36225f3177d36160257d3.tar.gz
zcatch-dd5afa751d93684b03d36225f3177d36160257d3.zip
clean up
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/client.cpp13
1 files changed, 1 insertions, 12 deletions
diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp
index 68e93fbe..87158213 100644
--- a/src/engine/client/client.cpp
+++ b/src/engine/client/client.cpp
@@ -409,16 +409,10 @@ public:
 			if(input::pressed(input::f2))
 				input::set_mouse_mode(input::mode_relative);
 
+			// panic button
 			if(input::pressed(input::lctrl) && input::pressed('Q'))
 				break;
 				
-			// editor invoke
-			/*
-			if(input::pressed(input::lctrl) && input::pressed('O'))
-			{
-				disconnect();
-			}*/
-				
 			// pump the network
 			pump_network();
 			
@@ -437,13 +431,10 @@ public:
 			
 			if(reporttime < time_get())
 			{
-				//unsigned sent, recved;
-				//conn.counter_get(&sent, &recved);
 				dbg_msg("client/report", "fps=%.02f netstate=%d",
 					frames/(float)(reportinterval/time_freq()), net.state());
 				frames = 0;
 				reporttime += reportinterval;
-				//conn.counter_reset();
 			}
 			
 			if (input::pressed(input::esc))
@@ -536,9 +527,7 @@ public:
 						unsigned char tmpbuffer2[MAX_SNAPSHOT_SIZE];
 						if(part_size)
 						{
-							//int snapsize = lzw_decompress(snapshots[SNAP_INCOMMING], snapshots[SNAP_CURRENT]);
 							int compsize = zerobit_decompress(snapshots[SNAP_INCOMMING], part_size, tmpbuffer);
-							//int compsize = lzw_decompress(snapshots[SNAP_INCOMMING],tmpbuffer);
 							int intsize = intpack_decompress(tmpbuffer, compsize, tmpbuffer2);
 							deltadata = tmpbuffer2;
 							deltasize = intsize;