def render_ui(console: tcod.Console, engine: game.engine.Engine) -> None:
    UI_WIDTH = game.constants.ui_width
    UI_LEFT = (console.width - UI_WIDTH)
    LOG_HEIGHT = (console.height - 8)
    engine.message_log.render(console=console, x=UI_LEFT, y=(console.height - LOG_HEIGHT), width=UI_WIDTH, height=LOG_HEIGHT)
    console.draw_rect(UI_LEFT, 0, UI_WIDTH, 2, 32, (255, 255, 255), (0, 0, 0))
    game.render_functions.render_bar(console=console, x=UI_LEFT, y=0, current_value=engine.player.fighter.hp, maximum_value=engine.player.fighter.max_hp, total_width=UI_WIDTH)
    game.render_functions.render_names_at_mouse_location(console=console, x=UI_LEFT, y=1, engine=engine)
    if g.mouse_pos:
        console.rgb[g.mouse_pos]['fg'] = (0, 0, 0)
        console.rgb[g.mouse_pos]['bg'] = (255, 255, 255)
        if (g.fullbright or engine.game_map.visible[g.mouse_pos]):
            console.print(UI_LEFT, 2, f'''Fire={engine.game_map.fire[g.mouse_pos]}, Heat={engine.game_map.heat[g.mouse_pos]}, Smoke={engine.game_map.smoke[g.mouse_pos]},
Fuel={engine.game_map.fuel[g.mouse_pos]}''')
def render_ui(console: tcod.Console, engine: game.engine.Engine) -> None:
    UI_WIDTH = game.constants.ui_width
    UI_LEFT = (console.width - UI_WIDTH)
    LOG_HEIGHT = (console.height - 8)
    engine.message_log.render(console=console, x=UI_LEFT, y=(console.height - LOG_HEIGHT), width=UI_WIDTH, height=LOG_HEIGHT)
    console.draw_rect(UI_LEFT, 0, UI_WIDTH, 2, 32, (255, 255, 255), (0, 0, 0))
    game.render_functions.render_bar(console=console, x=UI_LEFT, y=0, current_value=engine.player.fighter.hp, maximum_value=engine.player.fighter.max_hp, total_width=UI_WIDTH)
    game.render_functions.render_names_at_mouse_location(console=console, x=UI_LEFT, y=1, engine=engine)
    if g.mouse_pos:
        console.rgb[g.mouse_pos]['fg'] = (0, 0, 0)
        console.rgb[g.mouse_pos]['bg'] = (255, 255, 255)
        if (g.fullbright or engine.game_map.visible[g.mouse_pos]):
            console.print(UI_LEFT, 2, f'Fire={engine.game_map.fire[g.mouse_pos]}, Heat={engine.game_map.heat[g.mouse_pos]}, Smoke={engine.game_map.smoke[g.mouse_pos]},
Fuel={engine.game_map.fuel[g.mouse_pos]}')