"Crescent" sound effect

This commit is contained in:
Bill Kendrick 2024-09-28 22:50:09 -07:00
parent 685f0d44ee
commit e9db2402b1
4 changed files with 10 additions and 2 deletions

View file

@ -226,6 +226,11 @@ June 17, 2002 - September 28, 2024
"Crescent" magic tool
by Bill Kendrick <bill@newbreedsoftware.com>
"Crescent" sound effect based on "Barred Owl Calling"
<https://freesound.org/people/danielmcadams/sounds/486390/>
Creative Commons CC0 1.0 Universal by Daniel McAdams
<https://freesound.org/people/danielmcadams/>
Bloom magic tool
by Bill Kendrick <bill@newbreedsoftware.com>

View file

@ -57,7 +57,10 @@ https://tuxpaint.org/
* WIP "Crescent": Draw various sorts of crescent shapes
+ Code by Bill Kendrick <bill@newbreedsoftware.com>
+ TODO Sound effect
+ Sound effect based on "Barred Owl Calling"
<https://freesound.org/people/danielmcadams/sounds/486390/>
Creative Commons CC0 1.0 Universal by Daniel McAdams
<https://freesound.org/people/danielmcadams/>
+ TODO Documentation
+ Closes https://sourceforge.net/p/tuxpaint/feature-requests/262/

BIN
magic/sounds/crescent.ogg Normal file

Binary file not shown.

View file

@ -82,7 +82,7 @@ int crescent_init(magic_api * api, Uint8 disabled_features ATTRIBUTE_UNUSED, Uin
{
char fname[1024];
snprintf(fname, sizeof(fname), "%ssounds/magic/xor.ogg", api->data_directory); // FIXME
snprintf(fname, sizeof(fname), "%ssounds/magic/crescent.ogg", api->data_directory);
crescent_snd = Mix_LoadWAV(fname);
return (1);