[Commits] [wesnoth/wesnoth] 479704: Stop overloading [unit]placement so much

GitHub noreply at github.com
Fri May 5 00:16:54 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 479704069ab50d5056564aea3d25aede778d0c57
      https://github.com/wesnoth/wesnoth/commit/479704069ab50d5056564aea3d25aede778d0c57
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M src/actions/unit_creator.cpp

  Log Message:
  -----------
  Stop overloading [unit]placement so much

Other than deprecated usage, the placement key now only indicates
the general form of placement - map, recall, or leader.

The new keys passable and overwrite (both default false) specify
whether to ensure the hex is passable and
whether to overwrite an existing unit.

For placement at a named location, location_id is now used, to match
the key used for filtering on a named location. Its presence overrides
any specified x and y coordinates, unless the named location does not
exist.


  Commit: a15e6379c2cac1f2057e64925261f7ae237c8f6a
      https://github.com/wesnoth/wesnoth/commit/a15e6379c2cac1f2057e64925261f7ae237c8f6a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M data/lua/wml/animate_unit.lua
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Lua: Rename wesnoth.map_location -> wesnoth.map

Eventually, game_lua_kernel will add additional stuff to this table.


  Commit: a3a84076b8501a3fc7bb2d45826e1639c62f98db
      https://github.com/wesnoth/wesnoth/commit/a3a84076b8501a3fc7bb2d45826e1639c62f98db
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M changelog
    M data/lua/wml/animate_unit.lua
    M data/lua/wml/kill.lua
    M src/scripting/lua_unit_attacks.cpp

  Log Message:
  -----------
  Support [primary_attack] and [secondary_attack] in [kill]


  Commit: b6eedd3df6681b0d1baad16475e220009f818b5b
      https://github.com/wesnoth/wesnoth/commit/b6eedd3df6681b0d1baad16475e220009f818b5b
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M changelog
    M data/test/macros/wml_unit_test_macros.cfg
    M data/test/scenarios/ai/_main.cfg
    M data/test/scenarios/characterize_pathfinding.cfg
    M data/test/scenarios/filter_vision.cfg
    M data/test/scenarios/has_ally.cfg
    M data/test/scenarios/move_skip_sighted.cfg
    M data/test/scenarios/sighted_events.cfg
    M data/test/scenarios/test_check_victory.cfg
    M data/test/scenarios/test_grunt_tod_damage.cfg
    M data/test/scenarios/test_move.cfg
    M data/test/scenarios/test_relative_dir.cfg
    M src/game_config_manager.cpp
    M src/game_config_manager.hpp
    M src/game_launcher.cpp
    M src/game_launcher.hpp
    M src/gui/dialogs/title_screen.cpp
    M src/hotkey/hotkey_command.cpp
    M src/hotkey/hotkey_command.hpp

  Log Message:
  -----------
  Allow launching test scenarios from the titlescreen

Unit test scenarios are excluded. There is no button and no default hotkey.


  Commit: cef3e0d2662743cf97a04171824eaa6a16ec56b8
      https://github.com/wesnoth/wesnoth/commit/cef3e0d2662743cf97a04171824eaa6a16ec56b8
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M src/gui/dialogs/message.cpp
    M src/gui/dialogs/message.hpp
    M src/scripting/lua_gui2.cpp
    M src/scripting/lua_gui2.hpp
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Add wesnoth.show_message_box function


  Commit: 2f15a08b7896f54a631ce0934c0c16b4e4affc1a
      https://github.com/wesnoth/wesnoth/commit/2f15a08b7896f54a631ce0934c0c16b4e4affc1a
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-05-04 (Thu, 04 May 2017)

  Changed paths:
    M changelog
    A data/lua/core.lua
    M data/lua/ilua.lua
    M data/lua/package.lua
    M src/scripting/lua_kernel_base.cpp

  Log Message:
  -----------
  Add a Lua file for things to be automatically loaded by the engine in all contexts


Compare: https://github.com/wesnoth/wesnoth/compare/1e02a0fcc3b5...2f15a08b7896


More information about the Commits mailing list