[Commits] [wesnoth/wesnoth] 19b491: Add centered flag argument (def true) to tile_surf...

GitHub noreply at github.com
Tue Mar 28 07:25:41 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 19b4916c545b58a3d872c272cf3f4b18996e5714
      https://github.com/wesnoth/wesnoth/commit/19b4916c545b58a3d872c272cf3f4b18996e5714
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M src/sdl/utils.cpp
    M src/sdl/utils.hpp

  Log Message:
  -----------
  Add centered flag argument (def true) to tile_surface


  Commit: 1878095cbbe7322908ac1392165f7249dac370f2
      https://github.com/wesnoth/wesnoth/commit/1878095cbbe7322908ac1392165f7249dac370f2
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-03-28 (Tue, 28 Mar 2017)

  Changed paths:
    M src/gui/core/canvas.cpp

  Log Message:
  -----------
  GUI2/Canvas: use tile_surface for tile scaling instead of custom implementation

Should hopefully be more efficient than manually constructing the surface with multiple blit_surface calls.


Compare: https://github.com/wesnoth/wesnoth/compare/b8ce26a0f968...1878095cbbe7


More information about the Commits mailing list