Skip to content
Snippets Groups Projects
  1. Nov 10, 2020
  2. Nov 08, 2020
    • Sal's avatar
      Actually, lets just fix FixedHypot instead. · c23364db
      Sal authored
      Now FixedHypot uses the code from R_PointToDist2, and R_PointToDist2 just calls FixedHypot.
      
      Ultimately, this branch was intended to get rid of a redundant way to retrieve distance and replace it with the one that was actually good at its job. So consolidating FixedHypot and R_PointToDist2 together is just an extension of that.
      c23364db
    • Sal's avatar
      Use R_PointToDist2 instead · 104208fc
      Sal authored
      Apparently overflows less often
      104208fc
    • Sal's avatar
      Merge branch 'master' into next · 3ad5c0af
      Sal authored
      3ad5c0af
    • Sal's avatar
      Use FixedHypot over P_AproxDistance · d6c49706
      Sal authored
      Not convinced that the small speed benefit from P_AproxDistance is worth the "aproximate"[sic] results it gives. Let's instead try a define to replace it with FixedHypot. In Lua, the function gives a deprecated warning.
      
      Inspired by the hyperwall fix for vanilla, except for everything. From little testing, actively improves waypoint checks, bumping, speed checks, wall collisions, Jawz targetting, Lightning Shield attacks, so on.
      
      The only way I see this as a potential downgrade is A_Look (and related functions) getting slower, which are barely used in Kart.
      d6c49706
  3. Nov 07, 2020
  4. Nov 06, 2020
  5. Nov 05, 2020
  6. Nov 03, 2020
  7. Oct 07, 2020
  8. Oct 01, 2020
  9. Sep 30, 2020
  10. Sep 28, 2020
  11. Sep 25, 2020
  12. Sep 24, 2020
  13. Sep 20, 2020
Loading