--- a/src/Graphics.cc Mon Dec 08 22:57:01 2008 +0000
+++ b/src/Graphics.cc Mon Dec 08 23:00:23 2008 +0000
@@ -171,10 +171,19 @@
ssdeaths << "Deaths: " << p->getDeaths();
getSimpleFont().draw(
box_left + 20 + 100 * bar_length,
- box_top + 40,
+ box_top + 30,
ssdeaths.str(),
get_gc()
);
+
+ std::stringstream ssratio;
+ ssratio << "Ratio: " << (p->getKills()+1) / (p->getDeaths()+1);
+ getSimpleFont().draw(
+ box_left + 20 + 100 * bar_length,
+ box_top + 50,
+ ssratio.str(),
+ get_gc()
+ );
// Ammobar