Home
last modified time | relevance | path

Searched refs:otherEntityNum2 (Results 1 – 25 of 84) sorted by relevance

1234

/dports/games/openjk/OpenJK-07675e2/codemp/cgame/
H A Dcg_event.c137 attacker = ent->otherEntityNum2; in CG_Obituary()
1090 if ( g_vehWeaponInfo[es->otherEntityNum2].fG2MarkSize ) in CG_G2MarkEvent()
2156 if ( es->otherEntityNum2 >= 0 in CG_EntityEvent()
2157 && es->otherEntityNum2 < ENTITYNUM_NONE ) in CG_EntityEvent()
2164 else if ( es->otherEntityNum2 < MAX_CLIENTS ) in CG_EntityEvent()
2166 client = &cgs.clientinfo[es->otherEntityNum2]; in CG_EntityEvent()
2270 saberOwner = &cg_entities[es->otherEntityNum2]; in CG_EntityEvent()
2296 if ( es->otherEntityNum2 >= 0 in CG_EntityEvent()
2297 && es->otherEntityNum2 < ENTITYNUM_NONE ) in CG_EntityEvent()
2304 else if ( es->otherEntityNum2 < MAX_CLIENTS ) in CG_EntityEvent()
[all …]
H A Dcg_ents.c437 team = (cent->currentState.otherEntityNum2); in FX_DrawPortableShield()
1038 clEnt = &cg_entities[cent->currentState.otherEntityNum2]; in CG_General()
2493 if ( s1->otherEntityNum2 && s1->weapon != WP_SABER ) in CG_Missile()
2502 && (g_vehWeaponInfo[s1->otherEntityNum2].iShotFX in CG_Missile()
2503 || g_vehWeaponInfo[s1->otherEntityNum2].iModel != NULL_HANDLE) ) in CG_Missile()
2505 …trap->FX_PlayEffectID( g_vehWeaponInfo[s1->otherEntityNum2].iShotFX, cent->lerpOrigin, forward, -1… in CG_Missile()
2506 if ( g_vehWeaponInfo[s1->otherEntityNum2].iLoopSound ) in CG_Missile()
2513 if ( g_vehWeaponInfo[s1->otherEntityNum2].iModel == NULL_HANDLE ) in CG_Missile()
2520 …trap->FX_PlayEffectID( cgs.gameEffects[s1->otherEntityNum2], cent->lerpOrigin, forward, -1, -1, qf… in CG_Missile()
2625 if ( g_vehWeaponInfo[s1->otherEntityNum2].iModel != NULL_HANDLE ) in CG_Missile()
[all …]
H A Dcg_weapons.c1963 && cent->currentState.otherEntityNum2 in CG_VehicleWeaponImpact()
1964 && g_vehWeaponInfo[cent->currentState.otherEntityNum2].iImpactFX) in CG_VehicleWeaponImpact()
1969 …trap->FX_PlayEffectID( g_vehWeaponInfo[cent->currentState.otherEntityNum2].iImpactFX, cent->lerpOr… in CG_VehicleWeaponImpact()
/dports/games/openjk/OpenJK-07675e2/code/cgame/
H A Dcg_ents.cpp1127 …if ( s1->otherEntityNum2 && (g_vehWeaponInfo[s1->otherEntityNum2].iShotFX || g_vehWeaponInfo[s1->o… in CG_Missile()
1161 CG_PlayEffectID(g_vehWeaponInfo[s1->otherEntityNum2].iShotFX, cent->lerpOrigin, forward); in CG_Missile()
1162 if ( g_vehWeaponInfo[s1->otherEntityNum2].iLoopSound ) in CG_Missile()
1166 if (cgs.sound_precache[g_vehWeaponInfo[s1->otherEntityNum2].iLoopSound] != NULL_SFX) in CG_Missile()
1168 …, cent->lerpOrigin, velocity, cgs.sound_precache[g_vehWeaponInfo[s1->otherEntityNum2].iLoopSound] … in CG_Missile()
1172 if ( !g_vehWeaponInfo[s1->otherEntityNum2].iModel ) in CG_Missile()
1233 …if ( s1->otherEntityNum2 && g_vehWeaponInfo[s1->otherEntityNum2].iModel && cgs.model_draw[g_vehWea… in CG_Missile()
1234 ent.hModel = cgs.model_draw[g_vehWeaponInfo[s1->otherEntityNum2].iModel]; in CG_Missile()
H A Dcg_event.cpp584 ….gent->client->renderInfo.handRPoint, cg_entities[cent->currentState.otherEntityNum2].lerpOrigin ); in CG_EntityEvent()
588 ….gent->client->renderInfo.handLPoint, cg_entities[cent->currentState.otherEntityNum2].lerpOrigin ); in CG_EntityEvent()
H A Dcg_weapons.cpp2900 if (cent->currentState.otherEntityNum2 in CG_VehicleWeaponImpact()
2901 && g_vehWeaponInfo[cent->currentState.otherEntityNum2].iImpactFX) in CG_VehicleWeaponImpact()
2903 …CG_PlayEffectID(g_vehWeaponInfo[cent->currentState.otherEntityNum2].iImpactFX, cent->lerpOrigin, c… in CG_VehicleWeaponImpact()
/dports/games/iortcw/iortcw-1.51c/MP/code/game/
H A Dg_weapon.c840 bomb->s.otherEntityNum2 = ent->s.otherEntityNum2; in artillerySpotterThink()
950 bomb->s.otherEntityNum2 = 1; in Weapon_Artillery()
952 bomb->s.otherEntityNum2 = 0; in Weapon_Artillery()
1622 tent->s.otherEntityNum2 = attacker->s.number; in Bullet_Fire_Extended()
1710 tent->s.otherEntityNum2 = traceEnt->s.number; // force sparks in Bullet_Fire_Extended()
1712 tent->s.otherEntityNum2 = ENTITYNUM_NONE; in Bullet_Fire_Extended()
1865 m->s.otherEntityNum2 = 1; in weapon_grenadelauncher_fire()
1867 m->s.otherEntityNum2 = 0; in weapon_grenadelauncher_fire()
H A Dg_combat.c329 ent->s.otherEntityNum2 = killer; in player_die()
425 …flag->s.modelindex2 = self->s.otherEntityNum2; // JPW NERVE FIXME set player->otherentitynum2 with… in player_die()
428 self->s.otherEntityNum2 = 0; in player_die()
H A Dai_cast_func_attack.c122 ent->s.otherEntityNum2 = cs->bs->enemy; in AIFunc_ZombieFlameAttackStart()
211 ent->s.otherEntityNum2 = cs->bs->enemy; in AIFunc_ZombieAttack2Start()
H A Dbg_misc.c3464 ( item->giTag == PW_REDFLAG && ent->otherEntityNum2 /*ent->modelindex2*/ ) || in BG_CanItemBeGrabbed()
3470 ( item->giTag == PW_BLUEFLAG && ent->otherEntityNum2 /*ent->modelindex2*/ ) || in BG_CanItemBeGrabbed()
H A Dg_items.c914 …dropped->s.otherEntityNum2 = 1; // DHM - Nerve :: this is taking modelindex2's place for a dropped… in LaunchItem()
1037 …ent->s.otherEntityNum2 = 0; // DHM - Nerve :: takes modelindex2's place in signaling a dropped… in FinishSpawningItem()
H A Dg_misc.c1600 tent->s.otherEntityNum2 = activator->s.number; in Fire_Lead()
1617 tent->s.otherEntityNum2 = activator->s.number; in Fire_Lead()
1637 …tent->s.otherEntityNum2 = activator->s.number; // (SA) store the user id, so the client can posit… in Fire_Lead()
/dports/games/iortcw/iortcw-1.51c/MP/code/cgame/
H A Dcg_event.c109 attacker = ent->otherEntityNum2; in CG_Obituary()
2048 …CG_RailTrail( &cgs.clientinfo[ es->otherEntityNum2 ], es->origin2, es->pos.trBase, es->dmgFlags );… in CG_EntityEvent()
2087 …rBase, es->otherEntityNum, dir, qfalse, ENTITYNUM_WORLD, qfalse, es->otherEntityNum2, es->effect1T… in CG_EntityEvent()
2092 …s.trBase, es->otherEntityNum, dir, qtrue, es->eventParm, qfalse, es->otherEntityNum2, es->effect1T… in CG_EntityEvent()
2098 …es->pos.trBase, es->otherEntityNum, dir, qfalse, ENTITYNUM_WORLD, qfalse, es->otherEntityNum2, 0 ); in CG_EntityEvent()
2103 …t( es->pos.trBase, es->otherEntityNum, dir, qtrue, es->eventParm, qfalse, es->otherEntityNum2, 0 ); in CG_EntityEvent()
2109 … es->pos.trBase, es->otherEntityNum, dir, qfalse, ENTITYNUM_WORLD, qtrue, es->otherEntityNum2, 0 ); in CG_EntityEvent()
2115 …et( es->pos.trBase, es->otherEntityNum, dir, qtrue, es->eventParm, qtrue, es->otherEntityNum2, 0 ); in CG_EntityEvent()
H A Dcg_localents.c841 if ( cg_entities[le->ownerNum].currentState.otherEntityNum2 == cg.snap->ps.clientNum ) { in CG_AddClientCritter()
917 …CG_ClientDamage( cg_entities[le->ownerNum].currentState.otherEntityNum2, le->ownerNum, CLDMG_SPIRI… in CG_AddClientCritter()
/dports/games/iortcw/iortcw-1.51c/SP/code/game/
H A Dg_weapon.c940 tent->s.otherEntityNum2 = attacker->s.number; in Bullet_Fire_Extended()
1021 tent->s.otherEntityNum2 = traceEnt->s.number; // force sparks in Bullet_Fire_Extended()
1023 tent->s.otherEntityNum2 = ENTITYNUM_NONE; in Bullet_Fire_Extended()
1206 m->s.otherEntityNum2 = 1; in weapon_grenadelauncher_fire()
1208 m->s.otherEntityNum2 = 0; in weapon_grenadelauncher_fire()
H A Dbg_misc.c3947 ( item->giTag == PW_REDFLAG && ent->otherEntityNum2 /*ent->modelindex2*/ ) || in BG_CanItemBeGrabbed()
3953 ( item->giTag == PW_BLUEFLAG && ent->otherEntityNum2 /*ent->modelindex2*/ ) || in BG_CanItemBeGrabbed()
H A Dg_items.c847 …dropped->s.otherEntityNum2 = 1; // DHM - Nerve :: this is taking modelindex2's place for signa… in LaunchItem()
959 …ent->s.otherEntityNum2 = 0; // DHM - Nerve :: takes modelindex2's place in signaling a dropped… in FinishSpawningItem()
H A Dai_cast_func_attack.c120 ent->s.otherEntityNum2 = cs->enemyNum; in AIFunc_ZombieFlameAttackStart()
212 ent->s.otherEntityNum2 = cs->enemyNum; in AIFunc_ZombieAttack2Start()
H A Dg_combat.c390 ent->s.otherEntityNum2 = killer; in player_die()
467 …flag->s.modelindex2 = self->s.otherEntityNum2; // JPW NERVE FIXME set player->otherentitynum2 with… in player_die()
/dports/games/iortcw/iortcw-1.51c/SP/code/cgame/
H A Dcg_event.c108 attacker = ent->otherEntityNum2; in CG_Obituary()
1482 if ( cg_entities[le->ownerNum].currentState.otherEntityNum2 == cg.snap->ps.clientNum ) { in CG_SpawnSpirit()
2198 …CG_RailTrail( &cgs.clientinfo[ es->otherEntityNum2 ], es->origin2, es->pos.trBase, es->dmgFlags );… in CG_EntityEvent()
2237 …t( es->pos.trBase, es->otherEntityNum, dir, qfalse, ENTITYNUM_WORLD, qfalse, es->otherEntityNum2 ); in CG_EntityEvent()
2242 …llet( es->pos.trBase, es->otherEntityNum, dir, qtrue, es->eventParm, qfalse, es->otherEntityNum2 ); in CG_EntityEvent()
2248 …et( es->pos.trBase, es->otherEntityNum, dir, qfalse, ENTITYNUM_WORLD, qtrue, es->otherEntityNum2 ); in CG_EntityEvent()
2254 …ullet( es->pos.trBase, es->otherEntityNum, dir, qtrue, es->eventParm, qtrue, es->otherEntityNum2 ); in CG_EntityEvent()
H A Dcg_localents.c948 if ( cg_entities[le->ownerNum].currentState.otherEntityNum2 == cg.snap->ps.clientNum ) { in CG_AddClientCritter()
1065 …CG_ClientDamage( cg_entities[le->ownerNum].currentState.otherEntityNum2, le->ownerNum, CLDMG_SPIRI… in CG_AddClientCritter()
1075 …edScript( cgs.media.helgaGaspSound, NULL, cg_entities[le->ownerNum].currentState.otherEntityNum2 ); in CG_AddClientCritter()
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A Dbg_misc.c2809 s->otherEntityNum2 = ps->emplacedIndex; in BG_PlayerStateToEntityState()
2963 s->otherEntityNum2 = ps->emplacedIndex; in BG_PlayerStateToEntityStateExtraPolate()
/dports/games/openjk/OpenJK-07675e2/code/qcommon/
H A Dq_shared.h2396 int otherEntityNum2; member
2470 saved_game.write<int32_t>(otherEntityNum2); in sg_export()
2526 saved_game.read<int32_t>(otherEntityNum2); in sg_import()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/cgame/
H A Dcg_event.c49 attacker = ent->otherEntityNum2; in CG_Obituary()
/dports/games/ioquake3/ioquake3-1.36/code/qcommon/
H A Dq_shared.h1152 int otherEntityNum2; member

1234