[Commits] [wesnoth/wesnoth] 12c96a: New autostored WML variable $other_unit for [filte...

GitHub noreply at github.com
Sat Sep 19 19:44:32 UTC 2015


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

  Changed paths:
    M changelog
    M data/core/macros/abilities.cfg
    M src/actions/attack.cpp
    M src/unit.hpp
    M src/unit_abilities.cpp
    M src/unit_filter.cpp
    M src/unit_filter.hpp

  Log Message:
  -----------
  New autostored WML variable $other_unit for [filter_adjacent]

Also accessible in:
- Weapon specials ([filter_self], [filter_opponent], [filter_attacker], [filter_defender])
- Abilities ([affect_adjacent][filter])

The backstab weapon special is now implemented using this.
(In a weapon special filter, units are guaranteed to be facing each other.)


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

  Changed paths:
    M changelog
    M src/map_location.cpp

  Log Message:
  -----------
  New rotate operators for directions


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

  Changed paths:
    M data/campaigns/Dead_Water/units/Soldier_King.cfg
    M data/campaigns/Dead_Water/units/Warrior_King.cfg
    M data/campaigns/Dead_Water/units/Young_King.cfg
    M data/campaigns/Delfadors_Memoirs/units/King_of_Wesnoth.cfg
    M data/campaigns/Delfadors_Memoirs/units/Mage_Commander.cfg
    M data/campaigns/Delfadors_Memoirs/units/Mage_Leader.cfg
    M data/campaigns/Delfadors_Memoirs/units/Mage_Magister.cfg
    M data/campaigns/Heir_To_The_Throne/units/Battle_Princess.cfg
    M data/campaigns/Heir_To_The_Throne/units/Commander.cfg
    M data/campaigns/Heir_To_The_Throne/units/Lord.cfg
    M data/campaigns/Heir_To_The_Throne/units/Princess.cfg
    M data/campaigns/Liberty/units/Death_Squire.cfg
    M data/campaigns/Liberty/units/Shadow_Lord.cfg
    M data/campaigns/Liberty/units/Shadow_Mage.cfg
    M data/campaigns/Sceptre_of_Fire/units/Haldric_II.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Noble_Commander.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Noble_Lord.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Warrior_King.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Wesfolk_Lady.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Wesfolk_Leader.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Wesfolk_Outcast.cfg
    M data/campaigns/The_South_Guard/units/Horseman_Commander.cfg
    M data/campaigns/The_South_Guard/units/Infantry_Commander.cfg
    M data/campaigns/The_South_Guard/units/Infantry_Lieutenant.cfg
    M data/campaigns/The_South_Guard/units/Junior_Commander.cfg
    M data/campaigns/The_South_Guard/units/Mounted_General.cfg
    M data/campaigns/Under_the_Burning_Suns/units/elves/Desert_Captain.cfg
    M data/campaigns/Under_the_Burning_Suns/units/elves/Desert_Marshal.cfg
    M data/campaigns/Under_the_Burning_Suns/units/elves/Kaleh.cfg
    M data/campaigns/Under_the_Burning_Suns/units/humans/Human_Commander.cfg
    M data/core/macros/abilities.cfg
    M data/core/macros/deprecated-utils.cfg
    M data/core/units/drakes/Flameheart.cfg
    M data/core/units/drakes/Flare.cfg
    M data/core/units/elves/Captain.cfg
    M data/core/units/elves/Marshal.cfg
    M data/core/units/goblins/Rouser.cfg
    M data/core/units/humans/Loyalist_General.cfg
    M data/core/units/humans/Loyalist_Grand_Marshal.cfg
    M data/core/units/humans/Loyalist_Lieutenant.cfg
    M data/core/units/humans/Loyalist_Sergeant.cfg
    M data/core/units/monsters/Fire_Dragon.cfg
    M data/core/units/orcs/Leader.cfg
    M data/core/units/orcs/Ruler.cfg
    M data/core/units/orcs/Sovereign.cfg
    M data/core/units/undead/Skele_Death_Knight.cfg
    M data/tools/wmllint

  Log Message:
  -----------
  Rewrite leadership ability as a single macro using $other_unit

Note: It's no longer supported to use the macro in a unit with a non-matching level,
for example giving a 2nd-level unit 4th-level leadership.


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

  Changed paths:
    M src/unit_abilities.cpp

  Log Message:
  -----------
  Add deprecation warning for backstab=


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

  Changed paths:
    M changelog
    M src/unit_abilities.cpp

  Log Message:
  -----------
  Enhance ability/weapon special [filter_adjacent] and [filter_adjacent_location]

- Now supports count=
- Now supports is_enemy= in [filter_adjacent]


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

  Changed paths:
    M src/scripting/game_lua_kernel.cpp

  Log Message:
  -----------
  Expose the extra filter unit to the Lua API


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

  Changed paths:
    M src/map_location.cpp

  Log Message:
  -----------
  Change direction rotation syntax to not be confused with variable substitution


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

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

  Log Message:
  -----------
  Clarify changelog


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

  Changed paths:
    M changelog
    M data/campaigns/Dead_Water/units/Soldier_King.cfg
    M data/campaigns/Dead_Water/units/Warrior_King.cfg
    M data/campaigns/Dead_Water/units/Young_King.cfg
    M data/campaigns/Delfadors_Memoirs/units/King_of_Wesnoth.cfg
    M data/campaigns/Delfadors_Memoirs/units/Mage_Commander.cfg
    M data/campaigns/Delfadors_Memoirs/units/Mage_Leader.cfg
    M data/campaigns/Delfadors_Memoirs/units/Mage_Magister.cfg
    M data/campaigns/Heir_To_The_Throne/units/Battle_Princess.cfg
    M data/campaigns/Heir_To_The_Throne/units/Commander.cfg
    M data/campaigns/Heir_To_The_Throne/units/Lord.cfg
    M data/campaigns/Heir_To_The_Throne/units/Princess.cfg
    M data/campaigns/Liberty/units/Death_Squire.cfg
    M data/campaigns/Liberty/units/Shadow_Lord.cfg
    M data/campaigns/Liberty/units/Shadow_Mage.cfg
    M data/campaigns/Sceptre_of_Fire/units/Haldric_II.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Noble_Commander.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Noble_Lord.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Warrior_King.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Wesfolk_Lady.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Wesfolk_Leader.cfg
    M data/campaigns/The_Rise_Of_Wesnoth/units/Wesfolk_Outcast.cfg
    M data/campaigns/The_South_Guard/units/Horseman_Commander.cfg
    M data/campaigns/The_South_Guard/units/Infantry_Commander.cfg
    M data/campaigns/The_South_Guard/units/Infantry_Lieutenant.cfg
    M data/campaigns/The_South_Guard/units/Junior_Commander.cfg
    M data/campaigns/The_South_Guard/units/Mounted_General.cfg
    M data/campaigns/Under_the_Burning_Suns/units/elves/Desert_Captain.cfg
    M data/campaigns/Under_the_Burning_Suns/units/elves/Desert_Marshal.cfg
    M data/campaigns/Under_the_Burning_Suns/units/elves/Kaleh.cfg
    M data/campaigns/Under_the_Burning_Suns/units/humans/Human_Commander.cfg
    M data/core/macros/abilities.cfg
    M data/core/macros/deprecated-utils.cfg
    M data/core/units/drakes/Flameheart.cfg
    M data/core/units/drakes/Flare.cfg
    M data/core/units/elves/Captain.cfg
    M data/core/units/elves/Marshal.cfg
    M data/core/units/goblins/Rouser.cfg
    M data/core/units/humans/Loyalist_General.cfg
    M data/core/units/humans/Loyalist_Grand_Marshal.cfg
    M data/core/units/humans/Loyalist_Lieutenant.cfg
    M data/core/units/humans/Loyalist_Sergeant.cfg
    M data/core/units/monsters/Fire_Dragon.cfg
    M data/core/units/orcs/Leader.cfg
    M data/core/units/orcs/Ruler.cfg
    M data/core/units/orcs/Sovereign.cfg
    M data/core/units/undead/Skele_Death_Knight.cfg
    M data/tools/wmllint
    M src/actions/attack.cpp
    M src/map_location.cpp
    M src/scripting/game_lua_kernel.cpp
    M src/unit.hpp
    M src/unit_abilities.cpp
    M src/unit_filter.cpp
    M src/unit_filter.hpp

  Log Message:
  -----------
  Merge pull request #488 from CelticMinstrel/backstab


Compare: https://github.com/wesnoth/wesnoth/compare/6dd554c97904...e74c119b9b2b


More information about the Commits mailing list