X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=16%2Fkeen456%2FKEEN4-6%2FKEEN4%2FAUDIOCK4.H;fp=16%2Fkeen456%2FKEEN4-6%2FKEEN4%2FAUDIOCK4.H;h=835b83e0f02a9344be94e02df74890fd891cade4;hp=0000000000000000000000000000000000000000;hb=7d1948e210bb7b58af0a0412e71f2a0a0a2010af;hpb=ebc247a0a67daa69a027f31d9d7d9572db765e56 diff --git a/16/keen456/KEEN4-6/KEEN4/AUDIOCK4.H b/16/keen456/KEEN4-6/KEEN4/AUDIOCK4.H new file mode 100755 index 00000000..835b83e0 --- /dev/null +++ b/16/keen456/KEEN4-6/KEEN4/AUDIOCK4.H @@ -0,0 +1,125 @@ +/* Reconstructed Commander Keen 4-6 Source Code + * Copyright (C) 2021 K1n9_Duk3 + * + * 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., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + */ + +#ifndef __AUDIO_H__ +#define __AUDIO_H__ + +//#include "VERSION.H" + +///////////////////////////////////////////////// +// +// MUSE Header for .CK4 +// +///////////////////////////////////////////////// + +#define NUMSOUNDS LASTSOUND +#define NUMSNDCHUNKS ((3*LASTSOUND)+LASTMUSIC) + +// +// Sound names & indexes +// +typedef enum { + SND_WORLDWALK1, + SND_WORLDWALK2, + SND_JUMP, + SND_LAND, + SND_KEENFIRE, + SND_WORMOUTHATTACK, + SND_6, + SND_POGOBOUNCE, + SND_GETPOINTS, + SND_GETAMMO, + SND_GETWATER, + SND_11, + SND_ENTERLEVEL, + SND_LEVELDONE, + SND_NOWAY, + SND_HELMETHIT, + SND_BOUNCE2, + SND_EXTRAKEEN, + SND_OPENDOOR, + SND_GETKEY, + SND_PLUMMET, + SND_USESWITCH, + SND_SQUISH, + SND_KEENDEAD, + SND_24, + SND_SHOTEXPLODE, + SND_SWIM1, + SND_SWIM2, + SND_BOUNCE1, + SND_EATBONUS, + SND_TREASUREEATERVANISH, + SND_LINDSEY, + SND_LICKATTACK, + SND_BERKELOIDATTACK, + SND_SHOWSTATUS, + SND_HIDESTATUS, + SND_BLUB, + SND_MINEEXPLODE, + SND_SPRITEFIRE, + SND_THUNDER, + SND_FIREBALLLAND, + SND_SHOOTDART, + SND_BURP, + SND_FLAGSPIN, + SND_FLAGLAND, + SND_MAKEFOOT, + SND_SLUGPOO, + KEENPADDLESND, + BALLBOUNCESND, + COMPPADDLESND, + COMPSCOREDSND, + KEENSCOREDSND, + LASTSOUND +} soundnames; + +#if LASTSOUND != 52 +#error bad sound enum! +#endif + +#define NOWAYSND SND_NOWAY + +// +// Base offsets +// +#define STARTPCSOUNDS 0 +#define STARTADLIBSOUNDS (STARTPCSOUNDS+NUMSOUNDS) +#define STARTDIGISOUNDS (STARTADLIBSOUNDS+NUMSOUNDS) +#define STARTMUSIC (STARTDIGISOUNDS+NUMSOUNDS) + +// +// Music names & indexes +// +typedef enum { + SHADOWS_MUS, + VEGGIES_MUS, + TOOHOT_MUS, + OASIS_MUS, + KICKPANT_MUS, + WONDER_MUS, + LASTMUSIC +} musicnames; + +///////////////////////////////////////////////// +// +// Thanks for playing with MUSE! +// +///////////////////////////////////////////////// + +#endif \ No newline at end of file