Home
last modified time | relevance | path

Searched refs:thingbottomslope (Results 1 – 18 of 18) sorted by relevance

/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/doom/
H A Dp_map.c849 fixed_t thingbottomslope; in PTR_AimTraverse() local
906 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
908 if (thingbottomslope > topslope) in PTR_AimTraverse()
915 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
916 thingbottomslope = bottomslope; in PTR_AimTraverse()
918 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
942 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1034 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1036 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/strife/
H A Dp_map.c974 fixed_t thingbottomslope; in PTR_AimTraverse() local
1039 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1041 if (thingbottomslope > topslope) in PTR_AimTraverse()
1048 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1049 thingbottomslope = bottomslope; in PTR_AimTraverse()
1051 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1078 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1172 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1174 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/strife/
H A Dp_map.c974 fixed_t thingbottomslope; in PTR_AimTraverse() local
1039 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1041 if (thingbottomslope > topslope) in PTR_AimTraverse()
1048 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1049 thingbottomslope = bottomslope; in PTR_AimTraverse()
1051 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1078 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1172 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1174 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/heretic/glheretic-1.2/
H A Dp_map.c1147 fixed_t slope, thingtopslope, thingbottomslope; in PTR_AimTraverse() local
1205 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1206 if (thingbottomslope > topslope) in PTR_AimTraverse()
1214 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1215 thingbottomslope = bottomslope; in PTR_AimTraverse()
1217 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1244 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
1324 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1325 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/heretic/
H A Dp_map.c1208 fixed_t slope, thingtopslope, thingbottomslope; in PTR_AimTraverse() local
1265 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_AimTraverse()
1266 if (thingbottomslope > topslope) in PTR_AimTraverse()
1274 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1275 thingbottomslope = bottomslope; in PTR_AimTraverse()
1277 aimslope = (thingtopslope + thingbottomslope) / 2; in PTR_AimTraverse()
1300 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
1377 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_ShootTraverse()
1378 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/doom/
H A Dp_map.c936 fixed_t thingbottomslope; in PTR_AimTraverse() local
993 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
995 if (thingbottomslope > topslope) in PTR_AimTraverse()
1002 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1003 thingbottomslope = bottomslope; in PTR_AimTraverse()
1005 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1029 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1166 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1168 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/heretic/
H A Dp_map.c1185 fixed_t slope, thingtopslope, thingbottomslope; in PTR_AimTraverse() local
1242 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_AimTraverse()
1243 if (thingbottomslope > topslope) in PTR_AimTraverse()
1251 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1252 thingbottomslope = bottomslope; in PTR_AimTraverse()
1254 aimslope = (thingtopslope + thingbottomslope) / 2; in PTR_AimTraverse()
1277 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
1354 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_ShootTraverse()
1355 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/prboom/prboom-2.5.0/src/
H A Dp_map.c1394 fixed_t thingbottomslope; in PTR_AimTraverse() local
1458 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1460 if (thingbottomslope > topslope) in PTR_AimTraverse()
1468 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1469 thingbottomslope = bottomslope; in PTR_AimTraverse()
1471 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1493 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1568 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1570 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/crispy-doom/crispy-doom-crispy-doom-5.10.3/src/hexen/
H A Dp_map.c1588 fixed_t slope, thingtopslope, thingbottomslope; in PTR_AimTraverse() local
1647 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_AimTraverse()
1648 if (thingbottomslope > topslope) in PTR_AimTraverse()
1656 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1657 thingbottomslope = bottomslope; in PTR_AimTraverse()
1659 aimslope = (thingtopslope + thingbottomslope) / 2; in PTR_AimTraverse()
1682 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
1765 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_ShootTraverse()
1766 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/chocolate-doom/chocolate-doom-3.0.1/src/hexen/
H A Dp_map.c1588 fixed_t slope, thingtopslope, thingbottomslope; in PTR_AimTraverse() local
1647 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_AimTraverse()
1648 if (thingbottomslope > topslope) in PTR_AimTraverse()
1656 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1657 thingbottomslope = bottomslope; in PTR_AimTraverse()
1659 aimslope = (thingtopslope + thingbottomslope) / 2; in PTR_AimTraverse()
1682 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
1765 thingbottomslope = FixedDiv(th->z - shootz, dist); in PTR_ShootTraverse()
1766 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/libretro-prboom/libretro-prboom-cc80175/src/
H A Dp_map.c1394 fixed_t thingbottomslope; in PTR_AimTraverse() local
1458 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1460 if (thingbottomslope > topslope) in PTR_AimTraverse()
1468 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1469 thingbottomslope = bottomslope; in PTR_AimTraverse()
1471 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1493 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1568 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1570 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/uhexen/uhexen-0.601/src/
H A Dp_map.c1581 fixed_t slope, thingtopslope, thingbottomslope; in PTR_AimTraverse() local
1640 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1641 if (thingbottomslope > topslope) in PTR_AimTraverse()
1649 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1650 thingbottomslope = bottomslope; in PTR_AimTraverse()
1652 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1675 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
1758 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1759 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/
H A Dp_map.c1455 fixed_t thingbottomslope; in PTR_AimTraverse() local
1522 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1524 if (thingbottomslope > topslope) in PTR_AimTraverse()
1532 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1533 thingbottomslope = bottomslope; in PTR_AimTraverse()
1535 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
1557 fixed_t thingbottomslope; in PTR_ShootTraverse() local
1641 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
1643 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
/dports/games/vavoom/vavoom-1.33/progs/common/linespec/
H A DEntityEx.LineAttack.vc94 float thingbottomslope;
181 thingbottomslope = (th.Origin.z - aim_z) / dist;
183 if (thingbottomslope > aim_topslope)
190 if (thingbottomslope < aim_bottomslope)
191 thingbottomslope = aim_bottomslope;
193 aim_slope = (thingtopslope + thingbottomslope) / 2.0;
/dports/games/edge/Edge-1.35-source/src/
H A Dp_map.cc1221 float thingbottomslope = (mo->z - aim_I.start_z) / dist; in PTR_AimTraverse() local
1223 if (thingbottomslope > aim_I.topslope) in PTR_AimTraverse()
1230 if (thingbottomslope < aim_I.bottomslope) in PTR_AimTraverse()
1231 thingbottomslope = aim_I.bottomslope; in PTR_AimTraverse()
1233 aim_I.slope = (thingtopslope + thingbottomslope) / 2; in PTR_AimTraverse()
1410 float thingbottomslope = (mo->z - shoot_I.start_z) / dist; in PTR_ShootTraverse() local
1413 if (thingbottomslope > shoot_I.slope) in PTR_ShootTraverse()
/dports/games/odamex/odamex-src-0.7.0/common/
H A Dp_map.cpp1776 fixed_t thingbottomslope; in PTR_AimTraverse() local
1850 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_AimTraverse()
1852 if (thingbottomslope > topslope) in PTR_AimTraverse()
1859 if (thingbottomslope < bottomslope) in PTR_AimTraverse()
1860 thingbottomslope = bottomslope; in PTR_AimTraverse()
1862 aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
2003 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
2027 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_ShootTraverse()
2029 if (thingbottomslope > aimslope) in PTR_ShootTraverse()
2276 fixed_t thingbottomslope; in PTR_RailTraverse() local
[all …]
/dports/games/doomlegacy/doomlegacy_1.48.8_source/src/
H A Dp_map.c2195 fixed_t thingbottomslope; in PTR_AimTraverse() local
2338 thingbottomslope = FixedDiv (th->z - la_shootz, dist); in PTR_AimTraverse()
2341 if (thingbottomslope > see_topslope) in PTR_AimTraverse()
2348 if (thingbottomslope < see_bottomslope) in PTR_AimTraverse()
2349 thingbottomslope = see_bottomslope; in PTR_AimTraverse()
2352 lar_aimslope = (thingtopslope+thingbottomslope)/2; in PTR_AimTraverse()
2375 fixed_t thingtopslope, thingbottomslope; in PTR_ShootTraverse() local
2653 thingbottomslope = FixedDiv (th->z - la_shootz, dist); in PTR_ShootTraverse()
2655 if (thingbottomslope > lar_aimslope) in PTR_ShootTraverse()
/dports/games/heretic/glheretic-1.2/opengl/
H A Dgl_lights.c1839 fixed_t thingbottomslope; in PTR_LightTraverse() local
1894 thingbottomslope = FixedDiv (th->z - shootz, dist); in PTR_LightTraverse()
1896 if (thingbottomslope > aimslope) in PTR_LightTraverse()