1 /*
2   sounds.h
3 
4   For Tux Paint
5   List of sound effects.
6 
7   Copyright (c) 2002-2019 by Bill Kendrick and others
8   bill@newbreedsoftware.com
9   http://www.tuxpaint.org/
10 
11   This program is free software; you can redistribute it and/or modify
12   it under the terms of the GNU General Public License as published by
13   the Free Software Foundation; either version 2 of the License, or
14   (at your option) any later version.
15 
16   This program is distributed in the hope that it will be useful,
17   but WITHOUT ANY WARRANTY; without even the implied warranty of
18   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19   GNU General Public License for more details.
20 
21   You should have received a copy of the GNU General Public License
22   along with this program; if not, write to the Free Software
23   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24   (See COPYING.txt)
25 
26   June 15, 2002 - September 12, 2019
27   $Id$
28 */
29 
30 #ifndef SOUNDS_H
31 #define SOUNDS_H
32 
33 
34 /* Sounds available: */
35 
36 #define SND_NONE -1
37 
38 enum
39 {
40   SND_HARP,                     /* Begin / New */
41   SND_CLICK,                    /* Tool selections */
42   SND_BLEEP,                    /* Selector selection */
43   SND_BUBBLE,                   /* Color selection */
44   SND_STAMP,                    /* Using stamp tool */
45   SND_LINE_START,               /* Using line tool */
46   SND_LINE_END,
47   SND_SCROLL,                   /* Selector scroll buttons */
48   SND_PAINT1,                   /* Sound while painting */
49   SND_PAINT2,
50   SND_PAINT3,
51   SND_PAINT4,
52   SND_ERASER1,                  /* Sound while erasing */
53   SND_ERASER2,
54   SND_SAVE,                     /* Save sound effect */
55   SND_PROMPT,                   /* Prompt animation sound effect */
56   SND_FLIP,                     /* Magic flip */
57   SND_MIRROR,                   /* Magic mirror */
58   SND_KEYCLICK,                 /* Text tool keyboard click feedback */
59   SND_KEYCLICKRING,             /* Text tool keyboard click feedback with bell ring */
60   SND_RETURN,                   /* Text tool carriage return sound */
61   SND_SHRINK,                   /* Stamp shrink */
62   SND_GROW,                     /* Stamp grow */
63   SND_ITALIC_ON,                /* Italic on */
64   SND_ITALIC_OFF,               /* Italic off */
65   SND_AREYOUSURE,               /* "Are you sure?" */
66   SND_YOUCANNOT,                /* "No no no!" */
67   SND_TUXOK,                    /* "Ok" */
68   SND_THICK,
69   SND_THIN,
70   SND_FILL,
71   NUM_SOUNDS
72 };
73 
74 
75 /* Sound file filenames: */
76 
77 /* FIXME: These should be moved to a .c file (sounds.c?) and extern'd here, to
78    avoid being stored multiple times, and to avoid compiler warning
79    -bjk 2007.07.17 */
80 
81 static const char *sound_fnames[NUM_SOUNDS] = {
82   DATA_PREFIX "sounds/harp.wav",
83   DATA_PREFIX "sounds/click.wav",
84   DATA_PREFIX "sounds/bleep.wav",
85   DATA_PREFIX "sounds/bubble.wav",
86   DATA_PREFIX "sounds/stamp.wav",
87   DATA_PREFIX "sounds/line_start.wav",
88   DATA_PREFIX "sounds/line_end.wav",
89   DATA_PREFIX "sounds/scroll.wav",
90   DATA_PREFIX "sounds/paint1.wav",
91   DATA_PREFIX "sounds/paint2.wav",
92   DATA_PREFIX "sounds/paint3.wav",
93   DATA_PREFIX "sounds/paint4.wav",
94   DATA_PREFIX "sounds/eraser1.wav",
95   DATA_PREFIX "sounds/eraser2.wav",
96   DATA_PREFIX "sounds/save.wav",
97   DATA_PREFIX "sounds/prompt.wav",
98   DATA_PREFIX "sounds/flip.wav",
99   DATA_PREFIX "sounds/mirror.wav",
100   DATA_PREFIX "sounds/keyclick.wav",
101   DATA_PREFIX "sounds/typewriterbell.wav",
102   DATA_PREFIX "sounds/return.wav",
103   DATA_PREFIX "sounds/shrink.wav",
104   DATA_PREFIX "sounds/grow.wav",
105   DATA_PREFIX "sounds/italic_on.wav",
106   DATA_PREFIX "sounds/italic_off.wav",
107   DATA_PREFIX "sounds/areyousure.wav",
108   DATA_PREFIX "sounds/youcannot.wav",
109   DATA_PREFIX "sounds/tuxok.wav",
110   DATA_PREFIX "sounds/thick.wav",
111   DATA_PREFIX "sounds/thin.wav",
112   DATA_PREFIX "sounds/fill.wav"
113 };
114 
115 #endif
116