use hardcoded value instead of sizeof(tmap_info), since size depends on whether edito...
[btb/d2x.git] / main / sounds.h
1 /* $Id: sounds.h,v 1.6 2004-08-28 23:17:45 schaffner Exp $ */
2 /*
3 THE COMPUTER CODE CONTAINED HEREIN IS THE SOLE PROPERTY OF PARALLAX
4 SOFTWARE CORPORATION ("PARALLAX").  PARALLAX, IN DISTRIBUTING THE CODE TO
5 END-USERS, AND SUBJECT TO ALL OF THE TERMS AND CONDITIONS HEREIN, GRANTS A
6 ROYALTY-FREE, PERPETUAL LICENSE TO SUCH END-USERS FOR USE BY SUCH END-USERS
7 IN USING, DISPLAYING,  AND CREATING DERIVATIVE WORKS THEREOF, SO LONG AS
8 SUCH USE, DISPLAY OR CREATION IS FOR NON-COMMERCIAL, ROYALTY OR REVENUE
9 FREE PURPOSES.  IN NO EVENT SHALL THE END-USER USE THE COMPUTER CODE
10 CONTAINED HEREIN FOR REVENUE-BEARING PURPOSES.  THE END-USER UNDERSTANDS
11 AND AGREES TO THE TERMS HEREIN AND ACCEPTS THE SAME BY USE OF THIS FILE.
12 COPYRIGHT 1993-1999 PARALLAX SOFTWARE CORPORATION.  ALL RIGHTS RESERVED.
13 */
14
15 /*
16  *
17  * Numbering system for the sounds.
18  *
19  */
20
21
22 #ifndef _SOUNDS_H
23 #define _SOUNDS_H
24
25 #include "vecmat.h"
26 #include "digi.h"
27
28 //------------------- List of sound effects --------------------
29
30 #define SOUND_LASER_FIRED                       10
31
32 #define SOUND_WEAPON_HIT_DOOR                   27
33 #define SOUND_WEAPON_HIT_BLASTABLE              11
34 #define SOUND_BADASS_EXPLOSION                  11  // need something different for this if possible
35
36 #define SOUND_ROBOT_HIT_PLAYER                  17
37 #define SOUND_ROBOT_SUCKED_PLAYER               SOUND_ROBOT_HIT_PLAYER // Robot sucked energy from player.
38
39 #define SOUND_ROBOT_HIT                         20
40 #define SOUND_ROBOT_DESTROYED                   21
41 #define SOUND_VOLATILE_WALL_HIT                 21
42 #define SOUND_LASER_HIT_WATER                   232
43 #define SOUND_MISSILE_HIT_WATER                 233
44
45 #define SOUND_LASER_HIT_CLUTTER                 30
46 #define SOUND_CONTROL_CENTER_HIT                30
47 #define SOUND_EXPLODING_WALL                    31  // one long sound
48 #define SOUND_CONTROL_CENTER_DESTROYED          31
49
50 #define SOUND_CONTROL_CENTER_WARNING_SIREN      32
51 #define SOUND_MINE_BLEW_UP                      33
52
53 #define SOUND_FUSION_WARMUP                     34
54 #define SOUND_DROP_WEAPON                       39
55
56 #define SOUND_FORCEFIELD_BOUNCE_PLAYER          40
57 #define SOUND_FORCEFIELD_BOUNCE_WEAPON          41
58 #define SOUND_FORCEFIELD_HUM                    42
59 #define SOUND_FORCEFIELD_OFF                    43
60
61 #define SOUND_MARKER_HIT                        50
62 #define SOUND_BUDDY_MET_GOAL                    51
63
64 #define SOUND_REFUEL_STATION_GIVING_FUEL        62
65
66 #define SOUND_PLAYER_HIT_WALL                   70
67 #define SOUND_PLAYER_GOT_HIT                    71
68
69 #define SOUND_HOSTAGE_RESCUED                   91
70
71 #define SOUND_BRIEFING_HUM                      94
72 #define SOUND_BRIEFING_PRINTING                 95
73
74 #define SOUND_COUNTDOWN_0_SECS                  100 // countdown 100..114
75 #define SOUND_COUNTDOWN_13_SECS                 113
76 #define SOUND_COUNTDOWN_29_SECS                 114
77
78 #define SOUND_HUD_MESSAGE                       117
79 #define SOUND_HUD_KILL                          118
80
81 #define SOUND_HOMING_WARNING                    122 // Warning beep: You are being tracked by a missile! Borrowed from old repair center sounds.
82
83 #define SOUND_HUD_JOIN_REQUEST                  123
84 #define SOUND_HUD_BLUE_GOT_FLAG                 124
85 #define SOUND_HUD_RED_GOT_FLAG                  125
86 #define SOUND_HUD_YOU_GOT_FLAG                  126
87 #define SOUND_HUD_BLUE_GOT_GOAL                 127
88 #define SOUND_HUD_RED_GOT_GOAL                  128
89 #define SOUND_HUD_YOU_GOT_GOAL                  129
90
91 #define SOUND_LAVAFALL_HISS                     150 // under a lavafall
92 #define SOUND_VOLATILE_WALL_HISS                151 // need a hiss sound here.
93 #define SOUND_SHIP_IN_WATER                     152 // sitting (or moving though) water
94 #define SOUND_SHIP_IN_WATERFALL                 158 // under a waterfall
95
96 #define SOUND_GOOD_SELECTION_PRIMARY            153
97 #define SOUND_BAD_SELECTION                     156
98
99 #define SOUND_GOOD_SELECTION_SECONDARY          154 // Adam: New sound number here! MK, 01/30/95
100 #define SOUND_ALREADY_SELECTED                  155 // Adam: New sound number here! MK, 01/30/95
101
102 #define SOUND_CLOAK_ON                          160 // USED FOR WALL CLOAK
103 #define SOUND_CLOAK_OFF                         161 // sound when cloak goes away
104 #define SOUND_INVULNERABILITY_OFF               163 // sound when invulnerability goes away
105
106 #define SOUND_BOSS_SHARE_SEE                    183
107 #define SOUND_BOSS_SHARE_DIE                    185
108
109 #define ROBOT_SEE_SOUND_DEFAULT                 170
110 #define ROBOT_ATTACK_SOUND_DEFAULT              171
111 #define ROBOT_CLAW_SOUND_DEFAULT                190
112
113 #define SOUND_BIG_ENDLEVEL_EXPLOSION            SOUND_EXPLODING_WALL
114 #define SOUND_TUNNEL_EXPLOSION                  SOUND_EXPLODING_WALL
115
116 #define SOUND_DROP_BOMB                         26
117
118 #define SOUND_CHEATER                           200
119
120 #define SOUND_AMBIENT_LAVA                      222
121 #define SOUND_AMBIENT_WATER                     223
122
123 #define SOUND_CONVERT_ENERGY                    241
124 #define SOUND_WEAPON_STOLEN                     244
125
126 #define SOUND_LIGHT_BLOWNUP                     157
127
128 #define SOUND_WALL_REMOVED                      246 // Wall removed, probably due to a wall switch.
129 #define SOUND_AFTERBURNER_IGNITE                247
130 #define SOUND_AFTERBURNER_PLAY                  248
131
132 #define SOUND_SECRET_EXIT                       249
133
134 #define SOUND_WALL_CLOAK_ON                     SOUND_CLOAK_ON
135 #define SOUND_WALL_CLOAK_OFF                    SOUND_CLOAK_OFF
136
137 #define SOUND_SEISMIC_DISTURBANCE_START         251
138
139 #define SOUND_YOU_GOT_ORB                       84
140 #define SOUND_FRIEND_GOT_ORB                    85
141 #define SOUND_OPPONENT_GOT_ORB                  86
142 #define SOUND_OPPONENT_HAS_SCORED               87
143
144 //--------------------------------------------------------------
145 #define MAX_SOUNDS  254     // bad to have sound 255!
146
147 // I think it would be nice to have a scrape sound...
148 //#define SOUND_PLAYER_SCRAPE_WALL                72
149
150 extern ubyte Sounds[MAX_SOUNDS];
151 extern ubyte AltSounds[MAX_SOUNDS];
152
153 #endif /* _SOUNDS_H */