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

Celtic Minstrel noreply at github.com
Thu Mar 4 19:10:29 UTC 2021


  Branch: refs/heads/lua_reorg
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a1502f7d0e8466d57ef60265dd8052ace2fc997f
      https://github.com/wesnoth/wesnoth/commit/a1502f7d0e8466d57ef60265dd8052ace2fc997f
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: 51e954d008db80179fec771316d57c3c1b08aba2
      https://github.com/wesnoth/wesnoth/commit/51e954d008db80179fec771316d57c3c1b08aba2
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 2021)

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

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


  Commit: 64594eb74f6d00cb1a40d947df1995e4b5a27658
      https://github.com/wesnoth/wesnoth/commit/64594eb74f6d00cb1a40d947df1995e4b5a27658
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: ec853ff8023e089a36be6995b12db04f5e61f007
      https://github.com/wesnoth/wesnoth/commit/ec853ff8023e089a36be6995b12db04f5e61f007
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: f1b52a4a8a8353a3cf8ec9a92c490ace14b87249
      https://github.com/wesnoth/wesnoth/commit/f1b52a4a8a8353a3cf8ec9a92c490ace14b87249
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: 451bef5b28697122fd68f5435d49e7a8727ac286
      https://github.com/wesnoth/wesnoth/commit/451bef5b28697122fd68f5435d49e7a8727ac286
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: 41345ccd08ad0a211ec0cd8b69ba051d0e461b2a
      https://github.com/wesnoth/wesnoth/commit/41345ccd08ad0a211ec0cd8b69ba051d0e461b2a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: 71650611baa0462724a2832965f5f6b3e0a99403
      https://github.com/wesnoth/wesnoth/commit/71650611baa0462724a2832965f5f6b3e0a99403
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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: cecb63679f24c611e949b4a659c0373337dec5a0
      https://github.com/wesnoth/wesnoth/commit/cecb63679f24c611e949b4a659c0373337dec5a0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2021-03-04 (Thu, 04 Mar 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/c67d2bbcf85b...cecb63679f24



More information about the Commits mailing list