[Commits] [wesnoth/wesnoth] 84b123: [micro_ai] tag: move CA_path definition to beginni...

GitHub noreply at github.com
Mon Mar 31 15:23:42 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 84b1234835e155a75e1402518df059907a589479
      https://github.com/wesnoth/wesnoth/commit/84b1234835e155a75e1402518df059907a589479
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  [micro_ai] tag: move CA_path definition to beginning of file

To make it more visible for UMC authors who want to include their own
(modified) AIs.


  Commit: 7c3d9093fbf08c526b3438ec3884e92a729817c2
      https://github.com/wesnoth/wesnoth/commit/7c3d9093fbf08c526b3438ec3884e92a729817c2
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  Micro AIs: fix bug requiring unnecessary keys for MAI removal

MAIs which take either [filter] or id= used to throw an error message
if neither was given even for MAI removal.


  Commit: 96e84f24c59cdf990462102f74677b85c8cc0544
      https://github.com/wesnoth/wesnoth/commit/96e84f24c59cdf990462102f74677b85c8cc0544
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    A data/ai/micro_ais/micro_ai_unit_variables.lua

  Log Message:
  -----------
  MAIs: add utility functions for storing information in unit variables

These provide a simple and consistent way of storing variables inside
[micro_ai] tags in unit variables.  This is needed for fixing a bug
with variables stored in units from a previous MAI causing problems
with a subsequent MAI.


  Commit: 24881edfb3fa4991176060b92b54fedc61726e40
      https://github.com/wesnoth/wesnoth/commit/24881edfb3fa4991176060b92b54fedc61726e40
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_goto.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/micro_ai_helper.lua
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  Micro AIs: use AI id instead of CA id as identifier

… for determining whether AI/CA ids are unique.  Also pass AI id to
eval/exec functions, instead of CA id.  This is also a step toward
fixing the bug with MAI variables remaining stored in units after an
MAI is removed.
In principle, the ca_id= key in the [micro_ai] tag should now be
renamed to ai_id, but that would break backward compatibility without
any benefit to the user, so we deal with it internally behind the
scenes instead.


  Commit: bfb33151539d572177016bc4b3101fe41b493ebf
      https://github.com/wesnoth/wesnoth/commit/bfb33151539d572177016bc4b3101fe41b493ebf
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/micro_ai_wml_tag.lua

  Log Message:
  -----------
  Micro AIs: another bug fix for required keys for MAI removal

The random recruiters MAI also required unnecessary keys to be provided
for MAI removal.


  Commit: a4ee966d066947bdf7cf2d3d7e83989ad7a3850c
      https://github.com/wesnoth/wesnoth/commit/a4ee966d066947bdf7cf2d3d7e83989ad7a3850c
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/micro_ai_helper.lua

  Log Message:
  -----------
  Fix comments


  Commit: 49cc3bc7f9d362ca1ab12687c8ce5c2b3f287230
      https://github.com/wesnoth/wesnoth/commit/49cc3bc7f9d362ca1ab12687c8ce5c2b3f287230
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/cas/ca_big_animals.lua
    M data/ai/micro_ais/cas/ca_hang_out.lua
    M data/ai/micro_ais/cas/ca_hunter.lua
    M data/ai/micro_ais/cas/ca_messenger_escort_move.lua
    M data/ai/micro_ais/cas/ca_messenger_f_next_waypoint.lua
    M data/ai/micro_ais/cas/ca_patrol.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_attack.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_functions.lua
    M data/ai/micro_ais/cas/ca_wolves_multipacks_wander.lua

  Log Message:
  -----------
  Micro AIs: use the new functions for storing information in units

… such that it is done in a consistent way and this information can be
removed on MAI deletion.


  Commit: c24ddb71b217cfc1bb018e9a232e3d52b3bd0083
      https://github.com/wesnoth/wesnoth/commit/c24ddb71b217cfc1bb018e9a232e3d52b3bd0083
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M data/ai/micro_ais/micro_ai_helper.lua

  Log Message:
  -----------
  Micro AIs bug fix: remove MAI unit variables on MAI removal

Previously this information remained in units and could alter the
behavior of subsequent MAIs, or even entirely disable them.


  Commit: e1bbfc49ada0bf341b341d8411c7de64dfaa6799
      https://github.com/wesnoth/wesnoth/commit/e1bbfc49ada0bf341b341d8411c7de64dfaa6799
  Author: mattsc <mattsc000 at gmail.com>
  Date:   2014-03-31 (Mon, 31 Mar 2014)

  Changed paths:
    M changelog
    M data/core/about.cfg
    M src/construct_dialog.cpp
    M src/desktop_util.cpp
    M src/hotkey/hotkey_item.cpp
    M src/playmp_controller.cpp
    M src/race.cpp
    M src/sdl/texture.cpp
    M src/sdl/texture.hpp
    M src/serialization/unicode.hpp
    M src/tests/test_serialization.cpp
    M src/text.cpp
    M src/widgets/textbox.cpp
    M src/windows_tray_notification.cpp

  Log Message:
  -----------
  Merge branch 'master' of github.com:wesnoth/wesnoth


Compare: https://github.com/wesnoth/wesnoth/compare/4d464bf8d240...e1bbfc49ada0


More information about the Commits mailing list