Compare commits

...

15 Commits

Author SHA1 Message Date
27079e127d feat!: implement proper error handling, drop most expect() & unwrap() usages 2025-08-11 20:23:39 -05:00
5e9bb3535e ci: add dependabot config 2025-08-11 19:24:52 -05:00
250cf2fc89 fix: avoid rendering path lines between far apart cells 2025-08-11 18:39:01 -05:00
57975495a9 fix: calculate more static, stable offsets for path debug rendering 2025-08-11 16:00:23 -05:00
f3e7a780e2 fix: drop problematic ctrl-c keybind for bacon, reconfigure binds 2025-08-11 15:46:26 -05:00
ee6cb0a670 refactor: implement entity trait, common abstraction for movement & rendering 2025-08-11 15:46:04 -05:00
b3df34b405 fix: crash when entering right tunnel due to overflowing pixel position calculation 2025-08-11 15:44:04 -05:00
dbafa17670 chore: add bacon.toml config file 2025-08-11 15:25:53 -05:00
d9c8f97903 feat: pathfinding for ghosts, add debug rendering of paths 2025-08-11 15:25:39 -05:00
ad2ec35bfb chore: remove unused tracing debug invocations 2025-08-11 15:23:23 -05:00
6331ba0b2f refactor: move graph traversal code into traversal.rs 2025-08-11 14:05:28 -05:00
3d275b8e85 fix: clippy inline format args 2025-08-11 14:05:28 -05:00
bd61db9aae chore: remove unnecessary names, merge audit.yaml with tests.yaml, plural tests.yaml 2025-08-11 14:05:28 -05:00
f80c89fdc1 fix: clippy inline format args 2025-08-11 12:34:50 -05:00
00c27273c1 chore: remove unnecessary names, merge audit.yaml with tests.yaml, plural tests.yaml 2025-08-11 12:33:54 -05:00
5 changed files with 8 additions and 33 deletions
-27
View File
@@ -1,27 +0,0 @@
name: Audit
on: ["push", "pull_request"]
env:
CARGO_TERM_COLOR: always
RUST_TOOLCHAIN: 1.88.0
jobs:
audit:
name: Audit
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ env.RUST_TOOLCHAIN }}
- name: Install cargo-audit
run: cargo install cargo-audit
- name: Run security audit
run: cargo audit
-1
View File
@@ -1,5 +1,4 @@
name: Builds name: Builds
on: ["push", "pull_request"] on: ["push", "pull_request"]
permissions: permissions:
+1 -2
View File
@@ -1,4 +1,4 @@
name: Coverage name: Code Coverage
on: ["push", "pull_request"] on: ["push", "pull_request"]
@@ -8,7 +8,6 @@ env:
jobs: jobs:
coverage: coverage:
name: Code Coverage
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout code - name: Checkout code
@@ -1,4 +1,4 @@
name: Tests name: Tests & Checks
on: ["push", "pull_request"] on: ["push", "pull_request"]
@@ -8,7 +8,6 @@ env:
jobs: jobs:
test: test:
name: Test
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
@@ -52,3 +51,8 @@ jobs:
- name: Check formatting - name: Check formatting
run: cargo fmt -- --check run: cargo fmt -- --check
- uses: taiki-e/install-action@cargo-audit
- name: Run security audit
run: cargo audit
+1 -1
View File
@@ -87,7 +87,7 @@ impl MapRenderer {
// Draw node ID text (small, offset to top right) // Draw node ID text (small, offset to top right)
text_renderer.set_scale(0.5); // Small text text_renderer.set_scale(0.5); // Small text
let id_text = format!("#{}", nearest_id); let id_text = format!("#{nearest_id}");
let text_pos = glam::UVec2::new( let text_pos = glam::UVec2::new(
(nearest_pos.x + 4.0) as u32, // Offset to the right (nearest_pos.x + 4.0) as u32, // Offset to the right
(nearest_pos.y - 6.0) as u32, // Offset to the top (nearest_pos.y - 6.0) as u32, // Offset to the top