This PR adds a first incomplete implementation of the playsound command (the minVolume is just ignored and not used for the moment).
It also adds the Debug trait on an amount of data structures
And finally it moves the sound data structure and registry from pumpkin-macros to pumpkin-core
EDIT: I Can move the registry to the pumpkin-registry crate if necessary
The command has been tested functionnaly in game with various inputs.
Checklist
Things need to be done before this Pull Request can be merged.
[ ] Code is well-formatted and adheres to project style guidelines: cargo fmt
[ ] Code does not produce any clippy warnings cargo clippy
Description
This PR adds a first incomplete implementation of the playsound command (the minVolume is just ignored and not used for the moment). It also adds the Debug trait on an amount of data structures And finally it moves the sound data structure and registry from pumpkin-macros to pumpkin-core
EDIT: I Can move the registry to the pumpkin-registry crate if necessary
The command has been tested functionnaly in game with various inputs.
Checklist
Things need to be done before this Pull Request can be merged.
cargo fmt
cargo clippy