Home
last modified time | relevance | path

Searched refs:hitloc (Results 1 – 25 of 50) sorted by relevance

12

/dports/games/omega/omega/
H A Dmmelee.c55 void monster_melee(m,hitloc,bonus) in monster_melee() argument
57 char hitloc;
71 if (monster_hit(m,hitloc,bonus))
189 int monster_hit(m,hitloc,bonus) in monster_hit() argument
191 char hitloc;
198 if (hitloc == Player.meleestr[i+1]) {
H A Daux2.c688 int player_hit(hitmod,hitloc,m) in player_hit() argument
690 char hitloc;
699 if (hitloc == 'X') hitloc = random_loc();
706 if (hitloc == m->meleestr[i+1])
/dports/games/xonotic/Xonotic/source/qcsrc/server/
H A Dplayer.qh24 …this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force);
43 …this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force);
H A Dplayer.qc174 Violence_GibSplash_At(hitloc, force, 2, bound(0, damage, 200) / 16, this, attacker);
194 Violence_GibSplash_At(hitloc, force * -0.1, 3, 1, this, attacker);
196 Violence_GibSplash_At(hitloc, force * -0.2, 3, 1, this, attacker);
352 hitloc = ear1;
357 hitloc = ear2;
362 Violence_GibSplash_At(hitloc, force, 2, bound(0, damage, 200) / 16, this, attacker);
408 Violence_GibSplash_At(hitloc, force * -0.1, 3, 1, this, attacker);
410 Violence_GibSplash_At(hitloc, force * -0.2, 3, 1, this, attacker);
511 MUTATOR_CALLHOOK(PlayerDamaged, attacker, this, dh, da, hitloc, deathtype, damage);
635 this.event_damage(this, inflictor, attacker, excess, deathtype, hitloc, force);
[all …]
H A Dg_damage.qc619 … targ, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
894 farcent.origin = hitloc;
909 targ.event_damage (targ, inflictor, attacker, damage, deathtype, hitloc, force);
917 force = normalize(attacker.origin + attacker.view_ofs - hitloc) * mirrorforce;
996 vector hitloc;
1007 hitloc = nearest;
1056 hitloc = hitloc + nearest;
1058 hitloc = nearest;
1065 nearest = hitloc * (1 / max(1, hits));
H A Dg_damage.qh94 …targ, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force);
H A Ddefs.qh34 .void(entity this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, v…
231 …targ, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force);
H A Dg_hook.qc341 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/xonotic/Xonotic/source/qcsrc/common/turrets/
H A Dutil.qc28 vector hitloc, force, endpoint, dir;
77 hitloc = ent.railgunhitloc;
85 Damage (ent, this, this, f_dmg, deathtype, hitloc, force);
/dports/games/xonotic/Xonotic/source/qcsrc/common/triggers/misc/
H A Dlaser.qc64 vector hitloc;
90 hitloc = trace_endpos;
121 …this, ((this.dmg < 0) ? 100000 : (this.dmg * frametime)), DEATH_HURTTRIGGER.m_id, hitloc, '0 0 0');
/dports/games/xonotic/Xonotic/source/qcsrc/common/vehicles/vehicle/
H A Draptor_weapons.qc55 …this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force);
194 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/xonotic/Xonotic/source/qcsrc/server/weapons/
H A Dtracing.qc202 vector hitloc, force, endpoint, dir;
311 hitloc = ent.railgunhitloc;
321 Damage (ent, this, this, bdamage * f, deathtype, hitloc, ent.railgunforce * ffs);
324 //setorigin(explosion, hitloc);
/dports/games/openjk/OpenJK-07675e2/codeJK2/game/
H A DAI_Jedi.cpp1787 vec3_t hitloc, hitdir, diff, fwdangles={0,0,0}, right; in Jedi_SaberBlockGo() local
1799 VectorCopy( pHitloc, hitloc ); in Jedi_SaberBlockGo()
1822 VectorCopy( incoming->currentOrigin, hitloc ); in Jedi_SaberBlockGo()
1825 VectorSubtract( hitloc, self->client->renderInfo.eyePoint, diff ); in Jedi_SaberBlockGo()
1834 zdiff = hitloc[2] - self->client->renderInfo.eyePoint[2];// + Q_irand(-6,6); in Jedi_SaberBlockGo()
2360 vec3_t hitloc, saberTipOld, saberTip, top, bottom, axisPoint, saberPoint, dir;//saberBase, in Jedi_SaberBlock() local
2485 VectorMA( saberPoint, 200, dir, hitloc ); in Jedi_SaberBlock()
2511 ShortestLineSegBewteen2LineSegs( saberPoint, hitloc, bottom, top, saberHitPoint, hitloc ); in Jedi_SaberBlock()
2520 VectorCopy( tr.endpos, hitloc ); in Jedi_SaberBlock()
2525 …G_DebugLine( saberPoint, hitloc, FRAMETIME, WPDEBUG_SaberColor( NPC->enemy->client->ps.saberColor … in Jedi_SaberBlock()
[all …]
/dports/games/xonotic/Xonotic/source/qcsrc/common/monsters/
H A Dsv_monsters.qc967 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
971 Violence_GibSplash_At(hitloc, force, 2, bound(0, damage, 200) / 16, this, attacker);
975 Violence_GibSplash_At(hitloc, force, 2, bound(0, damage, 200) / 16, this, attacker);
1046 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
1088 Violence_GibSplash_At(hitloc, force, 2, bound(0, take, 200) / 16, this, attacker);
1090 Violence_GibSplash_At(hitloc, force * -0.1, 3, 1, this, attacker);
1092 Violence_GibSplash_At(hitloc, force * -0.2, 3, 1, this, attacker);
/dports/games/xonotic/Xonotic/source/qcsrc/common/triggers/func/
H A Dbreakable.qc45 …this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force);
248 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
H A Dbutton.qc86 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
H A Ddoor_secret.qc69 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/xonotic/Xonotic/source/qcsrc/common/mutators/mutator/physical_items/
H A Dsv_physical_items.qc82 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/openjk/OpenJK-07675e2/codemp/game/
H A DNPC_AI_Jedi.c2456 vec3_t hitloc, hitdir, diff, fwdangles={0,0,0}, right; in Jedi_SaberBlockGo() local
2468 VectorCopy( pHitloc, hitloc ); in Jedi_SaberBlockGo()
2491 VectorCopy( incoming->r.currentOrigin, hitloc ); in Jedi_SaberBlockGo()
2499 VectorSubtract( hitloc, self->client->renderInfo.eyePoint, diff ); in Jedi_SaberBlockGo()
2508 zdiff = hitloc[2] - self->client->renderInfo.eyePoint[2];// + Q_irand(-6,6); in Jedi_SaberBlockGo()
3090 vec3_t hitloc, saberTipOld, saberTip, top, bottom, axisPoint, saberPoint, dir;//saberBase, in Jedi_SaberBlock() local
3227 VectorMA( saberPoint, 200, dir, hitloc ); in Jedi_SaberBlock()
3252 ShortestLineSegBewteen2LineSegs( saberPoint, hitloc, bottom, top, saberHitPoint, hitloc ); in Jedi_SaberBlock()
3261 VectorCopy( tr.endpos, hitloc ); in Jedi_SaberBlock()
3267 G_TestLine(saberPoint, hitloc, 0x0000ff, FRAMETIME); in Jedi_SaberBlock()
[all …]
/dports/games/xonotic/Xonotic/source/qcsrc/common/mutators/mutator/overkill/
H A Drpc.qc30 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/openjk/OpenJK-07675e2/code/game/
H A DAI_Jedi.cpp2950 vec3_t hitloc, hitdir, diff, fwdangles={0,0,0}, right; in Jedi_SaberBlockGo() local
2984 VectorCopy( pHitloc, hitloc ); in Jedi_SaberBlockGo()
3009 VectorCopy( incoming->currentOrigin, hitloc ); in Jedi_SaberBlockGo()
3013 VectorSubtract( hitloc, self->client->renderInfo.eyePoint, diff ); in Jedi_SaberBlockGo()
3022 zdiff = hitloc[2] - self->client->renderInfo.eyePoint[2];// + Q_irand(-6,6); in Jedi_SaberBlockGo()
3079 … attack from height %4.2f, zdiff: %4.2f, rightdot: %4.2f\n", level.time, hitloc[2]-self->absmin[2]… in Jedi_SaberBlockGo()
3841 vec3_t hitloc, saberTipOld, saberTip, top, bottom, axisPoint, saberPoint, dir;//saberBase, in Jedi_SaberBlock() local
4003 VectorMA( saberPoint, 200, dir, hitloc ); in Jedi_SaberBlock()
4029 ShortestLineSegBewteen2LineSegs( saberPoint, hitloc, bottom, top, saberHitPoint, hitloc ); in Jedi_SaberBlock()
4038 VectorCopy( tr.endpos, hitloc ); in Jedi_SaberBlock()
[all …]
/dports/games/xonotic/Xonotic/source/qcsrc/common/triggers/trigger/
H A Dmulti.qc101 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/xonotic/Xonotic/source/qcsrc/common/monsters/monster/
H A Dshambler.qc86 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
/dports/games/xonotic/Xonotic/source/qcsrc/common/vehicles/
H A Dsv_vehicles.qc204 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
637 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
675 …this.vehicle_shieldent.angles = vectoangles(normalize(hitloc - (this.origin + this.vehicle_shielde…
/dports/games/xonotic/Xonotic/source/qcsrc/common/weapons/weapon/
H A Dseeker.qc215 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)
502 … this, entity inflictor, entity attacker, float damage, int deathtype, vector hitloc, vector force)

12