2014-03-15 16:59:03 +00:00
|
|
|
// SONIC ROBO BLAST 2
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
// Copyright (C) 1993-1996 by id Software, Inc.
|
|
|
|
// Copyright (C) 1998-2000 by DooM Legacy Team.
|
2023-03-31 12:53:31 +00:00
|
|
|
// Copyright (C) 1999-2023 by Sonic Team Junior.
|
2014-03-15 16:59:03 +00:00
|
|
|
//
|
|
|
|
// This program is free software distributed under the
|
|
|
|
// terms of the GNU General Public License, version 2.
|
|
|
|
// See the 'LICENSE' file for more details.
|
|
|
|
//-----------------------------------------------------------------------------
|
|
|
|
/// \file sounds.h
|
|
|
|
/// \brief Sound and music info
|
|
|
|
|
|
|
|
#ifndef __SOUNDS__
|
|
|
|
#define __SOUNDS__
|
|
|
|
|
|
|
|
// Customisable sounds for Skins
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
SKSSPIN,
|
|
|
|
SKSPUTPUT,
|
|
|
|
SKSPUDPUD,
|
|
|
|
SKSPLPAN1, // Ouchies
|
|
|
|
SKSPLPAN2,
|
|
|
|
SKSPLPAN3,
|
|
|
|
SKSPLPAN4,
|
|
|
|
SKSPLDET1, // Deaths
|
|
|
|
SKSPLDET2,
|
|
|
|
SKSPLDET3,
|
|
|
|
SKSPLDET4,
|
|
|
|
SKSPLVCT1, // Victories
|
|
|
|
SKSPLVCT2,
|
|
|
|
SKSPLVCT3,
|
|
|
|
SKSPLVCT4,
|
|
|
|
SKSTHOK,
|
|
|
|
SKSSPNDSH,
|
|
|
|
SKSZOOM,
|
|
|
|
SKSSKID,
|
|
|
|
SKSGASP,
|
|
|
|
SKSJUMP,
|
|
|
|
NUMSKINSOUNDS
|
|
|
|
} skinsound_t;
|
|
|
|
|
|
|
|
// free sfx for S_AddSoundFx()
|
2019-06-03 19:23:48 +00:00
|
|
|
#define NUMSFXFREESLOTS 1600 // Matches SOC Editor.
|
2014-03-15 16:59:03 +00:00
|
|
|
#define NUMSKINSFXSLOTS (MAXSKINS*NUMSKINSOUNDS)
|
|
|
|
|
|
|
|
//
|
|
|
|
// SoundFX struct.
|
|
|
|
//
|
|
|
|
typedef struct sfxinfo_struct sfxinfo_t;
|
|
|
|
|
|
|
|
struct sfxinfo_struct
|
|
|
|
{
|
|
|
|
// up to 6-character name
|
|
|
|
const char *name;
|
|
|
|
|
|
|
|
// Sfx singularity (only one at a time)
|
2014-03-18 17:56:54 +00:00
|
|
|
boolean singularity;
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
// Sfx priority
|
|
|
|
INT32 priority;
|
|
|
|
|
|
|
|
// pitch if a link
|
|
|
|
INT32 pitch;
|
|
|
|
|
|
|
|
// volume if a link
|
|
|
|
INT32 volume;
|
|
|
|
|
|
|
|
// sound data
|
|
|
|
void *data;
|
|
|
|
|
|
|
|
// length of sound data
|
|
|
|
size_t length;
|
|
|
|
|
|
|
|
// sound that can be remapped for a skin, indexes skins[].skinsounds
|
|
|
|
// 0 up to (NUMSKINSOUNDS-1), -1 = not skin specifc
|
|
|
|
INT32 skinsound;
|
|
|
|
|
|
|
|
// this is checked every second to see if sound
|
|
|
|
// can be thrown out (if 0, then decrement, if -1,
|
|
|
|
// then throw out, if > 0, then it is in use)
|
|
|
|
INT32 usefulness;
|
|
|
|
|
|
|
|
// lump number of sfx
|
|
|
|
lumpnum_t lumpnum;
|
2017-04-17 00:09:47 +00:00
|
|
|
|
|
|
|
// closed caption info/wiki table bait
|
|
|
|
char caption[32];
|
2014-03-15 16:59:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
// the complete set of sound effects
|
|
|
|
extern sfxinfo_t S_sfx[];
|
|
|
|
|
|
|
|
//
|
|
|
|
// Identifiers for all sfx in game.
|
|
|
|
//
|
|
|
|
|
|
|
|
// List of sounds (don't modify this comment!)
|
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
sfx_None,
|
|
|
|
|
|
|
|
// Skin Sounds
|
|
|
|
sfx_altdi1,
|
|
|
|
sfx_altdi2,
|
|
|
|
sfx_altdi3,
|
|
|
|
sfx_altdi4,
|
|
|
|
sfx_altow1,
|
|
|
|
sfx_altow2,
|
|
|
|
sfx_altow3,
|
|
|
|
sfx_altow4,
|
|
|
|
sfx_victr1,
|
|
|
|
sfx_victr2,
|
|
|
|
sfx_victr3,
|
|
|
|
sfx_victr4,
|
|
|
|
sfx_gasp,
|
|
|
|
sfx_jump,
|
|
|
|
sfx_pudpud,
|
|
|
|
sfx_putput,
|
|
|
|
sfx_spin,
|
|
|
|
sfx_spndsh,
|
|
|
|
sfx_thok,
|
|
|
|
sfx_zoom,
|
|
|
|
sfx_skid,
|
|
|
|
|
|
|
|
// Ambience/background objects/etc
|
|
|
|
sfx_ambint,
|
|
|
|
|
|
|
|
sfx_alarm,
|
|
|
|
sfx_buzz1,
|
|
|
|
sfx_buzz2,
|
|
|
|
sfx_buzz3,
|
|
|
|
sfx_buzz4,
|
|
|
|
sfx_crumbl,
|
|
|
|
sfx_fire,
|
|
|
|
sfx_grind,
|
|
|
|
sfx_laser,
|
|
|
|
sfx_mswing,
|
|
|
|
sfx_pstart,
|
|
|
|
sfx_pstop,
|
|
|
|
sfx_steam1,
|
|
|
|
sfx_steam2,
|
|
|
|
sfx_wbreak,
|
2018-04-28 14:13:44 +00:00
|
|
|
sfx_ambmac,
|
|
|
|
sfx_spsmsh,
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
sfx_rainin,
|
|
|
|
sfx_litng1,
|
|
|
|
sfx_litng2,
|
|
|
|
sfx_litng3,
|
|
|
|
sfx_litng4,
|
|
|
|
sfx_athun1,
|
|
|
|
sfx_athun2,
|
|
|
|
|
|
|
|
sfx_amwtr1,
|
|
|
|
sfx_amwtr2,
|
|
|
|
sfx_amwtr3,
|
|
|
|
sfx_amwtr4,
|
|
|
|
sfx_amwtr5,
|
|
|
|
sfx_amwtr6,
|
|
|
|
sfx_amwtr7,
|
|
|
|
sfx_amwtr8,
|
|
|
|
sfx_bubbl1,
|
|
|
|
sfx_bubbl2,
|
|
|
|
sfx_bubbl3,
|
|
|
|
sfx_bubbl4,
|
|
|
|
sfx_bubbl5,
|
|
|
|
sfx_floush,
|
|
|
|
sfx_splash,
|
|
|
|
sfx_splish,
|
|
|
|
sfx_wdrip1,
|
|
|
|
sfx_wdrip2,
|
|
|
|
sfx_wdrip3,
|
|
|
|
sfx_wdrip4,
|
|
|
|
sfx_wdrip5,
|
|
|
|
sfx_wdrip6,
|
|
|
|
sfx_wdrip7,
|
|
|
|
sfx_wdrip8,
|
|
|
|
sfx_wslap,
|
|
|
|
|
|
|
|
sfx_doora1,
|
|
|
|
sfx_doorb1,
|
|
|
|
sfx_doorc1,
|
|
|
|
sfx_doorc2,
|
|
|
|
sfx_doord1,
|
|
|
|
sfx_doord2,
|
|
|
|
sfx_eleva1,
|
|
|
|
sfx_eleva2,
|
|
|
|
sfx_eleva3,
|
|
|
|
sfx_elevb1,
|
|
|
|
sfx_elevb2,
|
|
|
|
sfx_elevb3,
|
|
|
|
|
|
|
|
sfx_ambin2,
|
|
|
|
sfx_lavbub,
|
|
|
|
sfx_rocks1,
|
|
|
|
sfx_rocks2,
|
|
|
|
sfx_rocks3,
|
|
|
|
sfx_rocks4,
|
|
|
|
sfx_rumbam,
|
|
|
|
sfx_rumble,
|
|
|
|
|
|
|
|
// Game objects, etc
|
|
|
|
sfx_appear,
|
|
|
|
sfx_bkpoof,
|
|
|
|
sfx_bnce1,
|
|
|
|
sfx_bnce2,
|
|
|
|
sfx_cannon,
|
|
|
|
sfx_cgot,
|
|
|
|
sfx_cybdth,
|
|
|
|
sfx_deton,
|
|
|
|
sfx_ding, // old sfx_appear sound
|
|
|
|
sfx_dmpain,
|
|
|
|
sfx_drown,
|
|
|
|
sfx_fizzle,
|
|
|
|
sfx_gbeep,
|
2017-04-17 00:09:47 +00:00
|
|
|
sfx_wepfir,
|
2014-03-15 16:59:03 +00:00
|
|
|
sfx_ghit,
|
|
|
|
sfx_gloop,
|
|
|
|
sfx_gspray,
|
|
|
|
sfx_gravch,
|
|
|
|
sfx_itemup,
|
|
|
|
sfx_jet,
|
|
|
|
sfx_jshard,
|
|
|
|
sfx_lose,
|
|
|
|
sfx_lvpass,
|
|
|
|
sfx_mindig,
|
|
|
|
sfx_mixup,
|
2015-12-31 16:38:23 +00:00
|
|
|
sfx_monton,
|
2014-03-15 16:59:03 +00:00
|
|
|
sfx_pogo,
|
|
|
|
sfx_pop,
|
|
|
|
sfx_rail1,
|
|
|
|
sfx_rail2,
|
|
|
|
sfx_rlaunc,
|
|
|
|
sfx_shield,
|
2016-10-17 17:01:43 +00:00
|
|
|
sfx_wirlsg,
|
|
|
|
sfx_forcsg,
|
2019-12-30 11:00:45 +00:00
|
|
|
sfx_frcssg,
|
2016-10-17 17:01:43 +00:00
|
|
|
sfx_elemsg,
|
|
|
|
sfx_armasg,
|
2016-12-26 13:02:26 +00:00
|
|
|
sfx_attrsg,
|
2014-03-15 16:59:03 +00:00
|
|
|
sfx_shldls,
|
|
|
|
sfx_spdpad,
|
|
|
|
sfx_spkdth,
|
|
|
|
sfx_spring,
|
|
|
|
sfx_statu1,
|
|
|
|
sfx_statu2,
|
|
|
|
sfx_strpst,
|
|
|
|
sfx_supert,
|
|
|
|
sfx_telept,
|
|
|
|
sfx_tink,
|
|
|
|
sfx_token,
|
|
|
|
sfx_trfire,
|
|
|
|
sfx_trpowr,
|
|
|
|
sfx_turhit,
|
|
|
|
sfx_wdjump,
|
2018-05-13 13:09:20 +00:00
|
|
|
sfx_shrpsp,
|
|
|
|
sfx_shrpgo,
|
2014-03-15 16:59:03 +00:00
|
|
|
sfx_mswarp,
|
|
|
|
sfx_mspogo,
|
2016-10-17 17:01:43 +00:00
|
|
|
sfx_boingf,
|
2017-03-23 19:11:22 +00:00
|
|
|
sfx_corkp,
|
|
|
|
sfx_corkh,
|
2019-09-25 13:36:20 +00:00
|
|
|
sfx_alart,
|
2019-09-26 16:06:29 +00:00
|
|
|
sfx_vwre,
|
2019-06-09 08:51:33 +00:00
|
|
|
sfx_bowl,
|
2019-06-09 11:48:07 +00:00
|
|
|
sfx_chuchu,
|
2019-07-08 12:26:40 +00:00
|
|
|
sfx_bsnipe,
|
2019-06-26 22:26:05 +00:00
|
|
|
sfx_sprong,
|
2019-08-25 21:05:38 +00:00
|
|
|
sfx_lvfal1,
|
2019-09-29 08:39:09 +00:00
|
|
|
sfx_pscree,
|
2019-12-30 11:00:45 +00:00
|
|
|
sfx_iceb,
|
|
|
|
sfx_shattr,
|
|
|
|
sfx_antiri,
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
// Menu, interface
|
|
|
|
sfx_chchng,
|
|
|
|
sfx_dwnind,
|
|
|
|
sfx_emfind,
|
|
|
|
sfx_flgcap,
|
|
|
|
sfx_menu1,
|
|
|
|
sfx_oneup,
|
|
|
|
sfx_ptally,
|
|
|
|
sfx_radio,
|
|
|
|
sfx_wepchg,
|
|
|
|
sfx_wtrdng,
|
|
|
|
sfx_zelda,
|
2019-12-30 11:00:45 +00:00
|
|
|
sfx_adderr,
|
|
|
|
sfx_notadd,
|
|
|
|
sfx_addfil,
|
2014-03-15 16:59:03 +00:00
|
|
|
|
|
|
|
// NiGHTS
|
|
|
|
sfx_ideya,
|
|
|
|
sfx_xideya, // Xmas
|
|
|
|
sfx_nbmper,
|
|
|
|
sfx_nxbump, // Xmas
|
2018-06-03 21:41:54 +00:00
|
|
|
sfx_ncchip,
|
2014-03-15 16:59:03 +00:00
|
|
|
sfx_ncitem,
|
|
|
|
sfx_nxitem, // Xmas
|
|
|
|
sfx_ngdone,
|
|
|
|
sfx_nxdone, // Xmas
|
|
|
|
sfx_drill1,
|
|
|
|
sfx_drill2,
|
|
|
|
sfx_ncspec,
|
|
|
|
sfx_nghurt,
|
|
|
|
sfx_ngskid,
|
|
|
|
sfx_hoop1,
|
|
|
|
sfx_hoop2,
|
|
|
|
sfx_hoop3,
|
|
|
|
sfx_hidden,
|
|
|
|
sfx_prloop,
|
2019-03-15 03:10:14 +00:00
|
|
|
sfx_timeup,
|
2018-06-03 21:41:54 +00:00
|
|
|
sfx_ngjump,
|
|
|
|
sfx_peww,
|
2014-03-15 16:59:03 +00:00
|
|
|
|
2018-04-28 14:13:44 +00:00
|
|
|
// Halloween
|
|
|
|
sfx_lntsit,
|
|
|
|
sfx_lntdie,
|
|
|
|
sfx_pumpkn,
|
|
|
|
sfx_ghosty,
|
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
// Mario
|
|
|
|
sfx_koopfr,
|
|
|
|
sfx_mario1,
|
|
|
|
sfx_mario2,
|
|
|
|
sfx_mario3,
|
|
|
|
sfx_mario4,
|
|
|
|
sfx_mario5,
|
|
|
|
sfx_mario6,
|
|
|
|
sfx_mario7,
|
|
|
|
sfx_mario8,
|
|
|
|
sfx_mario9,
|
|
|
|
sfx_marioa,
|
|
|
|
sfx_thwomp,
|
|
|
|
|
|
|
|
// Black Eggman
|
|
|
|
sfx_bebomb,
|
|
|
|
sfx_bechrg,
|
|
|
|
sfx_becrsh,
|
|
|
|
sfx_bedeen,
|
|
|
|
sfx_bedie1,
|
|
|
|
sfx_bedie2,
|
|
|
|
sfx_beeyow,
|
|
|
|
sfx_befall,
|
|
|
|
sfx_befire,
|
|
|
|
sfx_beflap,
|
|
|
|
sfx_begoop,
|
|
|
|
sfx_begrnd,
|
|
|
|
sfx_behurt,
|
|
|
|
sfx_bejet1,
|
|
|
|
sfx_belnch,
|
|
|
|
sfx_beoutb,
|
|
|
|
sfx_beragh,
|
|
|
|
sfx_beshot,
|
|
|
|
sfx_bestep,
|
|
|
|
sfx_bestp2,
|
|
|
|
sfx_bewar1,
|
|
|
|
sfx_bewar2,
|
|
|
|
sfx_bewar3,
|
|
|
|
sfx_bewar4,
|
|
|
|
sfx_bexpld,
|
|
|
|
sfx_bgxpld,
|
|
|
|
|
|
|
|
// Cy-Brak-Demon
|
|
|
|
sfx_beelec, // Electric barrier ambience
|
|
|
|
sfx_brakrl, // Rocket launcher
|
|
|
|
sfx_brakrx, // Rocket explodes
|
|
|
|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
sfx_s226,
|
|
|
|
sfx_s227,
|
|
|
|
sfx_s228,
|
|
|
|
sfx_s229,
|
|
|
|
sfx_s22a,
|
|
|
|
sfx_s22b,
|
|
|
|
sfx_s22c,
|
|
|
|
sfx_s22d,
|
|
|
|
sfx_s22e,
|
|
|
|
sfx_s22f,
|
|
|
|
sfx_s230,
|
|
|
|
sfx_s231,
|
|
|
|
sfx_s232,
|
|
|
|
sfx_s233,
|
|
|
|
sfx_s234,
|
|
|
|
sfx_s235,
|
|
|
|
sfx_s236,
|
|
|
|
sfx_s237,
|
|
|
|
sfx_s238,
|
|
|
|
sfx_s239,
|
|
|
|
sfx_s23a,
|
|
|
|
sfx_s23b,
|
|
|
|
sfx_s23c,
|
|
|
|
sfx_s23d,
|
|
|
|
sfx_s23e,
|
|
|
|
sfx_s23f,
|
|
|
|
sfx_s240,
|
|
|
|
sfx_s241,
|
|
|
|
sfx_s242,
|
|
|
|
sfx_s243,
|
|
|
|
sfx_s244,
|
|
|
|
sfx_s245,
|
|
|
|
sfx_s246,
|
|
|
|
sfx_s247,
|
|
|
|
sfx_s248,
|
|
|
|
sfx_s249,
|
|
|
|
sfx_s24a,
|
|
|
|
sfx_s24b,
|
|
|
|
sfx_s24c,
|
|
|
|
sfx_s24d,
|
|
|
|
sfx_s24e,
|
|
|
|
sfx_s24f,
|
|
|
|
sfx_s250,
|
|
|
|
sfx_s251,
|
|
|
|
sfx_s252,
|
|
|
|
sfx_s253,
|
|
|
|
sfx_s254,
|
|
|
|
sfx_s255,
|
|
|
|
sfx_s256,
|
|
|
|
sfx_s257,
|
|
|
|
sfx_s258,
|
|
|
|
sfx_s259,
|
|
|
|
sfx_s25a,
|
|
|
|
sfx_s25b,
|
|
|
|
sfx_s25c,
|
|
|
|
sfx_s25d,
|
|
|
|
sfx_s25e,
|
|
|
|
sfx_s25f,
|
|
|
|
sfx_s260,
|
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
// S3&K sounds
|
2019-12-30 11:00:45 +00:00
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
|
sfx_kc69,
|
|
|
|
sfx_kc6b,
|
|
|
|
sfx_kc6c,
|
|
|
|
sfx_kc6d,
|
|
|
|
sfx_kc6e,
|
|
|
|
|
2014-03-15 16:59:03 +00:00
|
|
|
// free slots for S_AddSoundFx() at run-time --------------------
|
|
|
|
sfx_freeslot0,
|
|
|
|
//
|
|
|
|
// ... 60 free sounds here ...
|
|
|
|
//
|
|
|
|
sfx_lastfreeslot = sfx_freeslot0 + NUMSFXFREESLOTS-1,
|
|
|
|
// end of freeslots ---------------------------------------------
|
|
|
|
|
|
|
|
sfx_skinsoundslot0,
|
|
|
|
sfx_lastskinsoundslot = sfx_skinsoundslot0 + NUMSKINSFXSLOTS-1,
|
|
|
|
NUMSFX
|
|
|
|
} sfxenum_t;
|
|
|
|
|
|
|
|
|
|
|
|
void S_InitRuntimeSounds(void);
|
2014-03-18 17:56:54 +00:00
|
|
|
sfxenum_t S_AddSoundFx(const char *name, boolean singular, INT32 flags, boolean skinsound);
|
Sound test is cool now!
https://cdn.discordapp.com/attachments/405336003239477249/641295998395613224/srb20042.gif
* Port MUSICDEFs from Kart.
* Safe to modify without modifying game, so we can put it in music.dta eventually.
* "Title", "AltTitle", "Authors" fields are self-evident.
* "Soundtestpage" and "Soundtestcond" are used to determine which sound test unlockable can play them (set with Unlockable's variable, just like Level Select).
* "Stoppingtime" and "BPM" both accept floats, and are used for presentation stuff on the sound test.
* Ironically, we don't share a single field name with them. Such is the case of differing foci, though, and I expect they'll change their implementation to match (since this is necessary for a sound test).
* Change how S_AddSoundFx works to avoid iterating through all of them, and to allow cv_soundtest to only scroll through defined slots (instead of the infinite wall of thok sounds when scrolling to the left).
* Change V_DrawFixedPatch to allow scaling on two seperate axes.
* Now called "V_DrawStretchyFixedPatch".
* "V_DrawFixedPatch" is a macro to V_DrawStretchyFixedPatch now (same scale on both axes).
* Available to Lua under v.drawStretched!
* Even works in GL!
* Bugfix: Add SR_PLAYER to SOC's menutypes_list.
Stay tuned for the merge request, where I put the onus on the Music Team to finish this off...
2019-11-05 16:23:46 +00:00
|
|
|
extern sfxenum_t sfxfree; // sound test and slotting
|
2014-03-15 16:59:03 +00:00
|
|
|
void S_RemoveSoundFx(sfxenum_t id);
|
|
|
|
|
|
|
|
#endif
|