[Commits] [wesnoth/wesnoth] ff618e: Eliminate resources.hpp usage in game_lua_kernel

GitHub noreply at github.com
Tue Apr 5 06:25:13 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: ff618e7eb3cac51cb723bf221ae577e687c49ae7
      https://github.com/wesnoth/wesnoth/commit/ff618e7eb3cac51cb723bf221ae577e687c49ae7
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-04 (Mon, 04 Apr 2016)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Eliminate resources.hpp usage in game_lua_kernel


  Commit: 5cf12798ce832a270861bdbe02b339599b2cb9c5
      https://github.com/wesnoth/wesnoth/commit/5cf12798ce832a270861bdbe02b339599b2cb9c5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2016-04-05 (Tue, 05 Apr 2016)

  Changed paths:
    M changelog
    M data/lua/wml-tags.lua
    M data/lua/wml/message.lua
    M src/game_events/action_wml.cpp
    M src/game_events/action_wml.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/soundsource.cpp
    M src/soundsource.hpp
    M src/storyscreen/controller.cpp
    M src/storyscreen/part.cpp

  Log Message:
  -----------
  Port "trivial" WML tags to Lua

This is more about adding Lua API for things that should have it than porting WML tags to Lua.
The following new Lua API functions have been added to the wesnoth table:
- add_fog, remove_fog
- add_sound_source, remove_sound_source, get_sound_source
- log


Compare: https://github.com/wesnoth/wesnoth/compare/a275f22ebee2...5cf12798ce83


More information about the Commits mailing list