Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactors Get_Angle() and related procs #5212

Merged
merged 8 commits into from
Dec 22, 2023

Commits on Dec 13, 2023

  1. initial

    Doubleumc committed Dec 13, 2023
    Configuration menu
    Copy the full SHA
    f6a3218 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. replaces Atan2 with arctan()

    switching to the native function introduced in 513
    Doubleumc committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    f91d358 View commit details
    Browse the repository at this point in the history
  2. projectile angle consistency

    no longer using its own bespoke copy of angle code
    Doubleumc committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    18a5613 View commit details
    Browse the repository at this point in the history
  3. simplify Get_Pixel_Angle()

    Doubleumc committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    9e51207 View commit details
    Browse the repository at this point in the history
  4. simplify Get_Angle()

    arctan(x, y) can handle nulls and zeroes by itself
    Doubleumc committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    c40919a View commit details
    Browse the repository at this point in the history
  5. refactor Get_Pixel_Angle()

    Get_Pixel_Angle() renamed and refactored, Get_Angle() now calls it instead of having its own calcuation
    Doubleumc committed Dec 14, 2023
    Configuration menu
    Copy the full SHA
    b74d754 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Get_Compass_Dir get_turfs

    discard pixel offsets so projectile knockback behaves responsibly
    Doubleumc committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    cfd00d4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7dc49c5 View commit details
    Browse the repository at this point in the history