mapcreator git · master
SDL3 2.5D game and engine using assets, with map editor
C++ 99.3%git clone https://git.christianimmanuel.de/sdl-graphics/mapcreator.gitwget https://git.christianimmanuel.de/sdl-graphics/mapcreator/archive/mapcreator.tar.gzFix draw frames
src/character/message.cpp | 2 -- src/defaults/ui.cpp | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/character/message.cpp b/src/character/message.cpp index a417d0a..3bcac07 100644 --- a/src/character/message.cpp +++ b/src/character/message.cpp @@ -250,7 +250,6 @@ void Messages::render_InventoryMessages(Game* game, Inventory* inventory) { } else if (msg->message_type == MessageType::VEGETABLE_SEED) { - std::cout << "GET SEED MESS\n"; VegetableData::Type* vtype = static_cast<VegetableData::Type*>(msg->type_data); auto it = inventory->seeds.find(*vtype); int amount = 0; @@ -302,7 +301,6 @@ void Messages::render_InventoryMessages(Game* game, Inventory* inventory) { } else if (msg->message_type == MessageType::VEGETABLE_SEED) { - std::cout << "SET MES SEED \n"; is_seed = true; vtype = static_cast<VegetableData::Type*>(msg->type_data); auto it = inventory->seeds.find(*vtype); diff --git a/src/defaults/ui.cpp b/src/defaults/ui.cpp index 0a08b44..16a1a36 100644 --- a/src/defaults/ui.cpp +++ b/src/defaults/ui.cpp @@ -74,6 +74,7 @@ namespace Ui { font_tiny = TTF_OpenFont("fonts/DejaVuSansMono.ttf", 12); font_menu = TTF_OpenFont("fonts/DejaVuSansMono.ttf", 18); font_menu_bold = TTF_OpenFont("fonts/DejaVuSansMono-Bold.ttf", 18); + font_top_bar = TTF_OpenFont("fonts/DejaVuSansMono-Bold.ttf", 28); font_message = TTF_OpenFont("fonts/DejaVuSansMono.ttf", 22); if (!font_big || !font_small) {