Searched refs:newobjp (Results 1 – 2 of 2) sorted by relevance
2053 object *newobjp = &Objects[objnum]; in boss_spew_robot() local2059 newobjp->ctype.ai_info.SKIP_AI_COUNT += force_val; in boss_spew_robot()2060 newobjp->mtype.phys_info.rotthrust.x = ((d_rand() - 16384) * force_val)/16; in boss_spew_robot()2061 newobjp->mtype.phys_info.rotthrust.y = ((d_rand() - 16384) * force_val)/16; in boss_spew_robot()2062 newobjp->mtype.phys_info.rotthrust.z = ((d_rand() - 16384) * force_val)/16; in boss_spew_robot()2063 newobjp->mtype.phys_info.flags |= PF_USES_THRUST; in boss_spew_robot()2066 vm_vec_sub(&newobjp->mtype.phys_info.velocity, pos, &objp->pos); in boss_spew_robot()2067 vm_vec_normalize_quick(&newobjp->mtype.phys_info.velocity); in boss_spew_robot()2068 vm_vec_scale(&newobjp->mtype.phys_info.velocity, F1_0*128); in boss_spew_robot()
2403 …const auto &&newobjp = create_gated_robot(Vclip, vcobjptr, segnum, Spew_bots[boss_index][(Max_spew… in boss_spew_robot()2406 if (newobjp != object_none) { in boss_spew_robot()2412 newobjp->ctype.ai_info.SKIP_AI_COUNT += force_val; in boss_spew_robot()2413 newobjp->mtype.phys_info.rotthrust.x = ((d_rand() - 16384) * force_val)/16; in boss_spew_robot()2414 newobjp->mtype.phys_info.rotthrust.y = ((d_rand() - 16384) * force_val)/16; in boss_spew_robot()2415 newobjp->mtype.phys_info.rotthrust.z = ((d_rand() - 16384) * force_val)/16; in boss_spew_robot()2416 newobjp->mtype.phys_info.flags |= PF_USES_THRUST; in boss_spew_robot()2419 vm_vec_sub(newobjp->mtype.phys_info.velocity, pos, objp.pos); in boss_spew_robot()2420 vm_vec_normalize_quick(newobjp->mtype.phys_info.velocity); in boss_spew_robot()2421 vm_vec_scale(newobjp->mtype.phys_info.velocity, F1_0*128); in boss_spew_robot()[all …]