[Commits] [wesnoth/wesnoth] b309af: adjust some of the editor images code for terrain ...

GitHub noreply at github.com
Fri Nov 14 07:44:24 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: b309afde7e6bd4362deeba25141cab92814b3390
      https://github.com/wesnoth/wesnoth/commit/b309afde7e6bd4362deeba25141cab92814b3390
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-11-14 (Fri, 14 Nov 2014)

  Changed paths:
    M src/editor/action/mouse/mouse_action.cpp

  Log Message:
  -----------
  adjust some of the editor images code for terrain overlays

the adjustments just make it use the more standard SDL utils fcns
for making a transparent (neutral) surface, and they avoid floating
point operations when scaling images

we also fix a bug caused by using "sdl_blit" instead of
"blit_surface", which caused the terrain overlay not to show up





More information about the Commits mailing list