/dports/games/NBlood/NBlood-a1689a4/source/rr/src/lunatic/test/ |
H A D | checknearwall.con | 7 gamevar hitwall -1 0 27 // Returns: hitwall 31 setvar hitwall -1 37 ifvarn ret 0 { setvarvar hitwall ret, subvar hitwall 32768, break } 41 ifvarn ret 0 { setvarvar hitwall ret, subvar hitwall 32768, break } 47 ifvarn ret 0 { setvarvar hitwall ret, subvar hitwall 32768, break } 51 ifvarn ret 0 { setvarvar hitwall ret, subvar hitwall 32768, break } 77 ifvarn hitwall -1 79 qsprintf Q_tmp Q_yes hitwall
|
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/ |
H A D | player1.c | 420 if( hitwall >= 0 && wall[hitwall].overpicnum != BIGFORCE ) in shoot() 448 sprite[k].ang = getangle(wall[hitwall].x-wall[wall[hitwall].point2].x, in shoot() 449 wall[hitwall].y-wall[wall[hitwall].point2].y)+512; in shoot() 509 hitwall = wall[hitwall].nextwall; in shoot() 511 …if( hitwall >= 0 && wall[hitwall].picnum != ACCESSSWITCH && wall[hitwall].picnum != ACCESSSWITCH2 ) in shoot() 689 else if( hitwall >= 0 ) in shoot() 714 …if(wall[hitwall].hitag != 0 || ( wall[hitwall].nextwall >= 0 && wall[wall[hitwall].nextwall].hitag… in shoot() 744 sprite[l].ang = getangle(wall[hitwall].x-wall[wall[hitwall].point2].x, in shoot() 745 wall[hitwall].y-wall[wall[hitwall].point2].y)+512; in shoot() 754 hitwall = wall[hitwall].nextwall; in shoot() [all …]
|
H A D | game3.c | 410 short bakcstat, hitsect, hitwall, hitsprite, daang; in view() local 422 … hitscan(*vx,*vy,*vz,*vsectnum,nx,ny,nz,&hitsect,&hitwall,&hitsprite,&hitx,&hity,&hitz,CLIPMASK1); in view() 434 if (hitwall >= 0) in view() 436 daang = getangle(wall[wall[hitwall].point2].x-wall[hitwall].x, in view() 437 wall[wall[hitwall].point2].y-wall[hitwall].y); in view()
|
/dports/games/d2x/d2x-0.2.5/main/ |
H A D | collide.c | 499 int wall_num = Segments[hitseg].sides[hitwall].wall_num; in collide_robot_and_wall() 503 wall_open_door(&Segments[hitseg], hitwall); in collide_robot_and_wall() 510 wall_open_door(&Segments[hitseg], hitwall); in collide_robot_and_wall() 512 wall_open_door(&Segments[hitseg], hitwall); in collide_robot_and_wall() 517 wall_open_door(&Segments[hitseg], hitwall); in collide_robot_and_wall() 711 tmap_num = Segments[hitseg].sides[hitwall].tmap_num; in collide_player_and_wall() 761 tmap_num2 = Segments[hitseg].sides[hitwall].tmap_num2; in collide_player_and_wall() 1153 subtract_light(hitseg, hitwall); in collide_weapon_and_wall() 1155 add_light(hitseg, hitwall); in collide_weapon_and_wall() 1208 … ((TmapInfo[seg->sides[hitwall].tmap_num].flags & TMI_VOLATILE) || (seg->sides[hitwall].tmap_num2 … in collide_weapon_and_wall() [all …]
|
H A D | collide.h | 21 void collide_object_with_wall( object * A, fix hitspeed, short hitseg, short hitwall, vms_vector * … 33 extern void scrape_object_on_wall(object *obj, short hitseg, short hitwall, vms_vector * hitpt );
|
/dports/games/NBlood/NBlood-a1689a4/source/blood/src/ |
H A D | gameutil.cpp | 390 gHitInfo.hitwall = -1; in HitScan() 411 gHitInfo.hitwall = hitData.wall; in HitScan() 422 if (gHitInfo.hitwall >= 0) in HitScan() 442 gHitInfo.hitwall = -1; in VectorScan() 464 gHitInfo.hitwall = hitData.wall; in VectorScan() 517 gHitInfo.hitwall = -1; in VectorScan() 527 gHitInfo.hitwall = hitData.wall; in VectorScan() 535 if (gHitInfo.hitwall >= 0) in VectorScan() 604 gHitInfo.hitwall = -1; in VectorScan() 634 gHitInfo.hitwall = -1; in VectorScan() [all …]
|
H A D | gameutil.h | 29 short hitwall; member
|
/dports/games/jfsw/jfsw-c434002/src/ |
H A D | weapon.h | 70 int QueueHole(short ang, short hitsect, short hitwall, int hitx, int hity, int hitz); 72 BOOL SlopeBounce(short SpriteNum, BOOL *hitwall); 73 BOOL HitscanSpriteAdjust(short SpriteNum, short hitwall); 74 int SpawnSwordSparks(PLAYERp pp, short hitsect, short hitwall, int hitx, int hity, int hitz, short … 155 int SpawnShotgunSparks(PLAYERp pp, short hitsect, short hitwall, int hitx, int hity, int hitz, shor…
|
H A D | rooms.c | 152 SHORTp hitsect, SHORTp hitwall, SHORTp hitsprite, in FAFhitscan() argument 165 hitsect, hitwall, hitsprite, in FAFhitscan() 171 if (*hitwall >= 0) in FAFhitscan() 200 hitsect, hitwall, hitsprite, in FAFhitscan() 218 if (*hitwall < 0 && *hitsprite < 0) in FAFhitscan() 228 hitsect, hitwall, hitsprite, in FAFhitscan() 239 hitsect, hitwall, hitsprite, in FAFhitscan() 269 hitsect, hitwall, hitsprite, in FAFhitscan() 282 short hitsect, hitwall, hitsprite; in FAFcansee() local 322 &hitsect, &hitwall, &hitsprite, in FAFcansee() [all …]
|
H A D | jweapon.c | 464 wph = &wall[hitwall]; in DoBloodSpray() 522 BOOL hitwall; in DoBloodSpray() local 689 wph = &wall[hitwall]; in DoPhosphorus() 709 BOOL hitwall; in DoPhosphorus() local 713 if (hitwall) in DoPhosphorus() 916 wph = &wall[hitwall]; in DoChemBomb() 938 BOOL hitwall; in DoChemBomb() local 942 if (hitwall) in DoChemBomb() 1164 wph = &wall[hitwall]; in DoCaltrops() 1185 BOOL hitwall; in DoCaltrops() local [all …]
|
H A D | weapon.c | 15101 if (hitwall >= 0) in ContinueHitscan() 17907 w = hitwall; in SpawnWallHole() 17930 w = hitwall; in HitscanSpriteAdjust() 17934 if (hitwall >= 0) in HitscanSpriteAdjust() 18077 if (hitwall >= 0) in InitUzi() 18273 if (hitwall >= 0) in InitEMP() 19019 if(hitwall != -1) in SpawnSwordSparks() 19035 if(hitwall != -1) in SpawnSwordSparks() 20733 if (hitwall < 0) in TestDontStick() 20836 w = hitwall; in QueueHole() [all …]
|
H A D | break.h | 52 int WallBreakPosition(short hitwall, short *sectnum, int *x, int *y, int *z, short *ang);
|
H A D | draw.c | 1158 short bakcstat, hitsect, hitwall, hitsprite, daang; in BackView() local 1181 &hitsect, &hitwall, &hitsprite, &hitx, &hity, &hitz, CLIPMASK_PLAYER); in BackView() 1193 if (hitwall >= 0) // Push you a little bit off the wall in BackView() 1197 daang = getangle(wall[wall[hitwall].point2].x - wall[hitwall].x, in BackView() 1198 wall[wall[hitwall].point2].y - wall[hitwall].y); in BackView() 1276 short bakcstat, hitsect, hitwall, hitsprite, daang; in CircleCamera() local 1302 &hitsect, &hitwall, &hitsprite, &hitx, &hity, &hitz, CLIPMASK_MISSILE); in CircleCamera() 1313 if (hitwall >= 0) // Push you a little bit off the wall in CircleCamera() 1317 daang = getangle(wall[wall[hitwall].point2].x - wall[hitwall].x, in CircleCamera() 1318 wall[wall[hitwall].point2].y - wall[hitwall].y); in CircleCamera()
|
H A D | ripper.c | 944 short hitwall; in InitRipperHang() local 959 &hitsect, &hitwall, &hitsprite, &hitx, &hity, &hitz, CLIPMASK_MISSILE); in InitRipperHang() 967 if (hitwall < 0 || dist < 2000 || dist > 7000) in InitRipperHang() 1034 short hitwall; in DoRipperMoveHang() local 1037 hitwall = NORM_WALL(u->ret); in DoRipperMoveHang() 1043 w = hitwall; in DoRipperMoveHang()
|
H A D | ripper2.c | 943 short hitwall; in InitRipper2Hang() local 958 &hitsect, &hitwall, &hitsprite, &hitx, &hity, &hitz, CLIPMASK_MISSILE); in InitRipper2Hang() 965 if (hitwall < 0 || dist < 2000 || dist > 7000) in InitRipper2Hang() 1033 short hitwall; in DoRipper2MoveHang() local 1040 hitwall = NORM_WALL(u->ret); in DoRipper2MoveHang() 1049 w = hitwall; in DoRipper2MoveHang()
|
H A D | track.c | 3275 short hitsect, hitwall, hitsprite; in ActorTrackDecide() local 3295 &hitsect, &hitwall, &hitsprite, &hitx, &hity, &hitz, CLIPMASK_MISSILE); in ActorTrackDecide() 3304 if (hitwall < 0) in ActorTrackDecide() 3307 zdiff = labs(sp->z - sector[wall[hitwall].nextsector].floorz) >> 8; in ActorTrackDecide() 3607 short hitsect, hitwall, hitsprite; in ActorTrackDecide() local 3640 &hitsect, &hitwall, &hitsprite, in ActorTrackDecide() 3643 if (hitwall < 0) in ActorTrackDecide() 3650 if (wall[hitwall].nextsector < 0) in ActorTrackDecide() 3653 … printf("Take out white wall ladder x = %d, y = %d",wall[hitwall].x, wall[hitwall].y); in ActorTrackDecide() 3659 u->sz = sector[wall[hitwall].nextsector].floorz; in ActorTrackDecide()
|
/dports/games/NBlood/NBlood-a1689a4/source/exhumed/src/ |
H A D | bullet.cpp | 283 short hitwall = -1; in MoveBullet() local 357 hitwall = nVal & 0x3FFF; in MoveBullet() 365 hitwall = nVal & 0x3FFF; in MoveBullet() 418 hitwall = hitData.wall; in MoveBullet() 425 lasthitwall = hitwall; in MoveBullet() 445 else if (hitwall > -1) in MoveBullet() 448 if (wall[hitwall].picnum == kEnergy1) in MoveBullet() 450 short nSector = wall[hitwall].nextsector; in MoveBullet() 458 short nNormal = GetWallNormal(hitwall) & kAngleMask; in MoveBullet() 467 if (hitsprite < 0 && hitwall < 0) in MoveBullet() [all …]
|
H A D | lion.cpp | 446 short hitwall; in FuncLion() local 455 hitwall = hitData.wall; in FuncLion() 457 if (hitwall > -1) in FuncLion()
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/similar/main/ |
H A D | collide.cpp | 153 const auto wall_num = hitseg->shared_segment::sides[hitwall].wall_num; in collide_robot_and_wall() 158 wall_open_door(hitseg, hitwall); in collide_robot_and_wall() 171 wall_open_door(hitseg, hitwall); in collide_robot_and_wall() 174 wall_open_door(hitseg, hitwall); in collide_robot_and_wall() 181 wall_open_door(hitseg, hitwall); in collide_robot_and_wall() 760 auto &uhitside = hitseg->unique_segment::sides[hitwall]; in collide_weapon_and_wall() 777 auto &uhitside = hitseg->unique_segment::sides[hitwall]; in collide_weapon_and_wall() 796 subtract_light(LevelSharedDestructibleLightState, hitseg, hitwall); in collide_weapon_and_wall() 798 add_light(LevelSharedDestructibleLightState, hitseg, hitwall); in collide_weapon_and_wall() 2732 Objects, vmsegptridx, A, hitseg, hitwall, hitpt); in collide_object_with_wall() [all …]
|
/dports/games/dxx-rebirth/dxx-rebirth_20211220-src/common/main/ |
H A D | collide.h | 45 vmobjptridx_t A, fix hitspeed, vmsegptridx_t hitseg, short hitwall, const vms_vector &hitpt); 62 bool scrape_player_on_wall(vmobjptridx_t obj, vmsegptridx_t hitseg, unsigned hitwall, const vms_vec…
|
/dports/games/zangband/zangband/lib/xtra/sound/ |
H A D | sound.cfg | 30 hitwall =
|
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginerr/ |
H A D | BUILD.C | 298 short hitsect, hitwall, hitsprite; in editinput() local 1758 if (hitwall >= 0) in editinput() 1759 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in editinput() 1764 j = wall[hitwall].point2; in editinput() 2043 if (hitwall >= 0) in editinput() 2044 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in editinput() 2049 j = wall[hitwall].point2; in editinput() 2431 short hitsect, hitwall, hitsprite; in overheadeditor() local 2769 if (hitwall >= 0) in overheadeditor() 2770 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in overheadeditor() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/extras/rrsrc/enginera/ |
H A D | BUILD.C | 298 short hitsect, hitwall, hitsprite; in editinput() local 1758 if (hitwall >= 0) in editinput() 1759 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in editinput() 1764 j = wall[hitwall].point2; in editinput() 2043 if (hitwall >= 0) in editinput() 2044 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in editinput() 2049 j = wall[hitwall].point2; in editinput() 2431 short hitsect, hitwall, hitsprite; in overheadeditor() local 2769 if (hitwall >= 0) in overheadeditor() 2770 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in overheadeditor() [all …]
|
/dports/games/jfsw/jfsw-c434002/jfbuild/src/ |
H A D | build.c | 517 short hitsect, hitwall, hitsprite; in editinput() local 1985 if (hitwall >= 0) in editinput() 1986 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in editinput() 1991 j = wall[hitwall].point2; in editinput() 2270 if (hitwall >= 0) in editinput() 2271 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in editinput() 2276 j = wall[hitwall].point2; in editinput() 2679 short hitsect, hitwall, hitsprite; in overheadeditor() local 3047 if (hitwall >= 0) in overheadeditor() 3048 …sprite[i].ang = ((getangle(wall[wall[hitwall].point2].x-wall[hitwall].x,wall[wall[hitwall].point2]… in overheadeditor() [all …]
|
/dports/games/NBlood/NBlood-a1689a4/source/build/src/ |
H A D | clip.cpp | 915 int32_t hitwall = -1; in cliptrace() local 956 hitwall = z; in cliptrace() 960 return hitwall; in cliptrace() 1533 int32_t hitwalls[4], hitwall; in clipmove() local 1557 if ((hitwall = cliptrace(pos->vec2, &vec)) >= 0) in clipmove() 1559 …vec2_t const clipr = { clipit[hitwall].x2 - clipit[hitwall].x1, clipit[hitwall].y2 - clipit[hitw… in clipmove() 1602 keepaway(&goal.x, &goal.y, hitwall); in clipmove() 1607 clipReturn = (uint16_t) clipobjectval[hitwall]; in clipmove() 1608 hitwalls[cnt] = hitwall; in clipmove() 1617 } while ((xvect|yvect) != 0 && hitwall >= 0 && cnt > 0); in clipmove()
|