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

Perform unit highlight and frame tint effects in hardware #6823

Merged
merged 5 commits into from
Jul 2, 2022

Commits on Jul 2, 2022

  1. Remove largely incorrect usage of floating_to_fixed_point()

    Added new functions float_to_color() and color_multiply() for dealing
    with uint8_t colour values directly, with an assumed mapping from
    0-255 to 0.0-1.0 and back.
    mesilliac committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    0fbc12e View commit details
    Browse the repository at this point in the history
  2. Hardware acceleration for unit highlight effect

    Uses some tricks to increase brightness by blitting twice.
    mesilliac committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    046f1c9 View commit details
    Browse the repository at this point in the history
  3. Implement unit and animation frame tinting in hardware.

    I tried to match the effect from 1.16. It seems mostly okay.
    mesilliac committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    09186f8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    23baabf View commit details
    Browse the repository at this point in the history
  5. Fix doxygen errors

    mesilliac committed Jul 2, 2022
    Configuration menu
    Copy the full SHA
    30cd5af View commit details
    Browse the repository at this point in the history