From 71121df89640add31448368d8655e839b41568f2 Mon Sep 17 00:00:00 2001 From: Fernando Raviola Date: Sat, 7 May 2022 02:20:45 -0300 Subject: [PATCH 1/2] Update blah lib --- libs/blah | 2 +- src/game.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libs/blah b/libs/blah index 9beb7ef..b2bcf66 160000 --- a/libs/blah +++ b/libs/blah @@ -1 +1 @@ -Subproject commit 9beb7eff58ae78810fa7f4d9830f8c46c0c0531a +Subproject commit b2bcf66a37eb2925cf55fb2cf73e7b2f8b33d785 diff --git a/src/game.cpp b/src/game.cpp index 4cd3074..00d9f3a 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -347,8 +347,8 @@ void Game::render() { auto w = Content::font.width_of(ending); auto pos = Point(room.x * width + width / 2, room.y * height + 20); - batch.str(Content::font, ending, pos + Point(0, 1), TextAlign::Top, 8, Color::black); - batch.str(Content::font, ending, pos, TextAlign::Top, 8, Color::white); + batch.str(Content::font, ending, pos + Point(0, 1), Vec2f(0.0, 0.0), 8, Color::black); + batch.str(Content::font, ending, pos, Vec2f(0.0, 0.0), 8, Color::white); } // end camera offset From f4c1bba61d860d9f42c3592954395bc8003a64c7 Mon Sep 17 00:00:00 2001 From: Fernando Raviola Date: Sat, 7 May 2022 02:44:14 -0300 Subject: [PATCH 2/2] add build/ to .gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 28e305a..b15dbe7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ .vs .vscode out -CMakeSettings.json \ No newline at end of file +CMakeSettings.json +build/* \ No newline at end of file