Figured out the easiest way to set a panel to be centered, but a lot of these config things need to be unified and cleaned up.

This commit is contained in:
Zed A. Shaw 2025-01-16 23:07:18 -05:00
parent 269af02993
commit fc61ef42ac
6 changed files with 48 additions and 33 deletions

View file

@ -209,6 +209,7 @@ GUI::GUI(DinkyECS::World &world, Map& game_map) :
$sounds.load("combat_enemy_hit", "combat_enemy_hit.mp3");
$sounds.load("combat_miss", "combat_miss.mp3");
resize_map(MAX_FONT_SIZE);
$renderer.center_panel($next_level_ui);
init_shaders();
}