X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fmain.c;h=730b667fe0f00cd9bb6c35a59b9c73c72067f118;hb=69eca5c908598155bf3f5d1fa74e73ff9e2bbbc9;hp=5a47e63390dec7f2a52e87435e546772346507f3;hpb=ef8c5a2593702e86fb1566cfc25dda5f35df2ea0;p=rocksndiamonds.git diff --git a/src/main.c b/src/main.c index 5a47e633..730b667f 100644 --- a/src/main.c +++ b/src/main.c @@ -2758,7 +2758,34 @@ struct ElementInfo element_info[MAX_NUM_ELEMENTS] = } }; -struct NewGraphicInfo graphic_info[NUM_IMAGE_FILES]; + +/* ------------------------------------------------------------------------- */ +/* sound definitions */ +/* ------------------------------------------------------------------------- */ + +struct SoundActionProperties sound_action_properties[] = +{ + /* insert _all_ loop sound actions here */ + { ".waiting", ACTION_WAITING, TRUE }, + { ".moving", ACTION_MOVING, TRUE }, /* continuos moving */ + { ".active", ACTION_ACTIVE, TRUE }, + { ".growing", ACTION_GROWING, TRUE }, + { ".attacking", ACTION_ATTACKING, TRUE }, + + /* other (non-loop) sound actions are optional */ + { ".stepping", ACTION_MOVING, FALSE }, /* discrete moving */ + { ".digging", ACTION_DIGGING, FALSE }, + { ".collecting", ACTION_COLLECTING, FALSE }, + { ".passing", ACTION_PASSING, FALSE }, + { ".impact", ACTION_IMPACT, FALSE }, + { ".pushing", ACTION_PUSHING, FALSE }, + { ".activating", ACTION_ACTIVATING, FALSE }, + { NULL, 0, 0 }, +}; + + +struct GraphicInfo graphic_info[NUM_IMAGE_FILES]; +struct SoundInfo sound_info[NUM_SOUND_FILES]; /* ========================================================================= */