From 1c63cbf204b1d2c667ce9f821ccb197d0ffb0ac3 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 11 May 2011 14:48:17 +0000 Subject: Review of the main loop timer, converted timers from float to unsigned long, corrected a number of timing bugs, improved client framerate stability. --- src/client/infowidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/infowidget.h') diff --git a/src/client/infowidget.h b/src/client/infowidget.h index e773ef4..d2936e4 100644 --- a/src/client/infowidget.h +++ b/src/client/infowidget.h @@ -40,10 +40,10 @@ protected: virtual void draw(); private: - float fps_counter_time[fps_counter_size]; + unsigned long fps_counter_time[fps_counter_size]; size_t fps_counter_index; - float net_counter_time[net_counter_size]; + unsigned long net_counter_time[net_counter_size]; size_t net_counter_traffic[net_counter_size]; size_t net_counter_index; }; -- cgit v1.2.3