[Commits] [wesnoth/wesnoth] 91ac90: Lua API: Add wesnoth.show_message_dialog()

GitHub noreply at github.com
Sat Sep 19 16:14:20 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 91ac90db111eac4330478179622dd05afaf30cf5
      https://github.com/wesnoth/wesnoth/commit/91ac90db111eac4330478179622dd05afaf30cf5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-18 (Fri, 18 Sep 2015)

  Changed paths:
    M changelog
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_gui2.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  Lua API: Add wesnoth.show_message_dialog()


  Commit: 6200f60c79ea6b75a5417e63249258da5a967a40
      https://github.com/wesnoth/wesnoth/commit/6200f60c79ea6b75a5417e63249258da5a967a40
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M data/lua/wml-tags.lua
    A data/lua/wml-utils.lua

  Log Message:
  -----------
  Split some utility functions from wml-tags.lua into a new file


  Commit: d4835b0157bc83880f316479abfef8101084ae42
      https://github.com/wesnoth/wesnoth/commit/d4835b0157bc83880f316479abfef8101084ae42
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M data/lua/wml-tags.lua
    A data/lua/wml/message.lua
    M src/game_events/action_wml.cpp
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Port [message] ActionWML tag from C++ to Lua

Lua API additions:
- wesnoth.skipping_replay()
- wesnoth.deselect_hex()

Note: vultraz and aetheryn deserve partial credit for the Lua implementation


  Commit: 376020097fbce1409d59838437c7510736038b88
      https://github.com/wesnoth/wesnoth/commit/376020097fbce1409d59838437c7510736038b88
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M data/lua/wml-tags.lua
    A data/lua/wml/object.lua
    M src/game_events/action_wml.cpp
    M src/game_events/manager.cpp
    M src/game_events/manager.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_gui2.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  Port [object] ActionWML tag from C++ to Lua

Lua API additions:
- wesnoth.show_popup_dialog()
- optional write_to_mods parameter to wesnoth.add_modification


  Commit: e3fc258ce9f46a26979fc10632716d8714c9ec54
      https://github.com/wesnoth/wesnoth/commit/e3fc258ce9f46a26979fc10632716d8714c9ec54
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M changelog
    M src/scripting/lua_gui2.cpp

  Log Message:
  -----------
  Simplify wesnoth.show_message_dialog implementation


  Commit: 65256c61aa41d7c83d4074d3bf83f0601dcaef5a
      https://github.com/wesnoth/wesnoth/commit/65256c61aa41d7c83d4074d3bf83f0601dcaef5a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M src/savegame.cpp

  Log Message:
  -----------
  Convert used items from old saves


  Commit: a93ce122ff8881e11c6af4855dbbe8223e655298
      https://github.com/wesnoth/wesnoth/commit/a93ce122ff8881e11c6af4855dbbe8223e655298
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M changelog
    M data/lua/wml/object.lua

  Log Message:
  -----------
  Add [found_item] ConditionalWML that checks if an [object] ActionWML has been taken


  Commit: 03580ed9a9ca685da3e201799c1743715d055180
      https://github.com/wesnoth/wesnoth/commit/03580ed9a9ca685da3e201799c1743715d055180
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M data/lua/wml-utils.lua
    M data/lua/wml/object.lua

  Log Message:
  -----------
  Allow spaces in [object]id= and show error if invalid characters are present


  Commit: 907d527cc38f5d4a26ec124ddced4542c1226308
      https://github.com/wesnoth/wesnoth/commit/907d527cc38f5d4a26ec124ddced4542c1226308
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M changelog
    M data/lua/wml/message.lua
    M src/game_events/pump.cpp
    M src/game_events/pump.hpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp

  Log Message:
  -----------
  Lua API: Replace wesnoth.skipping_replay() with is_skipping_messages() and skip_messages()


  Commit: e841252f19e657794a2dbf07b9faf57215f90e20
      https://github.com/wesnoth/wesnoth/commit/e841252f19e657794a2dbf07b9faf57215f90e20
  Author: CelticMinstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2015-09-19 (Sat, 19 Sep 2015)

  Changed paths:
    M changelog
    M data/lua/wml-tags.lua
    A data/lua/wml-utils.lua
    A data/lua/wml/message.lua
    A data/lua/wml/object.lua
    M src/game_events/action_wml.cpp
    M src/game_events/manager.cpp
    M src/game_events/manager.hpp
    M src/savegame.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/scripting/game_lua_kernel.hpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_gui2.hpp
    M src/scripting/lua_kernel_base.cpp
    M src/scripting/lua_kernel_base.hpp

  Log Message:
  -----------
  Merge pull request #492 from CelticMinstrel/lua-message-object

Port [message] and [object] ActionWML to Lua


Compare: https://github.com/wesnoth/wesnoth/compare/a5184181df15...e841252f19e6


More information about the Commits mailing list