feat: embedded data files, audio effects processing

This commit is contained in:
2025-07-21 22:30:33 -05:00
parent f5ff90cb11
commit fa7e985c0d
9 changed files with 146 additions and 43 deletions

View File

@@ -79,6 +79,16 @@ impl Pacman<'_> {
.get_tile(proposed_next_cell)
.unwrap_or(MapTile::Empty);
if proposed_next_tile != MapTile::Wall {
event!(
tracing::Level::DEBUG,
"Direction change: {:?} -> {:?} at position ({}, {}) internal ({}, {})",
self.direction,
self.next_direction.unwrap(),
self.position.0,
self.position.1,
self.internal_position().0,
self.internal_position().1
);
self.direction = self.next_direction.unwrap();
self.next_direction = None;
}