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