Nimbin[12]?SDL & Graphics / mapcreator / commits / 7e64d32

mapcreator git · master

SDL3 2.5D game and engine using assets, with map editor

sdl3 c++ game engine map-editor cmake · first commit 2025-10-31 · last commit 2026-09-07 (1 month ago) · synced 3 days ago · upstream: git.ide3.de/hsnr/sdl-spieleentwicklung/map_creator

C++ 99.3%
git clone https://git.christianimmanuel.de/sdl-graphics/mapcreator.gitwget https://git.christianimmanuel.de/sdl-graphics/mapcreator/archive/mapcreator.tar.gz

Fix font lineheight of top right message

Christian Immanuel · 2026-02-17 15:05 · 7e64d3201305488aef68e992d5cfd643dd3b70e0

 src/character/message.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/character/message.cpp b/src/character/message.cpp
index baf5e66..0713a7b 100644
--- a/src/character/message.cpp
+++ b/src/character/message.cpp
@@ -338,7 +338,7 @@ void Messages::render_InventoryMessages(Game* game, Inventory* inventory) {
         // Text
         SDL_FRect dst_text{
             bar_x + bar_padding,
-            bar_height_min/2 + bar_padding - text_h/3,
+            y + bar_padding + bar_height_min/2 - (text_h*0.75f),
             text_w,
             text_h
         };