[Commits] [wesnoth/wesnoth] e73c57: move wml [endlevel] impl to lua, and split into ma...

GitHub noreply at github.com
Wed Dec 24 21:19:31 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: e73c57ead74956af3e17bae267f3b4cef670f4ae
      https://github.com/wesnoth/wesnoth/commit/e73c57ead74956af3e17bae267f3b4cef670f4ae
  Author: Chris Beck <render787 at gmail.com>
  Date:   2014-12-24 (Wed, 24 Dec 2014)

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

  Log Message:
  -----------
  move wml [endlevel] impl to lua, and split into many lua funcs

the [endlevel] tag does alot of things that could quite comfortably
be split into several parts, like setting the next scenario, the
end level text, message duration, credits. this commit adds
separate lua api for each of these, leaving the rest in end_level,
and the lua tag implementation calls these variously.





More information about the Commits mailing list