audio: refactor audio asset loading, add crit sound #9

Open
amr wants to merge 1 commit from amr/rogged:audio into main
Collaborator

Created AudioAssets struct to hold the loaded sounds. It's part of the GameState to make it easy to access everywhere. If this is bad it can be refactored fairly easily.

Created AudioAssets struct to hold the loaded sounds. It's part of the GameState to make it easy to access everywhere. If this is bad it can be refactored fairly easily.
amr 2026-04-06 21:53:28 +00:00
amr self-assigned this 2026-04-06 21:54:42 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u audio:amr-audio
git switch amr-audio

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff amr-audio
git switch amr-audio
git rebase main
git switch main
git merge --ff-only amr-audio
git switch amr-audio
git rebase main
git switch main
git merge --no-ff amr-audio
git switch main
git merge --squash amr-audio
git switch main
git merge --ff-only amr-audio
git switch main
git merge amr-audio
git push origin main
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
NotAShelf/rogged!9
No description provided.