[Commits] [wesnoth/wesnoth] 5596e6: Properly port [kill] to Lua

GitHub noreply at github.com
Mon Apr 24 21:56:55 UTC 2017


  Branch: refs/heads/wml_tag_porting
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 5596e6682f974abb0488daab5f31089a59c0dc1b
      https://github.com/wesnoth/wesnoth/commit/5596e6682f974abb0488daab5f31089a59c0dc1b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 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: 7cd638ffcccba1e4cbf22c4dee48028b9b667314
      https://github.com/wesnoth/wesnoth/commit/7cd638ffcccba1e4cbf22c4dee48028b9b667314
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 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: 3793951208e6de9b4a83599e7a4414c1bc89c2be
      https://github.com/wesnoth/wesnoth/commit/3793951208e6de9b4a83599e7a4414c1bc89c2be
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 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: e0141d7fff85794517b0ee0732ba261ce26eee30
      https://github.com/wesnoth/wesnoth/commit/e0141d7fff85794517b0ee0732ba261ce26eee30
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/scripting/lua_audio.cpp

  Log Message:
  -----------
  Return nil instead of #wesnoth.playlist+1 when the current track is not on the playlist


  Commit: 81524103c18446a8a3c5fbd0d7337fc3c31c36de
      https://github.com/wesnoth/wesnoth/commit/81524103c18446a8a3c5fbd0d7337fc3c31c36de
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 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: 1cd4b366d9e6db2cea168e931c1e96802f947005
      https://github.com/wesnoth/wesnoth/commit/1cd4b366d9e6db2cea168e931c1e96802f947005
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

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

  Log Message:
  -----------
  Allow removing a track by index

Also fixup the "set track" interface


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

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

  Log Message:
  -----------
  Commit music changes only after event completes, not after any control=flow tag is executed


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

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

  Log Message:
  -----------
  Allow inserting a track into the middle of the playlist


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

  Changed paths:
    M src/scripting/lua_audio.cpp

  Log Message:
  -----------
  Allow assigning a config to an existing track to overwrite it


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

  Changed paths:
    M src/sound.cpp

  Log Message:
  -----------
  Use std::find when checking for duplicate tracks


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

  Changed paths:
    M src/sound.cpp

  Log Message:
  -----------
  fixup! Allow inserting a track into the middle of the playlist


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

  Changed paths:
    M src/scripting/lua_audio.cpp

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


  Commit: 100f73ca2e40eeb09f3ddef0d4e386e8e06312f4
      https://github.com/wesnoth/wesnoth/commit/100f73ca2e40eeb09f3ddef0d4e386e8e06312f4
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 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: 3d69b7729b0007fa565b94bffe9aac8989a5ac5a
      https://github.com/wesnoth/wesnoth/commit/3d69b7729b0007fa565b94bffe9aac8989a5ac5a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-24 (Mon, 24 Apr 2017)

  Changed paths:
    M src/scripting/lua_audio.cpp

  Log Message:
  -----------
  Handle all plausible cases of assigning into the playlist


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

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

  Log Message:
  -----------
  Allow changing the current track to an existing one on the playlist


Compare: https://github.com/wesnoth/wesnoth/compare/6542ec75e747...1cb3eb476528


More information about the Commits mailing list