[Commits] [wesnoth/wesnoth] 6fb518: Added some inline wrappers for SDL_SetTexture* fun...

GitHub noreply at github.com
Wed Jun 21 06:18:55 UTC 2017


  Branch: refs/heads/accelerated_rendering
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 6fb518e033acb464bc84ab9cd433ba163c522ba9
      https://github.com/wesnoth/wesnoth/commit/6fb518e033acb464bc84ab9cd433ba163c522ba9
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-20 (Tue, 20 Jun 2017)

  Changed paths:
    M src/sdl/render_utils.hpp
    M src/sdl/texture.cpp

  Log Message:
  -----------
  Added some inline wrappers for SDL_SetTexture* functions


  Commit: d0e21edee38772458b940a74880000a6e3d81ca7
      https://github.com/wesnoth/wesnoth/commit/d0e21edee38772458b940a74880000a6e3d81ca7
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M src/display.cpp
    M src/game_display.cpp
    M src/halo.cpp
    M src/halo.hpp

  Log Message:
  -----------
  Refactored halo code to bring it in line with new drawing methods

This basically rips out all the unrendering and invalidation code. Neither is needed anymore.
Instead, we can have a simple, clean, "just draw the managed halos" interface.

Note there's an issue unrelated to this where halos aren't removed when a unit is killed with
the debug kill menu command.


  Commit: 37910ef3b7fd6b79bb0884ec850e32b27f025bd7
      https://github.com/wesnoth/wesnoth/commit/37910ef3b7fd6b79bb0884ec850e32b27f025bd7
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M src/units/animation.cpp
    M src/units/animation_component.cpp
    M src/units/drawer.cpp
    M src/units/frame.cpp

  Log Message:
  -----------
  Use shared_ptr::reset for clearing halo handlers


  Commit: 30f4ec11c2770e22620d8697a837ed0442b67ce5
      https://github.com/wesnoth/wesnoth/commit/30f4ec11c2770e22620d8697a837ed0442b67ce5
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M src/units/frame.cpp

  Log Message:
  -----------
  Restored alpha handling of unit frames

Still need to figure out the blending effects or submerge alpha.


Compare: https://github.com/wesnoth/wesnoth/compare/d93655dc72cb...30f4ec11c277


More information about the Commits mailing list