Home
last modified time | relevance | path

Searched refs:ff_top (Results 1 – 5 of 5) sorted by relevance

/dports/games/zdoom/zdoom-2.8.1/src/
H A Dp_sight.cpp154 fixed_t ff_top=rover->top.plane->ZatPoint(trX, trY); in PTR_SightTraverse() local
156 highslope = FixedDiv (ff_top - sightzstart, in->frac); in PTR_SightTraverse()
190 (ffb_top <= ff_top && ffb_top >= ff_bottom) || in PTR_SightTraverse()
191 (ffb_top >= ff_top && ffb_bottom <= ff_bottom) || in PTR_SightTraverse()
192 (ffb_top <= ff_top && ffb_bottom >= ff_bottom) ) in PTR_SightTraverse()
202 if (lastztop<=ff_bottom && topz>ff_top) in PTR_SightTraverse()
207 if (lastzbottom>=ff_top && bottomz<ff_top) in PTR_SightTraverse()
417 fixed_t ff_top=rover->top.plane->ZatPoint(seeingthing); in P_SightTraverseIntercepts() local
420 if (lastzbottom>=ff_top && bottomz<ff_top && lastztop>=ff_top && topz<ff_top) return false; in P_SightTraverseIntercepts()
462 fixed_t ff_top=rover->top.plane->ZatPoint(sightthing); in P_SightPathTraverse() local
[all …]
H A Dp_trace.cpp134 fixed_t ff_top=rover->top.plane->ZatPoint(x, y); in Trace() local
136 if (z>ff_top) in Trace()
139 if (bf<ff_top) in Trace()
143 bf=ff_top; in Trace()
166 if (bc>ff_top) in Trace()
170 bc=ff_top; in Trace()
396 fixed_t ff_top=rover->top.plane->ZatPoint(hitx, hity); in TraceTraverse() local
399 if (hitz>ff_top) in TraceTraverse()
402 if (bf<ff_top) in TraceTraverse()
406 bf=ff_top; in TraceTraverse()
H A Dp_3dfloors.cpp605 fixed_t ff_top=rover->top.plane->ZatPoint(CenterSpot(sector)); in P_Recalculate3DFloors() local
606 if (ff_top < minheight) break; // reached the floor in P_Recalculate3DFloors()
607 if (ff_top < maxheight) in P_Recalculate3DFloors()
787 fixed_t ff_top=rover->top.plane->ZatPoint(x, y); in P_LineOpening_XFloors() local
789 fixed_t delta1 = abs(thingbot - ((ff_bottom + ff_top) / 2)); in P_LineOpening_XFloors()
790 fixed_t delta2 = abs(thingtop - ((ff_bottom + ff_top) / 2)); in P_LineOpening_XFloors()
798 if(ff_top > highestfloor && delta1 < delta2 && (!restrict || thing->Z() >= ff_top)) in P_LineOpening_XFloors()
800 highestfloor = ff_top; in P_LineOpening_XFloors()
804 …if(ff_top > lowestfloor[j] && ff_top <= thing->Z() + thing->MaxStepHeight) lowestfloor[j] = ff_top; in P_LineOpening_XFloors()
H A Dp_map.cpp261 fixed_t ff_top = rover->top.plane->ZatPoint(tmf.x, tmf.y); in P_GetFloorCeilingZ() local
263 if (ff_top > tmf.floorz) in P_GetFloorCeilingZ()
265 …if (ff_top <= tmf.z || (!(flags & FFCF_3DRESTRICT) && (tmf.thing != NULL && ff_bottom < tmf.z && f… in P_GetFloorCeilingZ()
267 tmf.dropoffz = tmf.floorz = ff_top; in P_GetFloorCeilingZ()
1487 fixed_t ff_top = rover->top.plane->ZatPoint(x, y); in P_CheckPosition() local
1492 if (ff_top > tm.floorz && abs(delta1) < abs(delta2)) in P_CheckPosition()
1494 tm.floorz = tm.dropoffz = ff_top; in P_CheckPosition()
1828 fixed_t ff_top = rover->top.plane->ZatPoint(mobj); in CheckForPushSpecial() local
1830 if (ff_bottom < mobj->Top() && ff_top > mobj->Z()) in CheckForPushSpecial()
3228 fixed_t ff_top = rover->top.plane->ZatPoint(trX, trY); in AimTraverse3DFloors() local
[all …]
H A Dp_mobj.cpp3899 fixed_t ff_top=rover->top.plane->ZatPoint(this); in UpdateWaterLevel() local
3901 if(ff_top <= Z() || ff_bottom > (Z() + (height >> 1))) continue; in UpdateWaterLevel()
3903 fh=ff_top; in UpdateWaterLevel()