X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fgame_em%2Fsample.h;h=e6bfa36940ee5e0d27f8b8f53e82717aa7f1a435;hb=9583e9c55b889974e0df9a8ca1930efdf29bda29;hp=91ff045372a9aa8de1905c636fa1bce39b00fb6c;hpb=7d171d862abdecced79f60535b49a686386cefe1;p=rocksndiamonds.git diff --git a/src/game_em/sample.h b/src/game_em/sample.h index 91ff0453..e6bfa369 100644 --- a/src/game_em/sample.h +++ b/src/game_em/sample.h @@ -15,9 +15,9 @@ enum SAMPLE_slurp, /* spring kills alien */ SAMPLE_eater, /* eater sits/eats diamond */ SAMPLE_alien, /* alien moves */ - SAMPLE_collect, /* player collects diamond/emerald/dynamite/key/lenses/magnify */ + SAMPLE_collect, /* player collects object */ SAMPLE_diamond, /* diamond/emerald hits ground */ - SAMPLE_squash, /* stone squashes diamond, stone/emerald/diamond thru wonderwall */ + SAMPLE_squash, /* stone squashes diamond; object falls thru wonderwall */ SAMPLE_drip, /* drip hits ground */ SAMPLE_push, /* player pushes spring/balloon/android */ SAMPLE_dirt, /* player walks on dirt */ @@ -34,9 +34,12 @@ enum SAMPLE_boom, /* explosion */ SAMPLE_time, /* time runs out */ SAMPLE_die, /* player dies */ + SAMPLE_MAX }; +extern void play_sound(int, int, int); + extern char play[SAMPLE_MAX]; extern int sound_pipe[2]; extern short *sound_data[SAMPLE_MAX];