[Commits] [wesnoth/wesnoth] ed5650: add wesnoth.advance_unit lua function

GitHub noreply at github.com
Sat Mar 28 21:33:56 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ed5650c7581ddc14e8f4e70d03814a327f469dc7
      https://github.com/wesnoth/wesnoth/commit/ed5650c7581ddc14e8f4e70d03814a327f469dc7
  Author: gfgtdf <f492343 at rmqkr.net>
  Date:   2015-03-28 (Sat, 28 Mar 2015)

  Changed paths:
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  add wesnoth.advance_unit lua function

previously this was only possible by storing the unit and then unstoring
with advance=yes. Unstoring a unit can cause a lot of overhead if the
unit is complicated. so i added a way to do it without [unstore_unit]


  Commit: 42260d6fe9980b6806180c32809ba2d123d2704e
      https://github.com/wesnoth/wesnoth/commit/42260d6fe9980b6806180c32809ba2d123d2704e
  Author: gfgtdf <tischpapier at gmail.com>
  Date:   2015-03-28 (Sat, 28 Mar 2015)

  Changed paths:
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Merge pull request #391 from gfgtdf/lua_advance_unit

add wesnoth.advance_unit lua function


Compare: https://github.com/wesnoth/wesnoth/compare/95d7bcdce683...42260d6fe998


More information about the Commits mailing list