diff options
author | Stijn Buys <ingar@osirion.org> | 2008-05-05 17:45:30 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-05-05 17:45:30 +0000 |
commit | c11c0174ece92b4502648ad33653975bfdfc39a0 (patch) | |
tree | 88860bfcbb7206834e61533af79f7631b5638cb2 /src/client | |
parent | 7218e3bd4616d4706090ec47d72845a2bb89c6a3 (diff) |
lights with entity color, sunlight, network stats
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/view.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/view.cc b/src/client/view.cc index aaf8210..660930b 100644 --- a/src/client/view.cc +++ b/src/client/view.cc @@ -21,6 +21,7 @@ #include "render/render.h" #include "render/textures.h" #include "core/core.h" +#include "core/stats.h" #include "math/mathlib.h" #include "sys/sys.h" @@ -153,6 +154,8 @@ void draw_status() stats << "tris " << std::setw(5) << render::Stats::tris << "\n"; stats << "quads " << std::setw(5) << render::Stats::quads << "\n"; } + 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); } |