aboutsummaryrefslogtreecommitdiffstats
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 1076903..4d14190 100644
--- a/main.cpp
+++ b/main.cpp
@@ -320,9 +320,11 @@ void render() {
if (ui::debug) {
auto pos = game::engine.getSystem<PlayerSystem>()->getPosition();
ui::putText(offset.x-SCREEN_WIDTH/2, (offset.y+SCREEN_HEIGHT/2)-ui::fontSize,
- "loc: (%+.2f, %+.2f)\nticks: %u\nxml: %s",
+ "loc: (%+.2f, %+.2f)\noffset: (%+.2f, %+.2f)\nticks: %u\nxml: %s",
pos.x,
pos.y,
+ offset.x,
+ offset.y,
game::time::getTickCount(),
game::engine.getSystem<WorldSystem>()->getXMLFile().c_str()
);