diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 77d22bc..afc34b6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -34,7 +34,7 @@ void logic(); void render(); int entityInteractTest(NPC *speaker){ - ui::dialogBox("NPC: Hello there!"); + player->qh.assign("Test"); return 1; } @@ -213,6 +213,8 @@ void render(){ glVertex2i(mx,my-HLINE*3.5); glEnd(); + ui::putText(player->loc.x-SCREEN_WIDTH/2,SCREEN_HEIGHT/2,"Quest count: %d",player->qh.current.size()); + glPopMatrix(); //take the matrix(s) off the stack to pass them to the renderer SDL_GL_SwapWindow(window); //give the stack to SDL to render it } |