[Commits] [wesnoth/wesnoth] 497aee: Undeprecate wesnoth.highlight_hex()

GitHub noreply at github.com
Sun Mar 13 22:42:24 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 497aee86abe73a9f4ee5333b6f6cb7eb7ed7d6be
      https://github.com/wesnoth/wesnoth/commit/497aee86abe73a9f4ee5333b6f6cb7eb7ed7d6be
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Undeprecate wesnoth.highlight_hex()

wesnoth.select_hex has problems with simply highlighting units without displaying
their movement range. If you set its third argument to false, the unit gets
selected, but no hex cursors appears around it. Using this allows us to simply
highlight a location with the hex cursor, independent of unit presence (select_hex
works funny if no unit is present).


  Commit: b512ad2143af67c02d1dc2951de68543848c1423
      https://github.com/wesnoth/wesnoth/commit/b512ad2143af67c02d1dc2951de68543848c1423
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2016-03-14 (Mon, 14 Mar 2016)

  Changed paths:
    M data/lua/wml/message.lua

  Log Message:
  -----------
  Make [message] use wesnoth.highlight_hex()


Compare: https://github.com/wesnoth/wesnoth/compare/2ffa1ffa8518...b512ad2143af


More information about the Commits mailing list