diff --git a/docs/AUTHORS.txt b/docs/AUTHORS.txt index 46b618622..0bf51b19d 100644 --- a/docs/AUTHORS.txt +++ b/docs/AUTHORS.txt @@ -166,6 +166,11 @@ June 17, 2002 - May 28, 2024 + Filled Polygon "remove" sound effect based on "Ruler Twangs.wav" + . + Creative Commons Attribution 3.0 by stinkhorn + + Bloom magic tool by Bill Kendrick Googly Eyes sound effect: "Torch Crackle.wav" diff --git a/docs/CHANGES.txt b/docs/CHANGES.txt index 4acb67475..102869912 100644 --- a/docs/CHANGES.txt +++ b/docs/CHANGES.txt @@ -26,10 +26,11 @@ https://tuxpaint.org/ Creative Commons 0 by Kenneth Cooney - - "JacobsLadderSingle2.flac", - Creative Commons Attribution 4.0 by Eliot Lash - + - "JacobsLadderSingle2.flac", Creative Commons Attribution 4.0 + by Eliot Lash + - "Ruler Twangs.wav", Creative Commons Attribution 3.0 + by stinkhorn Closes https://sourceforge.net/p/tuxpaint/feature-requests/251/ * Magic Tool Improvements: diff --git a/magic/sounds/polyfill_remove.ogg b/magic/sounds/polyfill_remove.ogg new file mode 100644 index 000000000..fdf548ee8 Binary files /dev/null and b/magic/sounds/polyfill_remove.ogg differ diff --git a/magic/src/polyfill.c b/magic/src/polyfill.c index 7413be8cb..2a3a33960 100644 --- a/magic/src/polyfill.c +++ b/magic/src/polyfill.c @@ -41,6 +41,7 @@ char *polyfill_icon_filenames[NUM_TOOLS] = { enum { SND_PLACE, SND_MOVE, + SND_REMOVE, SND_NEARBY, SND_FINISH, NUM_SOUNDS @@ -49,6 +50,7 @@ enum { char *polyfill_snd_filenames[NUM_SOUNDS] = { "polyfill_place.ogg", "polyfill_move.ogg", + "polyfill_remove.ogg", "polyfill_nearby.ogg", "polyfill_finish.ogg", }; @@ -471,6 +473,9 @@ polyfill_release(magic_api * api, int which ATTRIBUTE_UNUSED, polyfill_pt_y[i] = polyfill_pt_y[i + 1]; } polyfill_num_pts--; + + /* Play "remove" sound effect */ + api->playsound(snd_effects[SND_REMOVE], (x * 255) / canvas->w, 255); } }