diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-10 11:28:28 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-10 11:28:28 +0000 |
commit | 6d9b90ccce41c183e11eab0e70e7204ba8580dff (patch) | |
tree | bcfb65ea212a9a46f7f43c8c4befcae24c8ba0ee /src | |
parent | 3499e2422aa1c280f7965c793983ad9302288043 (diff) |
less camera vibrations
Diffstat (limited to 'src')
-rw-r--r-- | src/client/view.cc | 6 |
1 files changed, 4 insertions, 2 deletions
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); |