[Commits] [wesnoth/wesnoth] 3c5dfe: Properly port [music] to Lua

GitHub noreply at github.com
Sat Apr 8 11:18:22 UTC 2017


  Branch: refs/heads/wml_tag_porting
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 3c5dfe76da9e803a686e7a8402d5cb3d4c23c75c
      https://github.com/wesnoth/wesnoth/commit/3c5dfe76da9e803a686e7a8402d5cb3d4c23c75c
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    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/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: 411f4d9954b218a49ffc7fab85de2be220e80ad1
      https://github.com/wesnoth/wesnoth/commit/411f4d9954b218a49ffc7fab85de2be220e80ad1
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-07 (Fri, 07 Apr 2017)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_common.hpp
    M src/scripting/lua_unit.cpp

  Log Message:
  -----------
  Lua: Add float mutator macros and some fixups/cleanup to other mutator/accessor macros
- Enclose all macro arguments in parentheses, except those meant to be statements
- Use pushlstring to allow strings with nulls
- New float mutators


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

  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/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: 953da8b80c47e92c607029e342cefb4adb7c4369
      https://github.com/wesnoth/wesnoth/commit/953da8b80c47e92c607029e342cefb4adb7c4369
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-04-08 (Sat, 08 Apr 2017)

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

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


Compare: https://github.com/wesnoth/wesnoth/compare/ab905676a102...953da8b80c47


More information about the Commits mailing list