[Commits] [wesnoth/wesnoth] 86b468: Use vector/templating for Lua-like bulk registrati...
GitHub
noreply at github.com
Thu Mar 31 06:13:55 UTC 2016
Branch: refs/heads/master
Home: https://github.com/wesnoth/wesnoth
Commit: 86b468037114ac628f1d7db82f764cfe34064df7
https://github.com/wesnoth/wesnoth/commit/86b468037114ac628f1d7db82f764cfe34064df7
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-03-31 (Thu, 31 Mar 2016)
Changed paths:
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_cpp_function.cpp
M src/scripting/lua_cpp_function.hpp
M src/scripting/lua_kernel_base.cpp
M src/scripting/plugins/context.cpp
M src/scripting/plugins/context.hpp
M src/wesnoth.cpp
Log Message:
-----------
Use vector/templating for Lua-like bulk registration functions
Commit: 4c45683d4d6de4c938add9146eeed272fda33881
https://github.com/wesnoth/wesnoth/commit/4c45683d4d6de4c938add9146eeed272fda33881
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-03-31 (Thu, 31 Mar 2016)
Changed paths:
M src/ai/lua/core.cpp
M src/scripting/game_lua_kernel.cpp
M src/scripting/lua_common.cpp
M src/scripting/lua_common.hpp
Log Message:
-----------
Modernize luaW_getglobal
The variadic form now uses a variadic template, and a vector form has been added.
Since the nullptr sentinel argument is no longer required, it has been removed from all calls.
Commit: fb6031d6a14c868914a91afd14fcd43c41faf9eb
https://github.com/wesnoth/wesnoth/commit/fb6031d6a14c868914a91afd14fcd43c41faf9eb
Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
Date: 2016-03-31 (Thu, 31 Mar 2016)
Changed paths:
M changelog
M src/scripting/game_lua_kernel.cpp
Log Message:
-----------
lua_function= in SUF now has limited support for non-global functions
To be precise, the string is considered as a dot-separated list of components.
Compare: https://github.com/wesnoth/wesnoth/compare/1ae22aa046db...fb6031d6a14c
More information about the Commits
mailing list