[Commits] [wesnoth/wesnoth] 5109a3: Revert use of Lua for teleport, leadership, and ba...

GitHub noreply at github.com
Sun Jun 25 04:45:01 UTC 2017


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

  Changed paths:
    M data/core/_main.cfg
    M data/core/macros/abilities.cfg
    R data/lua/teleport_filter.lua

  Log Message:
  -----------
  Revert use of Lua for teleport, leadership, and backstab


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

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

  Log Message:
  -----------
  Use WFL for leadership to avoid needing delayed variable substitution
(Similarly, also use WFL for the inspire ability in THoT)


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

  Changed paths:
    M changelog
    M src/ai/formula/ai.cpp
    M src/formula/callable_objects.cpp
    M src/formula/callable_objects.hpp
    M src/terrain/filter.cpp

  Log Message:
  -----------
  Add owner key to terrain space callable


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

  Changed paths:
    M changelog
    M src/units/filter.cpp

  Log Message:
  -----------
  SUF: Fix $other_unit not being available in nested [and], [or], [not]


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

  Changed paths:
    M changelog
    M src/pathfind/teleport.cpp
    M src/terrain/filter.cpp
    M src/terrain/filter.hpp

  Log Message:
  -----------
  Move implementation of $teleport_unit into SLF so it can be passed to location formulas


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

  Changed paths:
    M changelog
    M src/ai/formula/function_table.cpp
    M src/formula/function.cpp
    M src/formula/function.hpp

  Log Message:
  -----------
  WFL: Fix stack overflow when attempting to call a non-existent function


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

  Changed paths:
    M changelog
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/ai/formula/function_table.cpp
    M src/formula/function.cpp
    M src/formula/function.hpp
    A src/formula/function_gamestate.cpp
    A src/formula/function_gamestate.hpp
    M src/side_filter.cpp
    M src/terrain/filter.cpp
    M src/units/attack_type.cpp
    M src/units/filter.cpp

  Log Message:
  -----------
  Allow filter formulas to use a number of previously FormulaAI-exclusive functions


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

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

  Log Message:
  -----------
  Use WFL for teleport ability to avoid requiring delayed variable substitution


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

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

  Log Message:
  -----------
  Add WFL functions for manipulating locations


  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


  Commit: 9015d9b57de08f99753a3261972065bf78821d30
      https://github.com/wesnoth/wesnoth/commit/9015d9b57de08f99753a3261972065bf78821d30
  Author: Celtic Minstrel <CelticMinstrel at users.noreply.github.com>
  Date:   2017-06-25 (Sun, 25 Jun 2017)

  Changed paths:
    M changelog
    M data/campaigns/The_Hammer_of_Thursagan/utils/abilities.cfg
    M data/core/_main.cfg
    M data/core/macros/abilities.cfg
    R data/lua/teleport_filter.lua
    M projectfiles/VC12/wesnoth.vcxproj
    M projectfiles/VC12/wesnoth.vcxproj.filters
    M source_lists/wesnoth
    M src/ai/formula/ai.cpp
    M src/ai/formula/function_table.cpp
    M src/formula/callable_objects.cpp
    M src/formula/callable_objects.hpp
    M src/formula/function.cpp
    M src/formula/function.hpp
    A src/formula/function_gamestate.cpp
    A src/formula/function_gamestate.hpp
    M src/pathfind/teleport.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/side_filter.cpp
    M src/terrain/filter.cpp
    M src/terrain/filter.hpp
    M src/units/abilities.cpp
    M src/units/attack_type.cpp
    M src/units/filter.cpp
    M src/units/filter.hpp
    M src/units/unit.hpp

  Log Message:
  -----------
  Merge pull request #1806 from wesnoth/wfl_filters

Use WFL formulas instead of Lua for leadership, backstab, and teleport abilities


Compare: https://github.com/wesnoth/wesnoth/compare/b244db3b1837...9015d9b57de0


More information about the Commits mailing list