5 SAMPLE_blank = 0, /* player walks on blank */
6 SAMPLE_roll, /* player pushes stone/bomb/nut */
7 SAMPLE_stone, /* stone hits ground */
8 SAMPLE_nut, /* nut hits ground */
9 SAMPLE_crack, /* stone hits nut */
10 SAMPLE_bug, /* bug moves */
11 SAMPLE_tank, /* tank moves */
12 SAMPLE_android, /* android places something */
13 SAMPLE_spring, /* spring hits ground/wall/bumper, stone hits spring */
14 SAMPLE_slurp, /* spring kills alien */
15 SAMPLE_eater, /* eater sits/eats diamond */
16 SAMPLE_alien, /* alien moves */
17 SAMPLE_collect, /* player collects diamond/emerald/dynamite/key/lenses/magnify */
18 SAMPLE_diamond, /* diamond/emerald hits ground */
19 SAMPLE_squash, /* stone squashes diamond, stone/emerald/diamond thru wonderwall */
20 SAMPLE_drip, /* drip hits ground */
21 SAMPLE_push, /* player pushes spring/balloon/android */
22 SAMPLE_dirt, /* player walks on dirt */
23 SAMPLE_acid, /* acid splashes */
24 SAMPLE_ball, /* ball places something */
25 SAMPLE_grow, /* growing wall grows */
26 SAMPLE_wonder, /* wonderwall moves */
27 SAMPLE_door, /* player goes thru door */
28 SAMPLE_exit, /* player goes in exit */
29 SAMPLE_dynamite, /* player places dynamite */
30 SAMPLE_tick, /* dynamite ticks */
31 SAMPLE_press, /* player presses wheel/wind/switch */
32 SAMPLE_wheel, /* wheel moves */
33 SAMPLE_boom, /* explosion */
34 SAMPLE_time, /* time runs out */
35 SAMPLE_die, /* player dies */
39 extern char play[SAMPLE_MAX];
40 extern int sound_pipe[2];
41 extern short *sound_data[SAMPLE_MAX];
42 extern long sound_length[SAMPLE_MAX];
44 #define MIXER_MAX 4 /* maximum number of samples we can play at once */
46 enum { AUDIO_ULAW = 0, AUDIO_U8 };