[wesnoth-commits] [wesnoth/wesnoth] a2d676: Take display zoom into account when rendering unit...

Iris Morelle noreply at github.com
Tue Feb 16 00:21:14 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a2d676e394cbdc1b38774f210fb14b9f11b205d7
      https://github.com/wesnoth/wesnoth/commit/a2d676e394cbdc1b38774f210fb14b9f11b205d7
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2021-02-15 (Mon, 15 Feb 2021)

  Changed paths:
    M changelog.md
    M src/units/frame.cpp

  Log Message:
  -----------
  Take display zoom into account when rendering unit animation frames

It was already considered for registering halos, just not for rendering
regular frames. This commit touches the halo code a little so we don't
need to call get_zoom_factor() multiple times per frame.

Closes #5508.





More information about the Commits mailing list