Home
last modified time | relevance | path

Searched refs:polybottom (Results 1 – 6 of 6) sorted by relevance

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_maputl.c556 fixed_t polytop, polybottom; in P_LineOpening() local
562 polybottom = polysec->floorheight; in P_LineOpening()
567 polybottom = INT32_MIN; in P_LineOpening()
570 delta1 = abs(mobj->z - (polybottom + ((polytop - polybottom)/2))); in P_LineOpening()
571 delta2 = abs(thingtop - (polybottom + ((polytop - polybottom)/2))); in P_LineOpening()
573 if (polybottom < opentop && delta1 >= delta2) in P_LineOpening()
574 opentop = polybottom; in P_LineOpening()
575 else if (polybottom < highceiling && delta1 >= delta2) in P_LineOpening()
576 highceiling = polybottom; in P_LineOpening()
H A Dp_map.c2195 fixed_t polytop, polybottom; in P_CheckPosition() local
2212 polybottom = polysec->floorheight; in P_CheckPosition()
2217 polybottom = INT32_MIN; in P_CheckPosition()
2221 delta1 = thing->z - (polybottom + ((polytop - polybottom)/2)); in P_CheckPosition()
2222 delta2 = thingtop - (polybottom + ((polytop - polybottom)/2)); in P_CheckPosition()
2231 tmceilingz = tmdrpoffceilz = polybottom; in P_CheckPosition()
2425 fixed_t polytop, polybottom; in P_CheckCameraPosition() local
2447 polybottom = polysec->floorheight; in P_CheckCameraPosition()
2452 polybottom = INT32_MIN; in P_CheckCameraPosition()
2456 delta1 = thiscam->z - (polybottom + ((polytop - polybottom)/2)); in P_CheckCameraPosition()
[all …]
H A Dp_user.c3874 fixed_t polytop, polybottom; in P_DoTeeter() local
3896 polybottom = polysec->floorheight; in P_DoTeeter()
3901 polybottom = INT32_MIN; in P_DoTeeter()
3931 || (polybottom > player->mo->z + player->mo->height in P_DoTeeter()
10242 fixed_t polytop, polybottom; in P_MoveChaseCamera() local
10264 polybottom = polysec->floorheight; in P_MoveChaseCamera()
10269 polybottom = INT32_MIN; in P_MoveChaseCamera()
10273 delta1 = midz - (polybottom + ((polytop - polybottom)/2)); in P_MoveChaseCamera()
10274 delta2 = thingtop - (polybottom + ((polytop - polybottom)/2)); in P_MoveChaseCamera()
10279 if (polybottom < myceilingz && abs(delta1) >= abs(delta2)) in P_MoveChaseCamera()
[all …]
H A Dp_mobj.c2204 fixed_t polytop, polybottom; in P_AdjustMobjFloorZ_PolyObjs() local
2225 polybottom = polysec->floorheight; in P_AdjustMobjFloorZ_PolyObjs()
2230 polybottom = INT32_MIN; in P_AdjustMobjFloorZ_PolyObjs()
2233 delta1 = mo->z - (polybottom + ((polytop - polybottom)/2)); in P_AdjustMobjFloorZ_PolyObjs()
2234 delta2 = thingtop - (polybottom + ((polytop - polybottom)/2)); in P_AdjustMobjFloorZ_PolyObjs()
2239 if (polybottom < mo->ceilingz && abs(delta1) >= abs(delta2)) in P_AdjustMobjFloorZ_PolyObjs()
2240 mo->ceilingz = polybottom; in P_AdjustMobjFloorZ_PolyObjs()
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/hardware/
H A Dhw_main.c1729 fixed_t opentop, openbottom, polytop, polybottom; in HWR_StoreWallRange() local
1814 polybottom = openbottom + gr_sidedef->rowoffset; in HWR_StoreWallRange()
1815 polytop = polybottom + textureheight[midtexnum]; in HWR_StoreWallRange()
1820 polybottom = polytop - textureheight[midtexnum]; in HWR_StoreWallRange()
1830 l = polybottom; in HWR_StoreWallRange()
1832 l = (polybottom > openbottom) ? polybottom : openbottom; in HWR_StoreWallRange()
1839 texturevpeg = l + textureheight[gr_sidedef->midtexture] - h + polybottom - l; in HWR_StoreWallRange()
/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/hardware/
H A Dhw_main.c1285 fixed_t popentop, popenbottom, polytop, polybottom, lowcut, highcut; in HWR_ProcessSeg() local
1348 polytop = polybottom + textureheight[gl_midtexture]*repeats; in HWR_ProcessSeg()
1353 polybottom = polytop - textureheight[gl_midtexture]*repeats; in HWR_ProcessSeg()
1358 polybottom = popenbottom + gl_sidedef->rowoffset; in HWR_ProcessSeg()
1359 polytop = polybottom + textureheight[gl_midtexture]*repeats; in HWR_ProcessSeg()
1364 polybottom = polytop - textureheight[gl_midtexture]*repeats; in HWR_ProcessSeg()
1371 lowcut = polybottom; in HWR_ProcessSeg()
1382 l = max(polybottom, lowcut); in HWR_ProcessSeg()
1387 texturevpeg = textureheight[gl_sidedef->midtexture]*repeats - h + polybottom; in HWR_ProcessSeg()
1421 polybottom += midtextureslant; in HWR_ProcessSeg()
[all …]