From e020f25dd10f134fad4fd5c576a069c9c819941b Mon Sep 17 00:00:00 2001 From: "Zed A. Shaw" Date: Fri, 28 Feb 2025 13:34:48 -0500 Subject: [PATCH] Move the compass to the left so that enemies don't have N on their head. --- main_ui.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main_ui.cpp b/main_ui.cpp index 2655925..6aaf6e1 100644 --- a/main_ui.cpp +++ b/main_ui.cpp @@ -76,7 +76,7 @@ namespace gui { $rayview.set_position(RAY_VIEW_X, RAY_VIEW_Y); $rayview.position_camera(player.x + 0.5, player.y + 0.5); - $overlay_ui.show_label("top", $compass[$compass_dir]); + $overlay_ui.show_label("top_left", $compass[$compass_dir]); auto st = textures::get("down_the_well"); auto bounds = st.sprite->getLocalBounds(); @@ -140,7 +140,7 @@ namespace gui { void MainUI::plan_rotate(int dir) { // -1 is left, 1 is right $compass_dir = ($compass_dir + dir) % $compass.size(); - $overlay_ui.show_label("top", $compass[$compass_dir]); + $overlay_ui.show_label("top_left", $compass[$compass_dir]); $camera.plan_rotate($rayview, dir); } @@ -166,7 +166,7 @@ namespace gui { $rayview.position_camera(player.x + 0.5, player.y + 0.5); $compass_dir = 0; - $overlay_ui.show_label("top", $compass[$compass_dir]); + $overlay_ui.show_label("top_left", $compass[$compass_dir]); dirty(); }