Home
last modified time | relevance | path

Searched refs:newobjp (Results 1 – 2 of 2) sorted by relevance

/dports/games/d2x/d2x-0.2.5/main/
H A Dai2.c2053 object *newobjp = &Objects[objnum]; in boss_spew_robot() local
2059 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()
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/
H A Dai.cpp2403 …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 …]