Searched refs:current_bank_adjusted (Results 1 – 4 of 4) sorted by relevance
952 int current_bank_adjusted = MAX_SHIP_PRIMARY_BANKS + current_bank; in ai_big_maybe_fire_weapons() local955 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_big_maybe_fire_weapons()957 swp->burst_counter[current_bank_adjusted]++; in ai_big_maybe_fire_weapons()961 swp->burst_counter[current_bank_adjusted] = Random::next(swip->burst_shots); in ai_big_maybe_fire_weapons()963 swp->burst_counter[current_bank_adjusted] = 0; in ai_big_maybe_fire_weapons()965 swp->burst_seed[current_bank_adjusted] = Random::next(); in ai_big_maybe_fire_weapons()968 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_big_maybe_fire_weapons()970 swp->burst_counter[current_bank_adjusted]++; in ai_big_maybe_fire_weapons()974 swp->burst_counter[current_bank_adjusted] = Random::next(swip->burst_shots); in ai_big_maybe_fire_weapons()976 swp->burst_counter[current_bank_adjusted] = 0; in ai_big_maybe_fire_weapons()[all …]
9327 int current_bank_adjusted = MAX_SHIP_PRIMARY_BANKS + current_bank; in ai_chase() local9330 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_chase()9332 swp->burst_counter[current_bank_adjusted]++; in ai_chase()9336 swp->burst_counter[current_bank_adjusted] = Random::next(swip->burst_shots); in ai_chase()9338 swp->burst_counter[current_bank_adjusted] = 0; in ai_chase()9340 swp->burst_seed[current_bank_adjusted] = Random::next(); in ai_chase()9343 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_chase()9345 swp->burst_counter[current_bank_adjusted]++; in ai_chase()9349 swp->burst_counter[current_bank_adjusted] = Random::next(swip->burst_shots); in ai_chase()9351 swp->burst_counter[current_bank_adjusted] = 0; in ai_chase()[all …]
796 int current_bank_adjusted = MAX_SHIP_PRIMARY_BANKS + current_bank; in ai_big_maybe_fire_weapons() local799 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_big_maybe_fire_weapons()801 swp->burst_counter[current_bank_adjusted]++; in ai_big_maybe_fire_weapons()805 swp->burst_counter[current_bank_adjusted] = myrand() % swip->burst_shots; in ai_big_maybe_fire_weapons()807 swp->burst_counter[current_bank_adjusted] = 0; in ai_big_maybe_fire_weapons()811 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_big_maybe_fire_weapons()813 swp->burst_counter[current_bank_adjusted]++; in ai_big_maybe_fire_weapons()817 swp->burst_counter[current_bank_adjusted] = myrand() % swip->burst_shots; in ai_big_maybe_fire_weapons()819 swp->burst_counter[current_bank_adjusted] = 0; in ai_big_maybe_fire_weapons()
8822 int current_bank_adjusted = MAX_SHIP_PRIMARY_BANKS + current_bank; in ai_chase() local8825 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_chase()8827 swp->burst_counter[current_bank_adjusted]++; in ai_chase()8831 swp->burst_counter[current_bank_adjusted] = myrand() % swip->burst_shots; in ai_chase()8833 swp->burst_counter[current_bank_adjusted] = 0; in ai_chase()8837 if (swip->burst_shots > swp->burst_counter[current_bank_adjusted]) { in ai_chase()8839 swp->burst_counter[current_bank_adjusted]++; in ai_chase()8843 swp->burst_counter[current_bank_adjusted] = myrand() % swip->burst_shots; in ai_chase()8845 swp->burst_counter[current_bank_adjusted] = 0; in ai_chase()