[wesnoth-commits] [wesnoth/wesnoth] acea98: Start a Lua mathx module to hold round, shuffle, r...

Celtic Minstrel noreply at github.com
Sun Feb 21 05:18:45 UTC 2021


  Branch: refs/heads/lua_reorg
  Home:   https://github.com/wesnoth/wesnoth
  Commit: acea98c649baa6e0ffcd512d55234631f7f2c0a4
      https://github.com/wesnoth/wesnoth/commit/acea98c649baa6e0ffcd512d55234631f7f2c0a4
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    A data/lua/core/mathx.lua
    M data/lua/helper.lua
    M projectfiles/VC16/wesnoth.vcxproj
    M projectfiles/VC16/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/scripting/lua_kernel_base.cpp
    A src/scripting/lua_mathx.cpp
    A src/scripting/lua_mathx.hpp

  Log Message:
  -----------
  Start a Lua mathx module to hold round, shuffle, random, and a few other things


  Commit: 29712eb5581cca0a3f009c54f1f097bcd4c84272
      https://github.com/wesnoth/wesnoth/commit/29712eb5581cca0a3f009c54f1f097bcd4c84272
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M data/lua/core/_initial.lua
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Add a versions module


  Commit: 8c16bbee44a01edf11bc0fe444182045c3597780
      https://github.com/wesnoth/wesnoth/commit/8c16bbee44a01edf11bc0fe444182045c3597780
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M data/lua/core/_initial.lua
    A data/lua/core/audio.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_audio.cpp
    M src/soundsource.cpp
    M src/soundsource.hpp

  Log Message:
  -----------
  Add an audio module


  Commit: e8c88129cdaf289a3549a8078d85eb7add6c90e9
      https://github.com/wesnoth/wesnoth/commit/e8c88129cdaf289a3549a8078d85eb7add6c90e9
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M data/lua/core/gui.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Move open_help to the gui module


  Commit: b7091358b01316f59557dcfe5e7275bca5246168
      https://github.com/wesnoth/wesnoth/commit/b7091358b01316f59557dcfe5e7275bca5246168
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M data/lua/core/units.lua
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_unit_attacks.cpp

  Log Message:
  -----------
  Move create_animator and create_weapon into the units module


  Commit: b8f2666e33ca73b49089b2e8bd6c6c9145e014ae
      https://github.com/wesnoth/wesnoth/commit/b8f2666e33ca73b49089b2e8bd6c6c9145e014ae
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M data/lua/core/interface.lua
    M data/lua/wml-tags.lua
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Now color_adjust takes three arguments instead of a config

Consider it part of the public API now.


  Commit: 6b86db9943b016a166bc84066a5e432b946b445f
      https://github.com/wesnoth/wesnoth/commit/6b86db9943b016a166bc84066a5e432b946b445f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Deprecate wesnoth.game_config.version

There's no point having the same info in two places


  Commit: f96a5acc35b591a9af2a1720471c68ba27607ecf
      https://github.com/wesnoth/wesnoth/commit/f96a5acc35b591a9af2a1720471c68ba27607ecf
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M src/scripting/lua_common.hpp
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Make it easier to deprecate Lua attributes in C++ __index metafunctions


  Commit: 1e78f5212c80d3fa8539da014e76da05228d0149
      https://github.com/wesnoth/wesnoth/commit/1e78f5212c80d3fa8539da014e76da05228d0149
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-02-21 (Sun, 21 Feb 2021)

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Add a new scenario module and move some functions there and to game_config

Addresses #4907


Compare: https://github.com/wesnoth/wesnoth/compare/3ce27d02849a...1e78f5212c80



More information about the Commits mailing list