From 7c7dcf1a122ed676f70cd47cea83bb406ce108b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Valor=20Mart=C3=ADnez?= Date: Sun, 21 Aug 2022 10:25:28 +0200 Subject: [PATCH] =?UTF-8?q?A=C3=B1adido=20mas=20texto=20al=20debug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/game.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/game.cpp b/source/game.cpp index 02a6967..be7375f 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -142,6 +142,12 @@ void Game::renderDebugInfo() // Pinta el texto int line = 0; std::string text = ""; + + text = "R - Reload player and map"; + debugText->write(1, 210, text, -1); + + text = "D - Toggle debug mode"; + debugText->write(1, 216, text, -1); text = std::to_string((int)player->sprite->getPosX()) + "," + std::to_string((int)player->sprite->getPosY()); debugText->write(0, line, text, -1);