[Commits] [wesnoth/wesnoth] 7fabc0: Cleaned up the implementation of display::scroll()

GitHub noreply at github.com
Thu Jun 15 22:09:22 UTC 2017


  Branch: refs/heads/accelerated_rendering
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 7fabc0627fcb772b26267013779b8e148e6e2528
      https://github.com/wesnoth/wesnoth/commit/7fabc0627fcb772b26267013779b8e148e6e2528
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M src/display.cpp

  Log Message:
  -----------
  Cleaned up the implementation of display::scroll()


  Commit: 2a827145b5ac64af868c82093f51cfbe8cdfc66d
      https://github.com/wesnoth/wesnoth/commit/2a827145b5ac64af868c82093f51cfbe8cdfc66d
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M src/actions/move.cpp

  Log Message:
  -----------
  Removed an unused variable

Not needed after I removed the draw() calls into the display class


  Commit: 27c9dc038229f980a66ffb101de470e93c85b08e
      https://github.com/wesnoth/wesnoth/commit/27c9dc038229f980a66ffb101de470e93c85b08e
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M src/image.cpp
    M src/image.hpp

  Log Message:
  -----------
  Extended implementation of the texture cache

Instead of always loading a surface at the same time, textures are now loaded directly from disk if applicable.
Instead, surfaces are only loaded if applicable to apply some effect that cannot as of now be done with texture
manipulation since we dont have shader support yet.

In that vein, I've also added two new texture caches, one for masked-to-hex images and one for ToD colored images.


  Commit: 90a067012a6ab45a9f720c7d8b4fbf9cb92e1b57
      https://github.com/wesnoth/wesnoth/commit/90a067012a6ab45a9f720c7d8b4fbf9cb92e1b57
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2017-06-16 (Fri, 16 Jun 2017)

  Changed paths:
    M src/display.cpp

  Log Message:
  -----------
  Trim ToD images to hex


Compare: https://github.com/wesnoth/wesnoth/compare/ab6e7b6364db...90a067012a6a


More information about the Commits mailing list