Debian Codegraph @

src/sndmast.h

raw symbols SCIP
1 /*
2 * OpenTyrian: A modern cross-platform port of Tyrian
3 * Copyright (C) 2007-2009 The OpenTyrian Development Team
4 *
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * as published by the Free Software Foundation; either version 2
8 * of the License, or (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19 #ifndef SNDMAST_H
20 #define SNDMAST_H
21
22 #include "opentyr.h"
23
24 #define SFX_COUNT 29
25 #define VOICE_COUNT 9
26 #define SOUND_COUNT (SFX_COUNT + VOICE_COUNT)
27
28 enum
29 {
30 S_NONE = 0,
31 S_WEAPON_1 = 1,
32 S_WEAPON_2 = 2,
33 S_ENEMY_HIT = 3,
34 S_EXPLOSION_4 = 4,
35 S_WEAPON_5 = 5,
36 S_WEAPON_6 = 6,
37 S_WEAPON_7 = 7,
38 S_SELECT = 8,
39 S_EXPLOSION_8 = 8,
40 S_EXPLOSION_9 = 9,
41 S_WEAPON_10 = 10,
42 S_EXPLOSION_11 = 11,
43 S_EXPLOSION_12 = 12,
44 S_WEAPON_13 = 13,
45 S_WEAPON_14 = 14,
46 S_WEAPON_15 = 15,
47 S_SPRING = 16,
48 S_WARNING = 17,
49 S_ITEM = 18,
50 S_HULL_HIT = 19,
51 S_MACHINE_GUN = 20,
52 S_SOUL_OF_ZINGLON = 21,
53 S_EXPLOSION_22 = 22,
54 S_CLINK = 23,
55 S_CLICK = 24,
56 S_WEAPON_25 = 25,
57 S_WEAPON_26 = 26,
58 S_SHIELD_HIT = 27,
59 S_CURSOR = 28,
60 S_POWERUP = 29,
61 V_CLEARED_PLATFORM = 30, // "Cleared enemy platform."
62 V_BOSS = 31, // "Large enemy approaching."
63 V_ENEMIES = 32, // "Enemies ahead."
64 V_GOOD_LUCK = 33, // "Good luck."
65 V_LEVEL_END = 34, // "Level completed."
66 V_DANGER = 35, // "Danger."
67 V_SPIKES = 36, // "Warning: spikes ahead."
68 V_DATA_CUBE = 37, // "Data acquired."
69 V_ACCELERATE = 38, // "Unexplained speed increase."
70 };
71
72 extern const char soundTitle[SOUND_COUNT][9];
73 extern const JE_byte windowTextSamples[9];
74
75 #endif /* SNDMAST_H */