[Commits] [wesnoth/wesnoth] 339587: Properly port [kill] to Lua

GitHub noreply at github.com
Sat Apr 29 06:25:12 UTC 2017


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

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

  Log Message:
  -----------
  Properly port [kill] to Lua


  Commit: 0a591cd4242e148f68bf6e734ad834b84e0f3ad9
      https://github.com/wesnoth/wesnoth/commit/0a591cd4242e148f68bf6e734ad834b84e0f3ad9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

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

  Log Message:
  -----------
  Properly port [scroll] to Lua


  Commit: 6906ced4e7321758c219cca50faaa2fd6bc38b13
      https://github.com/wesnoth/wesnoth/commit/6906ced4e7321758c219cca50faaa2fd6bc38b13
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M changelog
    M data/lua/backwards-compatibility.lua
    M data/lua/wml-tags.lua
    M data/lua/wml-utils.lua
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/playsingle_controller.cpp
    M src/scripting/game_lua_kernel.cpp
    A src/scripting/lua_audio.cpp
    A src/scripting/lua_audio.hpp
    M src/scripting/lua_team.cpp
    M src/sound.cpp
    M src/sound.hpp
    M src/sound_music_track.hpp

  Log Message:
  -----------
  Properly port [music] to Lua


  Commit: 5b4dbe1c61086af398eb1e20f66a082c7b702614
      https://github.com/wesnoth/wesnoth/commit/5b4dbe1c61086af398eb1e20f66a082c7b702614
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

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

  Log Message:
  -----------
  Port [volume] to Lua

This also fixes [volume] considering 100% to be an invalid volume.


  Commit: eb0947c863b08a33667f204f0885b4818101988f
      https://github.com/wesnoth/wesnoth/commit/eb0947c863b08a33667f204f0885b4818101988f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M data/lua/wml-utils.lua
    M src/actions/undo_action.cpp
    M src/game_events/handlers.cpp
    M src/scripting/lua_audio.cpp
    M src/sound.cpp
    M src/sound.hpp

  Log Message:
  -----------
  Some improvements to the new Lua music API
- Allow removing a track by index and fixup the "set track" interface
- Commit music changes only after event completes, not after any control=flow tag is executed
- Allow inserting a track into the middle of the playlist
- Allow assigning a config to an existing track to overwrite it
- Use std::find when checking for duplicate tracks


  Commit: c04456dec151d907de58493b9abb0494c8fc91be
      https://github.com/wesnoth/wesnoth/commit/c04456dec151d907de58493b9abb0494c8fc91be
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-27 (Thu, 27 Apr 2017)

  Changed paths:
    M src/scripting/lua_audio.cpp
    M src/sound.cpp
    M src/sound_music_track.hpp

  Log Message:
  -----------
  Store music tracks as shared_ptrs


  Commit: a694201c0279bf58717523556aa7e731a25bdd14
      https://github.com/wesnoth/wesnoth/commit/a694201c0279bf58717523556aa7e731a25bdd14
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M changelog
    M src/scripting/lua_audio.cpp
    M src/sound.cpp
    M src/sound.hpp

  Log Message:
  -----------
  A few more improvements to the music API
- Handle all plausible cases of assigning into the playlist
- Allow changing the current track to an existing one on the playlist
- Allow getting playlist as a real array instead of an array-like proxy
  (Could be useful for storing it to a WML variable, for example)


  Commit: cdca6b79d83a3f1521824351f53d2ced6f2722b9
      https://github.com/wesnoth/wesnoth/commit/cdca6b79d83a3f1521824351f53d2ced6f2722b9
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2017-04-29 (Sat, 29 Apr 2017)

  Changed paths:
    M changelog
    M data/lua/backwards-compatibility.lua
    M data/lua/wml-tags.lua
    M data/lua/wml-utils.lua
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/actions/undo_action.cpp
    M src/game_events/action_wml.cpp
    M src/game_events/handlers.cpp
    M src/playsingle_controller.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    A src/scripting/lua_audio.cpp
    A src/scripting/lua_audio.hpp
    M src/scripting/lua_team.cpp
    M src/sound.cpp
    M src/sound.hpp
    M src/sound_music_track.hpp

  Log Message:
  -----------
  Merge pull request #962 from wesnoth/wml_tag_porting

Porting WML tags to Lua (part 2)


Compare: https://github.com/wesnoth/wesnoth/compare/bac460baef5b...cdca6b79d83a


More information about the Commits mailing list