static void physics_out (struct anim *k) { struct pos hanged_pos; /* depressible floors */ clear_depressible_floor (k); get_hanged_pos (&k->hang_pos, k->f.dir, &hanged_pos); press_depressible_floor (&hanged_pos); }
static void physics_out (struct anim *k) { /* depressible floors */ if (k->i > 4) clear_depressible_floor (k); else keep_depressible_floor (k); /* sound */ if (k->j % 4 == 0) play_audio (&step_audio, NULL, k->id); }
static void physics_out (struct anim *g) { /* depressible floors */ clear_depressible_floor (g); /* sound */ if (g->i == 10 && g->current_lives > 0) g->sample = play_sample (scream_sample, g->f.c.room); }
static void physics_out (struct anim *k) { struct pos hanged_pos; /* depressible floors */ clear_depressible_floor (k); get_hanged_pos (&k->hang_pos, k->f.dir, &hanged_pos); press_depressible_floor (&hanged_pos); /* sound */ if (! k->reverse && k->i == 4 && k->key.shift && ! k->key.up && ! k->hang_limit) play_audio (&hit_wall_audio, NULL, k->id); }
static void physics_out (struct anim *k) { struct pos pmbo; /* depressible floors */ if (k->i == 8) clear_depressible_floor (k); else if (k->i == 11) update_depressible_floor (k, -11, -15); else if (k->i == 14) update_depressible_floor (k, 0, -6); else keep_depressible_floor (k); /* loose floor shaking */ survey (_mbo, pos, &k->f, NULL, &pmbo, NULL); if (k->i == 12) shake_loose_floor_row (&pmbo); /* sound */ if (k->i == 11 || k->i == 14) play_sample (step_sample, NULL, k->id); }