aboutsummaryrefslogtreecommitdiff
path: root/src/core/gamescene.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/gamescene.cpp')
-rw-r--r--src/core/gamescene.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/gamescene.cpp b/src/core/gamescene.cpp
index 32fea88..99f61c3 100644
--- a/src/core/gamescene.cpp
+++ b/src/core/gamescene.cpp
@@ -60,6 +60,10 @@ bool gameScene::sceneRender()
udly+=sm->smGetDelta();
extern sceneManager *sceneMgr;float lps=sceneMgr->getLPS();
if(udly>1){udly=0;utime=sceneMgr->getTHUpdateTime();}
+ ttfont.updateString(L"Coll: %d\n",player->coll);
+ ttfont.render(0,50,0xFFFFFFFF,ALIGN_LEFT);
+ ttfont.updateString(L"SColl: %d\n",player->scoll);
+ ttfont.render(0,65,0xFFFFFFFF,ALIGN_LEFT);
ttfont.updateString(L"LPS: %.2f",lps);
ttfont.render(0,680,0xFFFFFFFF,ALIGN_LEFT);
ttfont.updateString(L"Update Time: %dns",utime);