47f4a458d6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9312 a1c6a512-1295-4272-9138-f99709370657
240 lines
9.1 KiB
C
240 lines
9.1 KiB
C
/* Emacs style mode select -*- C++ -*-
|
|
*-----------------------------------------------------------------------------
|
|
*
|
|
*
|
|
* PrBoom a Doom port merged with LxDoom and LSDLDoom
|
|
* based on BOOM, a modified and improved DOOM engine
|
|
* Copyright (C) 1999 by
|
|
* id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman
|
|
* Copyright (C) 1999-2000 by
|
|
* Jess Haas, Nicolas Kalkhof, Colin Phipps, Florian Schulze
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
|
|
* 02111-1307, USA.
|
|
*
|
|
* DESCRIPTION:
|
|
* Created by a sound utility.
|
|
* Kept as a sample, DOOM2 sounds.
|
|
*
|
|
*-----------------------------------------------------------------------------*/
|
|
|
|
#include "doomtype.h"
|
|
#include "sounds.h"
|
|
|
|
//
|
|
// Information about all the music
|
|
//
|
|
|
|
musicinfo_t S_music[] =
|
|
{
|
|
{ 0, 0, 0, 0 },
|
|
{ "e1m1", 0, 0, 0 },
|
|
{ "e1m2", 0, 0, 0 },
|
|
{ "e1m3", 0, 0, 0 },
|
|
{ "e1m4", 0, 0, 0 },
|
|
{ "e1m5", 0, 0, 0 },
|
|
{ "e1m6", 0, 0, 0 },
|
|
{ "e1m7", 0, 0, 0 },
|
|
{ "e1m8", 0, 0, 0 },
|
|
{ "e1m9", 0, 0, 0 },
|
|
{ "e2m1", 0, 0, 0 },
|
|
{ "e2m2", 0, 0, 0 },
|
|
{ "e2m3", 0, 0, 0 },
|
|
{ "e2m4", 0, 0, 0 },
|
|
{ "e2m5", 0, 0, 0 },
|
|
{ "e2m6", 0, 0, 0 },
|
|
{ "e2m7", 0, 0, 0 },
|
|
{ "e2m8", 0, 0, 0 },
|
|
{ "e2m9", 0, 0, 0 },
|
|
{ "e3m1", 0, 0, 0 },
|
|
{ "e3m2", 0, 0, 0 },
|
|
{ "e3m3", 0, 0, 0 },
|
|
{ "e3m4", 0, 0, 0 },
|
|
{ "e3m5", 0, 0, 0 },
|
|
{ "e3m6", 0, 0, 0 },
|
|
{ "e3m7", 0, 0, 0 },
|
|
{ "e3m8", 0, 0, 0 },
|
|
{ "e3m9", 0, 0, 0 },
|
|
{ "inter", 0, 0, 0 },
|
|
{ "intro", 0, 0, 0 },
|
|
{ "bunny", 0, 0, 0 },
|
|
{ "victor", 0, 0, 0 },
|
|
{ "introa", 0, 0, 0 },
|
|
{ "runnin", 0, 0, 0 },
|
|
{ "stalks", 0, 0, 0 },
|
|
{ "countd", 0, 0, 0 },
|
|
{ "betwee", 0, 0, 0 },
|
|
{ "doom", 0, 0, 0 },
|
|
{ "the_da", 0, 0, 0 },
|
|
{ "shawn", 0, 0, 0 },
|
|
{ "ddtblu", 0, 0, 0 },
|
|
{ "in_cit", 0, 0, 0 },
|
|
{ "dead", 0, 0, 0 },
|
|
{ "stlks2", 0, 0, 0 },
|
|
{ "theda2", 0, 0, 0 },
|
|
{ "doom2", 0, 0, 0 },
|
|
{ "ddtbl2", 0, 0, 0 },
|
|
{ "runni2", 0, 0, 0 },
|
|
{ "dead2", 0, 0, 0 },
|
|
{ "stlks3", 0, 0, 0 },
|
|
{ "romero", 0, 0, 0 },
|
|
{ "shawn2", 0, 0, 0 },
|
|
{ "messag", 0, 0, 0 },
|
|
{ "count2", 0, 0, 0 },
|
|
{ "ddtbl3", 0, 0, 0 },
|
|
{ "ampie", 0, 0, 0 },
|
|
{ "theda3", 0, 0, 0 },
|
|
{ "adrian", 0, 0, 0 },
|
|
{ "messg2", 0, 0, 0 },
|
|
{ "romer2", 0, 0, 0 },
|
|
{ "tense", 0, 0, 0 },
|
|
{ "shawn3", 0, 0, 0 },
|
|
{ "openin", 0, 0, 0 },
|
|
{ "evil", 0, 0, 0 },
|
|
{ "ultima", 0, 0, 0 },
|
|
{ "read_m", 0, 0, 0 },
|
|
{ "dm2ttl", 0, 0, 0 },
|
|
{ "dm2int", 0, 0, 0 }
|
|
};
|
|
|
|
|
|
//
|
|
// Information about all the sfx
|
|
//
|
|
|
|
sfxinfo_t S_sfx[] =
|
|
{
|
|
// S_sfx[0] needs to be a dummy for odd reasons.
|
|
{ "none", false, 0, 0, -1, -1, 0, 0, 0 },
|
|
|
|
{ "pistol", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "shotgn", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "sgcock", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "dshtgn", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "dbopn", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "dbcls", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "dbload", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "plasma", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "bfg", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "sawup", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "sawidl", false, 118, 0, -1, -1, 0, 0, 0 },
|
|
{ "sawful", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "sawhit", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "rlaunc", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "rxplod", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "firsht", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "firxpl", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "pstart", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "pstop", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "doropn", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "dorcls", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "stnmov", false, 119, 0, -1, -1, 0, 0, 0 },
|
|
{ "swtchn", false, 78, 0, -1, -1, 0, 0, 0 },
|
|
{ "swtchx", false, 78, 0, -1, -1, 0, 0, 0 },
|
|
{ "plpain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "dmpain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "popain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "vipain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "mnpain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "pepain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "slop", false, 78, 0, -1, -1, 0, 0, 0 },
|
|
{ "itemup", true, 78, 0, -1, -1, 0, 0, 0 },
|
|
{ "wpnup", true, 78, 0, -1, -1, 0, 0, 0 },
|
|
{ "oof", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
{ "telept", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "posit1", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "posit2", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "posit3", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "bgsit1", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "bgsit2", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "sgtsit", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "cacsit", true, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "brssit", true, 94, 0, -1, -1, 0, 0, 0 },
|
|
{ "cybsit", true, 92, 0, -1, -1, 0, 0, 0 },
|
|
{ "spisit", true, 90, 0, -1, -1, 0, 0, 0 },
|
|
{ "bspsit", true, 90, 0, -1, -1, 0, 0, 0 },
|
|
{ "kntsit", true, 90, 0, -1, -1, 0, 0, 0 },
|
|
{ "vilsit", true, 90, 0, -1, -1, 0, 0, 0 },
|
|
{ "mansit", true, 90, 0, -1, -1, 0, 0, 0 },
|
|
{ "pesit", true, 90, 0, -1, -1, 0, 0, 0 },
|
|
{ "sklatk", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "sgtatk", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "skepch", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "vilatk", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "claw", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "skeswg", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "pldeth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "pdiehi", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "podth1", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "podth2", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "podth3", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "bgdth1", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "bgdth2", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "sgtdth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "cacdth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "skldth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "brsdth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "cybdth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "spidth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "bspdth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "vildth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "kntdth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "pedth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "skedth", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "posact", true, 120, 0, -1, -1, 0, 0, 0 },
|
|
{ "bgact", true, 120, 0, -1, -1, 0, 0, 0 },
|
|
{ "dmact", true, 120, 0, -1, -1, 0, 0, 0 },
|
|
{ "bspact", true, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "bspwlk", true, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "vilact", true, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "noway", false, 78, 0, -1, -1, 0, 0, 0 },
|
|
{ "barexp", false, 60, 0, -1, -1, 0, 0, 0 },
|
|
{ "punch", false, 64, 0, -1, -1, 0, 0, 0 },
|
|
{ "hoof", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "metal", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "chgun", false, 64, &S_sfx[sfx_pistol], 150, 0, 0, 0, 0 },
|
|
{ "tink", false, 60, 0, -1, -1, 0, 0, 0 },
|
|
{ "bdopn", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "bdcls", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "itmbk", false, 100, 0, -1, -1, 0, 0, 0 },
|
|
{ "flame", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "flamst", false, 32, 0, -1, -1, 0, 0, 0 },
|
|
{ "getpow", false, 60, 0, -1, -1, 0, 0, 0 },
|
|
{ "bospit", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "boscub", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "bossit", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "bospn", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "bosdth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "manatk", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "mandth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "sssit", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "ssdth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "keenpn", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "keendt", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "skeact", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "skesit", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "skeatk", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "radio", false, 60, 0, -1, -1, 0, 0, 0 },
|
|
|
|
#ifdef DOGS
|
|
// killough 11/98: dog sounds
|
|
{ "dgsit", false, 98, 0, -1, -1, 0, 0, 0 },
|
|
{ "dgatk", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "dgact", false, 120, 0, -1, -1, 0, 0, 0 },
|
|
{ "dgdth", false, 70, 0, -1, -1, 0, 0, 0 },
|
|
{ "dgpain", false, 96, 0, -1, -1, 0, 0, 0 },
|
|
#endif
|
|
};
|
|
|