summaryrefslogtreecommitdiff
path: root/src/game/interface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/interface.cpp')
-rw-r--r--src/game/interface.cpp16
1 files changed, 10 insertions, 6 deletions
diff --git a/src/game/interface.cpp b/src/game/interface.cpp
index f4403ea..d125392 100644
--- a/src/game/interface.cpp
+++ b/src/game/interface.cpp
@@ -180,14 +180,18 @@ void state_t::render_to(render::state_t *render)
x[1] += em;
}
- x = v2f_t(0.0f, h - em * 1.5);
- ss << "World S/T/E: ";
+ x = v2f_t(0.0f, h - em * 4.5);
+ ss << "World S/T:";
ss << game->world.stats.sectors << "/";
- ss << game->world.stats.tiles << "/";
- ss << game->world.stats.entities;
+ ss << game->world.stats.tiles;
render->render_text(x, em, ss.str(), render::ALIGN_LEFT_TOP, sf::Color::White);
- x[1] -= em;
+ x[1] += em;
+ ss.str(std::string());
+ ss << "Awake: " << game->awake_entities.size() << "/" << game->world.stats.entities;
+ render->render_text(x, em, ss.str(), render::ALIGN_LEFT_TOP, sf::Color::White);
+
+ x[1] += em;
ss.str(std::string());
ss << "View S/T/E: ";
ss << render->stats.sectors << "/";
@@ -203,7 +207,7 @@ void state_t::render_to(render::state_t *render)
fps += perf_hist[i];
fps /= count(perf_hist);
- x[1] -= em;
+ x[1] += em;
ss.str(std::string());
ss << std::fixed << std::setprecision(1);
ss << "FPS: " << fps;