Magic Fur: Sound effect
This commit is contained in:
parent
6161ebe59a
commit
1687fd4de1
4 changed files with 12 additions and 5 deletions
|
|
@ -6,7 +6,7 @@ Copyright (c) 2002-2023
|
|||
Various contributors (see below, and CHANGES.txt)
|
||||
https://tuxpaint.org/
|
||||
|
||||
June 17, 2002 - January 29, 2023
|
||||
June 17, 2002 - January 30, 2023
|
||||
|
||||
* Design and Coding:
|
||||
|
||||
|
|
@ -127,6 +127,10 @@ June 17, 2002 - January 29, 2023
|
|||
(Why? Because Van Gogh liked Wagner:
|
||||
https://yalebooks.yale.edu/book/9780300228335/van-gogh-and-music/)
|
||||
|
||||
Fur sound effect based on "Petting Long, Coarse Fur.wav"
|
||||
(https://freesound.org/people/Kawgrim/sounds/584865/)
|
||||
Creative Commons 0 by Kawgrim <https://freesound.org/people/Kawgrim/>
|
||||
|
||||
Mouse accessibility code and keyboard access
|
||||
Ankit Choudary <ankit.goaldecided@gmail.com>, as part of GSOC 2010,
|
||||
with integration and fixes by Pere Pujal i Carabantes <pere@fornol.no-ip.org>
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ Various contributors (see below, and AUTHORS.txt)
|
|||
https://tuxpaint.org/
|
||||
|
||||
|
||||
2022.January.29 (0.9.29)
|
||||
2022.January.30 (0.9.29)
|
||||
* Improvements to "Stamp" tool:
|
||||
-----------------------------
|
||||
* Stamps may now be rotated.
|
||||
|
|
@ -40,6 +40,9 @@ https://tuxpaint.org/
|
|||
Attribution 3.0 Unported (CC BY 3.0), and conducted by,
|
||||
Philip Milman <https://pmmusic.pro/>)
|
||||
|
||||
("Fur" sound effected licensed as Creative Commons 0 (CC0 1.0)
|
||||
by https://freesound.org/people/Kawgrim/)
|
||||
|
||||
* [WIP] "Rivulet"; apply rivulets of water to the canvas
|
||||
- needs better icon
|
||||
- needs sound effect
|
||||
|
|
|
|||
BIN
magic/sounds/swirls_fur.ogg
Normal file
BIN
magic/sounds/swirls_fur.ogg
Normal file
Binary file not shown.
|
|
@ -7,7 +7,7 @@
|
|||
Inspired by "Night Sky Scene [Pen Parallax]" Scratch Project
|
||||
by -HexaScape- <https://scratch.mit.edu/users/-HexaScape->
|
||||
|
||||
Last updated: January 29, 2023
|
||||
Last updated: January 30, 2023
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
|
@ -56,7 +56,7 @@ char * swirl_icon_filenames[NUM_SWIRL_TOOLS] = {
|
|||
char * swirl_sfx_filenames[NUM_SWIRL_TOOLS] = {
|
||||
"swirls_circles.ogg",
|
||||
"swirls_rays.ogg",
|
||||
"swirls_rays.ogg" // FIXME
|
||||
"swirls_fur.ogg"
|
||||
};
|
||||
|
||||
int SWIRLS_NUM_STROKES_PER_DRAG_LINE[NUM_SWIRL_TOOLS] = {
|
||||
|
|
@ -264,7 +264,7 @@ void swirls_release(magic_api * api, int which,
|
|||
SDL_Surface * snapshot ATTRIBUTE_UNUSED,
|
||||
int x ATTRIBUTE_UNUSED, int y ATTRIBUTE_UNUSED,
|
||||
SDL_Rect * update_rect ATTRIBUTE_UNUSED) {
|
||||
if (snd_effects[which] != NULL)
|
||||
if (snd_effects[which] != NULL && which != SWIRL_TOOL_FUR)
|
||||
api->stopsound();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue