| 1 | /* |
| 2 | * Descent 3 |
| 3 | * Copyright (C) 2024 Parallax Software |
| 4 | * |
| 5 | * This program is free software: you can redistribute it and/or modify |
| 6 | * it under the terms of the GNU General Public License as published by |
| 7 | * the Free Software Foundation, either version 3 of the License, or |
| 8 | * (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, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | --- HISTORICAL COMMENTS FOLLOW --- |
| 19 | |
| 20 | * $Logfile: /DescentIII/main/sounds.h $ |
| 21 | * $Revision: 22 $ |
| 22 | * $Date: 5/08/99 3:30p $ |
| 23 | * $Author: Matt $ |
| 24 | * |
| 25 | * Constants for sounds |
| 26 | * |
| 27 | * $Log: /DescentIII/main/sounds.h $ |
| 28 | * |
| 29 | * 22 5/08/99 3:30p Matt |
| 30 | * Added weapon-hit-water sound. |
| 31 | * |
| 32 | * 21 4/30/99 3:28p Matt |
| 33 | * Weapons now make a special sound when colliding with lava & volatile |
| 34 | * surfaces, instead of the standard hit-wall sound. |
| 35 | * |
| 36 | * 20 4/29/99 3:50p Matt |
| 37 | * Added hiss sound for volatile surface damage |
| 38 | * |
| 39 | * 19 4/29/99 1:10p Jeff |
| 40 | * added sounds for inventory and countermeasure switch |
| 41 | * |
| 42 | * 18 4/11/99 5:03p Matt |
| 43 | * Changed static sound remapping code to use simpler & more |
| 44 | * space-efficient scheme. Also deleted an unused entry in the static |
| 45 | * sound list. |
| 46 | * |
| 47 | * 17 3/04/99 10:57a Matt |
| 48 | * Added goal message notification sound |
| 49 | * |
| 50 | * 16 2/22/99 10:24p Matt |
| 51 | * Added a static sound for debris explosion |
| 52 | * |
| 53 | * 15 2/18/99 2:49p Matt |
| 54 | * Added goal complete sound |
| 55 | * |
| 56 | * 14 11/23/98 1:50p Jason |
| 57 | * added thruster sounds |
| 58 | * |
| 59 | * 13 10/21/98 4:53p Jeff |
| 60 | * added some sounds to sounds array |
| 61 | * |
| 62 | * 12 10/20/98 2:09p Jeff |
| 63 | * added 2 more sounds to static sounds |
| 64 | * |
| 65 | * 11 10/20/98 12:49p Matt |
| 66 | * Removed obsolete sounds from static sound list. |
| 67 | * |
| 68 | * 10 10/19/98 7:18p Matt |
| 69 | * Added system to support different types of damage to the player and |
| 70 | * have these different types make different sounds. |
| 71 | * |
| 72 | * 9 10/14/98 1:02p Jason |
| 73 | * fixed FindSoundName issues |
| 74 | * |
| 75 | * 8 9/21/98 8:19p Chris |
| 76 | * Improved volatile and forcefield hits |
| 77 | * |
| 78 | * 7 9/18/98 1:27p Matt |
| 79 | * Added afterburner release sound |
| 80 | * |
| 81 | * 6 5/22/98 11:59a Chris |
| 82 | * Fixed improper uses of FindSoundName and made the proper static sounds |
| 83 | * |
| 84 | * 5 5/03/98 10:22p Matt |
| 85 | * Added breaking glass sound |
| 86 | * |
| 87 | * 4 2/16/98 4:55p Chris |
| 88 | * Added default sounds for explosions |
| 89 | * |
| 90 | * 3 12/22/97 6:19p Chris |
| 91 | * Moved weapon battery firing sound off the projectile (weapon) and into |
| 92 | * the weapon battery. |
| 93 | * |
| 94 | * 2 7/15/97 7:29p Chris |
| 95 | * Added a sound for helicopter blades. |
| 96 | * |
| 97 | * 1 5/13/97 10:32p Matt |
| 98 | * Symbols for sounds referenced in code |
| 99 | * |
| 100 | * $NoKeywords: $ |
| 101 | */ |
| 102 | |
| 103 | // THESE SOUNDS MUST MATCH THE Static_sound_names[] array in SoundLoad.cpp |
| 104 | |
| 105 | #define SOUND_NONE_INDEX 0 // the not-defined sound |
| 106 | #define SOUND_REFUELING 1 |
| 107 | #define SOUND_ROBOT_EXPLODE_1 2 |
| 108 | #define SOUND_ROBOT_EXPLODE_2 3 |
| 109 | #define SOUND_BUILDING_EXPLODE 4 |
| 110 | #define SOUND_BREAKING_GLASS 5 |
| 111 | #define SOUND_MELEE_HIT_0 6 |
| 112 | #define SOUND_MELEE_HIT_1 7 |
| 113 | #define SOUND_AFTERBURNER 8 |
| 114 | #define SOUND_ENERGY_DRAIN 9 |
| 115 | #define SOUND_MISSLE_LOCK 10 |
| 116 | #define SOUND_POWERUP_PICKUP 11 |
| 117 | #define SOUND_DO_NOT_HAVE_IT 12 |
| 118 | #define SOUND_CHANGE_PRIMARY 13 |
| 119 | #define SOUND_CHANGE_SECONDARY 14 |
| 120 | #define SOUND_PLAYER_HIT_WALL 15 |
| 121 | #define SOUND_AFTERBURNER_TAIL 16 |
| 122 | #define SOUND_FORCEFIELD_BOUNCE 17 |
| 123 | #define SOUND_HEADLIGHT 18 |
| 124 | #define SOUND_CHEATER 19 |
| 125 | #define SOUND_ENERGY_CONVERTER 20 |
| 126 | #define SOUND_COCKPIT 21 |
| 127 | #define SOUND_METALLIC_DOOR_HIT 22 |
| 128 | #define SOUND_WALL_FADE 23 |
| 129 | #define SOUND_RAINDROP 24 |
| 130 | #define SOUND_LIGHTNING 25 |
| 131 | #define SOUND_HIT_BY_ENERGY_WEAPON 26 |
| 132 | #define SOUND_HIT_BY_MATTER_WEAPON 27 |
| 133 | #define SOUND_HIT_BY_CONCUSSIVE_FORCE 28 |
| 134 | #define SOUND_PLAYER_BURNING 29 |
| 135 | #define SOUND_MENU_SOUND_CLICK 30 |
| 136 | #define SOUND_HOSTAGE_PICKUP 31 |
| 137 | #define SOUND_BRIEF_STARTUP 32 |
| 138 | #define SOUND_BRIEF_STATIC 33 |
| 139 | #define SOUND_BRIEF_MONITOROFF 34 |
| 140 | #define SOUND_BRIEF_RUNNING 35 |
| 141 | #define SOUND_BRIEF_BULLB 36 |
| 142 | #define SOUND_BRIEF_TYPE 37 |
| 143 | #define SOUND_SHIP_IDLE 38 |
| 144 | #define SOUND_SHIP_FORWARD_THRUST 39 |
| 145 | #define SOUND_SHIP_FORWARD_RELEASE 40 |
| 146 | #define SOUND_GOAL_COMPLETE 41 |
| 147 | #define SOUND_DEBRIS_EXPLODE 42 |
| 148 | #define SOUND_GAME_MESSAGE 43 |
| 149 | #define SOUND_CHANGE_COUNTERMEASURE 44 |
| 150 | #define SOUND_CHANGE_INVENTORY 45 |
| 151 | #define SOUND_VOLATILE_HISS 46 |
| 152 | #define SOUND_WEAPON_HIT_LAVA 47 |
| 153 | #define SOUND_WEAPON_HIT_WATER 48 |
| 154 | #define NUM_STATIC_SOUNDS 49 // update this every time you add a new sound |