Home
last modified time | relevance | path

Searched refs:fromweap (Results 1 – 8 of 8) sorted by relevance

/dports/games/iortcw/iortcw-1.51c/SP/code/cgame/
H A Dcg_weapons.c6062 int fromweap; in CG_Bullet() local
6063 fromweap = cg_entities[sourceEntityNum].currentState.weapon; in CG_Bullet()
6065 if ( !fromweap || cg_entities[sourceEntityNum].currentState.eFlags & EF_MG42_ACTIVE ) { // mounted in CG_Bullet()
6066 fromweap = WP_MP40; in CG_Bullet()
6090 …CG_MissileHitWall( fromweap, 0, end, tmp, trace.surfaceFlags ); // sparks // (SA) modified to send… in CG_Bullet()
6098 CG_MissileHitWall( fromweap, 2, trace.endpos, trace.plane.normal, trace.surfaceFlags ); in CG_Bullet()
6101 …CG_MissileHitWall( fromweap, 1, end, normal, trace.surfaceFlags ); // smoke puff // (SA) modifie… in CG_Bullet()
/dports/games/iortcw/iortcw-1.51c/MP/code/cgame/
H A Dcg_weapons.c6169 int fromweap; in CG_Bullet() local
6170 fromweap = cg_entities[sourceEntityNum].currentState.weapon; in CG_Bullet()
6172 if ( !fromweap || cg_entities[sourceEntityNum].currentState.eFlags & EF_MG42_ACTIVE ) { // mounted in CG_Bullet()
6173 fromweap = WP_MP40; in CG_Bullet()
6194 CG_MissileHitWall( fromweap, 2, trace2.endpos, trace2.plane.normal, trace2.surfaceFlags ); in CG_Bullet()
6199 …CG_MissileHitWall( fromweap, 1, end, normal, trace.surfaceFlags ); // smoke puff // (SA) modifie… in CG_Bullet()
/dports/games/redeclipse16/base-1.6.0/src/game/
H A Dgame.h1472 int schan, id, weap, fromweap, fromflags, value, flags, hitflags; member
1499 schan = id = weap = fromweap = fromflags = value = -1; in reset()
1618 …e(const vec &from, const vec &to, bool local, gameent *d, int type, int fromweap, int fromflags, i…
H A Dprojs.cpp1087 …projent *create(const vec &from, const vec &to, bool local, gameent *d, int type, int fromweap, in… in create() argument
1112 proj.fromweap = fromweap; in create()
1771 …ri9i", proj.owner->clientnum, lastmillis-game::maptime, proj.weap, proj.fromweap, proj.fromflags, … in destroy()
2382 …i9iv", proj.owner->clientnum, lastmillis-game::maptime, proj.weap, proj.fromweap, proj.fromflags, … in update()
H A Dserver.cpp108 int id, weap, fromweap, fromflags, flags, radial, scale; member
4133 …void dodamage(clientinfo *m, clientinfo *v, int damage, int weap, int fromweap, int fromflags, int… in dodamage() argument
4135 …int realdamage = damage, realflags = flags, nodamage = 0, hurt = 0, statweap = fromweap, statalt =… in dodamage()
4220 m->lastresweapon[WR_BURN] = fromweap; in dodamage()
4227 m->lastresweapon[WR_BLEED] = fromweap; in dodamage()
4234 m->lastresweapon[WR_SHOCK] = fromweap; in dodamage()
4626 …if(damage) dodamage(m, ci, damage, weap, fromweap, fromflags, hflags, 0, h.dir, h.vel, dist, first… in process()
6226 ev->fromweap = getint(p); in parsepacket()
/dports/games/redeclipse/base-2.0.0/src/game/
H A Dgame.h1952 int schan, id, weap, fromweap, fromflags, value, flags, collidezones; member
1982 schan = id = weap = fromweap = fromflags = value = -1; in reset()
2108 …e(const vec &from, const vec &to, bool local, gameent *d, int type, int fromweap, int fromflags, i…
H A Dprojs.cpp1120 …const vec &from, const vec &dest, bool local, gameent *d, int type, int fromweap, int fromflags, i… in create() argument
1145 proj.fromweap = fromweap; in create()
1785 …er->clientnum, lastmillis-game::maptime, proj.projtype, proj.weap, proj.fromweap, proj.fromflags, … in destroy()
2495 …er->clientnum, lastmillis-game::maptime, proj.projtype, proj.weap, proj.fromweap, proj.fromflags, … in update()
H A Dserver.cpp92 int id, type, weap, fromweap, fromflags, flags, radial, scale; member
4238 …void dodamage(clientinfo *m, clientinfo *v, int damage, int weap, int fromweap, int fromflags, int… in dodamage() argument
4240 …int realdamage = damage, realflags = flags, nodamage = 0, hurt = 0, statweap = fromweap, statalt =… in dodamage()
4359 m->lastresweapon[W_R_BURN] = fromweap; in dodamage()
4366 m->lastresweapon[W_R_BLEED] = fromweap; in dodamage()
4373 m->lastresweapon[W_R_SHOCK] = fromweap; in dodamage()
4770 …if(damage) dodamage(m, ci, damage, weap, fromweap, fromflags, hflags, 0, h.dir, h.vel, dist, first… in process()
6514 ev->fromweap = getint(p); in parsepacket()