From 6d9b90ccce41c183e11eab0e70e7204ba8580dff Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sat, 10 May 2008 11:28:28 +0000 Subject: less camera vibrations --- src/client/view.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/client/view.cc b/src/client/view.cc index 488a1cb..695f478 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -141,7 +141,7 @@ void draw_status() int minutes = (int) floorf(core::game()->clientframetime() / 60.0f); int seconds = (int) floorf( core::game()->clientframetime() - (float) minutes* 60.0f); - status << " time " << std::setfill('0') << std::setw(2) << minutes << ":" << std::setfill('0') << std::setw(2) << seconds; + status << "time " << std::setfill('0') << std::setw(2) << minutes << ":" << std::setfill('0') << std::setw(2) << seconds; draw_text(CHARWIDTH, 4, status); } @@ -155,14 +155,16 @@ void draw_status() } stats << "tx "<< std::setw(5) << (core::Stats::network_bytes_sent >> 10) << "\n"; stats << "rx "<< std::setw(5) << (core::Stats::network_bytes_received >> 10) << "\n"; - draw_text(video::width-CHARWIDTH*12, CHARHEIGHT*2, stats); + draw_text(video::width-CHARWIDTH*12, 4, stats); } + /* // print the version number in the upper right corner gl::color(0.0f, 1.0f, 0.0f, 1.0f); std::string version("ver. "); version.append(core::version()); draw_text(video::width-(version.size()+1)*CHARWIDTH, 4, version); + */ // draw notifications gl::color(1.0f, 1.0f, 1.0f, 1.0f); -- cgit v1.2.3