1 |
/* |
2 |
* This file is part of Deliantra, the Roguelike Realtime MMORPG. |
3 |
* |
4 |
* Copyright (©) 2017,2018 Marc Alexander Lehmann / the Deliantra team |
5 |
* Copyright (©) 2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016 Marc Alexander Lehmann / Robin Redeker / the Deliantra team |
6 |
* Copyright (©) 1992 Frank Tore Johansen |
7 |
* |
8 |
* Deliantra is free software: you can redistribute it and/or modify it under |
9 |
* the terms of the Affero GNU General Public License as published by the |
10 |
* Free Software Foundation, either version 3 of the License, or (at your |
11 |
* option) any later version. |
12 |
* |
13 |
* This program is distributed in the hope that it will be useful, |
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
* GNU General Public License for more details. |
17 |
* |
18 |
* You should have received a copy of the Affero GNU General Public License |
19 |
* and the GNU General Public License along with this program. If not, see |
20 |
* <http://www.gnu.org/licenses/>. |
21 |
* |
22 |
* The authors can be reached via e-mail to <support@deliantra.net> |
23 |
*/ |
24 |
|
25 |
#ifndef SOUNDS_H |
26 |
#define SOUNDS_H |
27 |
|
28 |
// gcfclient-style, very limited |
29 |
#define SOUND_NEW_PLAYER 0 |
30 |
#define SOUND_FIRE_ARROW 1 |
31 |
#define SOUND_LEARN_SPELL 2 |
32 |
#define SOUND_FUMBLE_SPELL 3 |
33 |
#define SOUND_WAND_POOF 4 |
34 |
#define SOUND_OPEN_DOOR 5 |
35 |
#define SOUND_PUSH_PLAYER 6 |
36 |
#define SOUND_PLAYER_HITS1 7 |
37 |
#define SOUND_PLAYER_HITS2 8 |
38 |
#define SOUND_PLAYER_HITS3 9 |
39 |
#define SOUND_PLAYER_HITS4 10 |
40 |
#define SOUND_PLAYER_IS_HIT1 11 |
41 |
#define SOUND_PLAYER_IS_HIT2 12 |
42 |
#define SOUND_PLAYER_IS_HIT3 13 |
43 |
#define SOUND_PLAYER_KILLS 14 |
44 |
#define SOUND_PET_IS_KILLED 15 |
45 |
#define SOUND_PLAYER_DIES 16 |
46 |
#define SOUND_OB_EVAPORATE 17 |
47 |
#define SOUND_OB_EXPLODE 18 |
48 |
#define SOUND_CLOCK 19 |
49 |
#define SOUND_TURN_HANDLE 20 |
50 |
#define SOUND_FALL_HOLE 21 |
51 |
#define SOUND_DRINK_POISON 22 |
52 |
#define SOUND_CAST_SPELL_0 23 |
53 |
/* ... + other sounds for spells : SOUND_CAST_SPELL_0 + spell type */ |
54 |
/* NROF_SOUNDS is defined in "defines.h". Don't forget to change this number |
55 |
* if you add or remove any sound. |
56 |
*/ |
57 |
|
58 |
// cfplus |
59 |
faceidx sound_find (const char *str); |
60 |
void sound_set (const char *str, faceidx face); |
61 |
|
62 |
#endif |
63 |
|