[Commits] [wesnoth/wesnoth] a4b1c1: Add enemy_of WFL function to test alliances

GitHub noreply at github.com
Sun Jun 25 04:37:49 UTC 2017


  Branch: refs/heads/wfl_filters
  Home:   https://github.com/wesnoth/wesnoth
  Commit: a4b1c14d5e1acc4b65b9bc3287b999fad8721872
      https://github.com/wesnoth/wesnoth/commit/a4b1c14d5e1acc4b65b9bc3287b999fad8721872
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M changelog
    M src/formula/function_gamestate.cpp

  Log Message:
  -----------
  Add enemy_of WFL function to test alliances
Accepts unit and team callables as well as side numbers


  Commit: bdb42b284851cd8811985a18c2a97d48d8c5df45
      https://github.com/wesnoth/wesnoth/commit/bdb42b284851cd8811985a18c2a97d48d8c5df45
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M data/core/macros/abilities.cfg

  Log Message:
  -----------
  Use WFL to implement backstab, to avoid needing delayed variable substitution


  Commit: 93b9a4f80ee93b3260e1c10e79302c54921241b5
      https://github.com/wesnoth/wesnoth/commit/93b9a4f80ee93b3260e1c10e79302c54921241b5
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

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

  Log Message:
  -----------
  Expose the location filter reference unit to the Lua API


  Commit: 6a091f085111e85d7147874da7c00e5fea3e1377
      https://github.com/wesnoth/wesnoth/commit/6a091f085111e85d7147874da7c00e5fea3e1377
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M changelog
    M src/scripting/game_lua_kernel.cpp
    M src/units/filter.cpp
    M src/units/filter.hpp

  Log Message:
  -----------
  Lua: Support the extra wesnoth.match_unit arguments also in wesnoth.get_units


  Commit: 424ceab053f7839e7ac60e441ead31dda45f88ee
      https://github.com/wesnoth/wesnoth/commit/424ceab053f7839e7ac60e441ead31dda45f88ee
  Author: gfgtdf <daniel.gfgtdf at gmail.com>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M src/units/abilities.cpp
    M src/units/unit.hpp

  Log Message:
  -----------
  Allow formula code in ability and weapon special attributes.


  Commit: d2067e4768bd8f616f461a5149bc2db1121c07cd
      https://github.com/wesnoth/wesnoth/commit/d2067e4768bd8f616f461a5149bc2db1121c07cd
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M changelog
    M src/units/abilities.cpp
    M src/units/unit.hpp

  Log Message:
  -----------
  Some changes to ability formulas implementation
- Detect a formula by parentheses, as in GUI2 and movetype patching
- Use "self" and "other" instead of "sender" and "receiver"

Closes #1802


  Commit: c47b3f32084ccaaeff30c88f07adccca2ef86bf0
      https://github.com/wesnoth/wesnoth/commit/c47b3f32084ccaaeff30c88f07adccca2ef86bf0
  Author: Celtic Minstrel <celtic.minstrel.ca at some.place>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M data/campaigns/The_Hammer_of_Thursagan/utils/abilities.cfg
    M data/core/macros/abilities.cfg

  Log Message:
  -----------
  Simplify leadership (and THoT inspire) using new ability formulas


Compare: https://github.com/wesnoth/wesnoth/compare/3d228eb951d4...c47b3f32084c


More information about the Commits mailing list