X-Git-Url: http://4ch.mooo.com/gitweb/?p=16.git;a=blobdiff_plain;f=16%2Fkeen456%2FKEEN4-6%2FKEEN6%2FAUDIOCK6.H;fp=16%2Fkeen456%2FKEEN4-6%2FKEEN6%2FAUDIOCK6.H;h=d3407ceb287ec8aab71a6e5726638395d25d0e04;hp=0000000000000000000000000000000000000000;hb=7d1948e210bb7b58af0a0412e71f2a0a0a2010af;hpb=ebc247a0a67daa69a027f31d9d7d9572db765e56 diff --git a/16/keen456/KEEN4-6/KEEN6/AUDIOCK6.H b/16/keen456/KEEN4-6/KEEN6/AUDIOCK6.H new file mode 100755 index 00000000..d3407ceb --- /dev/null +++ b/16/keen456/KEEN4-6/KEEN6/AUDIOCK6.H @@ -0,0 +1,136 @@ +/* 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 .CK6 +// +///////////////////////////////////////////////// + +#define NUMSOUNDS LASTSOUND +#define NUMSNDCHUNKS ((3*LASTSOUND)+LASTMUSIC) + +// +// Sound names & indexes +// +typedef enum { + SND_WORLDWALK1, // 0 + SND_WORLDWALK2, // 1 + SND_JUMP, // 2 + SND_LAND, // 3 + SND_KEENFIRE, // 4 + SND_DROPKEY, // 5 + SND_BLORBBOUNCE, // 6 + SND_POGOBOUNCE, // 7 + SND_GETPOINTS, // 8 + SND_GETAMMO, // 9 + SND_GETWATER, // 10 + SND_11, // 11 + SND_ENTERLEVEL, // 12 + SND_LEVELDONE, // 13 + SND_NOWAY, // 14 + SND_HELMETHIT, // 15 + SND_16, // 16 + SND_EXTRAKEEN, // 17 + SND_OPENDOOR, // 18 + SND_GETKEY, // 19 + SND_PLUMMET, // 20 + SND_USESWITCH, // 21 + SND_BIPSQUISH, // 22 + SND_KEENDEAD, // 23 + SND_BIPSHIPEXPLODE, // 24 + SND_SHOTEXPLODE, // 25 + SND_BOBBAJUMP, // 26 + SND_BOBBALAND, // 27 + SND_28, // 28 + SND_ENEMYSHOT, // 29 + SND_ENEMYSHOTEXPLODE, // 30 + SND_BOBBASHOT, // 31 + SND_32, // 32 + SND_GRABSATELLITE, // 33 + SND_SHOWSTATUS, // 34 + SND_HIDESTATUS, // 35 + SND_GIKJUMP, // 36 + SND_GIKLAND, // 37 + SND_ORBATRIXBOUNCE, // 38 + SND_39, // 39 + SND_40, // 40 + SND_TELEPORT, // 41 + SND_SHOTBOUNCE, // 42 + SND_FLAGSPIN, // 43 + SND_FLAGLAND, // 44 + SND_QUESTITEM, // 45 + KEENPADDLESND, // 46 + BALLBOUNCESND, // 47 + COMPPADDLESND, // 48 + COMPSCOREDSND, // 49 + KEENSCOREDSND, // 50 + SND_CEILICKATTACK, // 51 + SND_SMASH, // 52 + SND_THROWROPE, // 53 + SND_ROCKETFLY, // 54 + SND_CEILICKLAUGH, // 55 + SND_ROCKETSTART, // 56 + SND_GRABBITER, // 57 + SND_STOMP, // 58 + SND_FLAME, // 59 + LASTSOUND +} soundnames; + +#if LASTSOUND != 60 +#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 { + WONDER_MUS, + BRERTAR_MUS, + TOFUTURE_MUS, + FASTER_MUS, + SPACFUNK_MUS, + ALIENATE_MUS, + OMINOUS_MUS, + METAL_MUS, + MAMSNAKE_MUS, + LASTMUSIC +} musicnames; + +///////////////////////////////////////////////// +// +// Thanks for playing with MUSE! +// +///////////////////////////////////////////////// + +#endif \ No newline at end of file