[Commits] [wesnoth/wesnoth] 3692cf: Redraw invalidated hexes once, not twice

GitHub noreply at github.com
Mon Sep 4 20:46:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3692cfa86b3e9eb89f1184c9f4b1820237e5cfa1
      https://github.com/wesnoth/wesnoth/commit/3692cfa86b3e9eb89f1184c9f4b1820237e5cfa1
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2017-09-04 (Mon, 04 Sep 2017)

  Changed paths:
    M changelog
    M players_changelog
    M src/display.cpp
    M src/display.hpp

  Log Message:
  -----------
  Redraw invalidated hexes once, not twice

This halves the CPU usage cost of animations, which is useful especially in
water-heavy scenarios such as Dead Water.

I was worried about the possibility of regressions, but I didn't find any
in my playtesting: moved and killed units disappear from their hexes like
they should.





More information about the Commits mailing list