/dports/games/xnethack/xNetHack-xnh6.1/src/ |
H A D | uhitm.c | 1932 mhm->hitflags |= MM_DEF_DIED; in mhitm_ad_rust() 1961 mhm->hitflags = MM_MISS; in mhitm_ad_rust() 2041 mhm->hitflags = MM_MISS; in mhitm_ad_dcay() 2259 mhm->hitflags = MM_MISS; in mhitm_ad_fire() 2743 mhm->hitflags = MM_MISS; in mhitm_ad_curs() 3240 mhm->hitflags = MM_HIT; in mhitm_ad_slim() 3655 mhm->hitflags = MM_MISS; in do_stone_mon() 3661 mhm->hitflags = (MM_DEF_DIED in do_stone_mon() 4191 mhm->hitflags = MM_AGR_DIED; in mhitm_ad_dgst() 4491 mhm.hitflags = MM_MISS; in damageum() [all …]
|
H A D | mhitm.c | 859 mhm.hitflags = MM_MISS; in mdamagem() 902 return mhm.hitflags; in mdamagem() 905 return mhm.hitflags; in mdamagem() 928 return mhm.hitflags; /* mdef lifesaved */ in mdamagem() 929 else if (mhm.hitflags == MM_AGR_DIED) in mdamagem() 951 return (mhm.hitflags == MM_AGR_DIED) ? MM_AGR_DIED : MM_HIT; in mdamagem()
|
H A D | mhitu.c | 954 mhm.hitflags = MM_MISS; in hitmu() 1000 return mhm.hitflags; in hitmu()
|
/dports/games/bloodfrontier/bloodfrontier/src/game/ |
H A D | physics.cpp | 1012 hitflags = HITFLAG_NONE; in xcollide() 1017 hitflags |= HITFLAG_LEGS; in xcollide() 1019 hitflags |= HITFLAG_TORSO; in xcollide() 1021 hitflags |= HITFLAG_HEAD; in xcollide() 1022 return hitflags == HITFLAG_NONE; in xcollide() 1026 hitflags |= HITFLAG_TORSO; in xcollide() 1034 hitflags = HITFLAG_NONE; in xtracecollide() 1042 …if(linecylinderintersect(from, to, bottom, top, max(e->lrad.x, e->lrad.y), d)) { hitflags |= HITFL… in xtracecollide() 1052 …if(linecylinderintersect(from, to, bottom, top, max(e->hrad.x, e->hrad.y), d)) { hitflags |= HITFL… in xtracecollide() 1054 if(hitflags == HITFLAG_NONE) return true; in xtracecollide() [all …]
|
H A D | projs.cpp | 84 if(proj.hitflags&HITFLAG_LEGS) flags |= HIT_LEGS; in hitproj() 85 if(proj.hitflags&HITFLAG_TORSO) flags |= HIT_TORSO; in hitproj() 86 if(proj.hitflags&HITFLAG_HEAD) flags |= HIT_HEAD; in hitproj() 95 proj.hitflags = flags; in hiteffect() 362 proj.hitflags = HITFLAG_NONE; in init() 861 if(!hiteffect(proj, hitplayer, hitflags, vec(hitplayer->o).sub(proj.o).normalize())) return 1; in bounce() 900 if(!hiteffect(proj, hitplayer, hitflags, vec(hitplayer->o).sub(proj.o).normalize())) return 1; in trace() 1081 proj.hitflags = HITFLAG_NONE; in update()
|
H A D | game.h | 1098 int schan, id, weap, flags, colour, hitflags; member 1104 …projent() : norm(0, 0, 1), projtype(PRJ_SHOT), id(-1), hitflags(HITFLAG_NONE), owner(NULL), hit(NU… in projent()
|
/dports/games/xnethack/xNetHack-xnh6.1/include/ |
H A D | monattk.h | 92 int hitflags; /* MM_DEF_DIED | MM_AGR_DIED | ... */ member
|
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/ |
H A D | p_polyobj.c | 919 INT32 hitflags = 0; in Polyobj_clipThings() local 924 return hitflags; in Polyobj_clipThings() 962 hitflags |= 2; in Polyobj_clipThings() 969 hitflags |= 1; in Polyobj_clipThings() 975 return hitflags; in Polyobj_clipThings() 984 INT32 hitflags = 0; in Polyobj_moveXY() local 1008 if (hitflags & 2) in Polyobj_moveXY() 1032 return !(hitflags & 2); in Polyobj_moveXY() 1171 INT32 hitflags = 0; in Polyobj_rotate() local 1207 if (hitflags & 2) in Polyobj_rotate() [all …]
|
/dports/games/redeclipse16/base-1.6.0/src/game/ |
H A D | physics.cpp | 1327 hitflags = HITFLAG_NONE; in xcollide() 1334 hitflags |= HITFLAG_LEGS; in xcollide() 1336 hitflags |= HITFLAG_TORSO; in xcollide() 1338 hitflags |= HITFLAG_HEAD; in xcollide() 1339 return hitflags != HITFLAG_NONE; in xcollide() 1344 hitflags |= HITFLAG_TORSO; in xcollide() 1352 hitflags = HITFLAG_NONE; in xtracecollide() 1362 …linderintersect(from, to, bottom, top, max(e->lrad.x, e->lrad.y), t)) { hitflags |= HITFLAG_LEGS; … in xtracecollide() 1372 …linderintersect(from, to, bottom, top, max(e->hrad.x, e->hrad.y), t)) { hitflags |= HITFLAG_HEAD; … in xtracecollide() 1374 if(hitflags == HITFLAG_NONE) return false; in xtracecollide() [all …]
|
H A D | projs.cpp | 262 proj.hitflags = flags; in hiteffect() 278 if(proj.hitflags&HITFLAG_LEGS) flags |= HIT_LEGS; in hiteffect() 279 if(proj.hitflags&HITFLAG_TORSO) flags |= HIT_TORSO; in hiteffect() 280 if(proj.hitflags&HITFLAG_HEAD) flags |= HIT_HEAD; in hiteffect() 1045 proj.hitflags = HITFLAG_NONE; in init() 1919 ret = impact(proj, dir, hitplayer, hitflags, collidewall); in step() 1938 if(dist >= 0) ret = impact(proj, dir, hitplayer, hitflags, hitsurface); in trace() 2212 switch(impact(proj, dir, hitplayer, hitflags, hitsurface)) in raymove() 2264 proj.hitflags = HITFLAG_NONE; in update()
|
H A D | game.h | 1472 int schan, id, weap, fromweap, fromflags, value, flags, hitflags; member 1478 …projent() : projtype(PRJ_SHOT), id(-1), hitflags(HITFLAG_NONE), owner(NULL), target(NULL), stick(N… in projent()
|
/dports/games/bloodfrontier/bloodfrontier/src/engine/ |
H A D | physics.cpp | 417 int hitflags = HITFLAG_NONE; variable 1084 hitflags = HITFLAG_NONE; in collide() 1110 if(dist <= maxdist) { hitplayer = o; bestflags = hitflags; } in pltracecollide() 1114 hitflags = bestflags; in pltracecollide() 1122 hitflags = HITFLAG_NONE; in tracecollide()
|
/dports/games/redeclipse16/base-1.6.0/src/engine/ |
H A D | physics.cpp | 495 int hitflags = HITFLAG_NONE; variable 1192 hitflags = HITFLAG_NONE; in collide() 1217 if(dist <= maxdist) { hitplayer = o; bestflags = hitflags; } in pltracecollide() 1221 hitflags = bestflags; in pltracecollide() 1229 hitflags = HITFLAG_NONE; in tracecollide()
|
/dports/games/bloodfrontier/bloodfrontier/src/shared/ |
H A D | iengine.h | 531 extern int hitflags;
|
/dports/games/redeclipse16/base-1.6.0/src/shared/ |
H A D | iengine.h | 668 extern int hitflags;
|