[Commits] [wesnoth/wesnoth] b02120: Fix typos in comments
GitHub
noreply at github.com
Tue Apr 1 03:08:46 UTC 2014
Branch: refs/heads/1.12
Home: https://github.com/wesnoth/wesnoth
Commit: b021209f7734d859ceea00b92907116ce0e83ea1
https://github.com/wesnoth/wesnoth/commit/b021209f7734d859ceea00b92907116ce0e83ea1
Author: mattsc <mattsc000 at gmail.com>
Date: 2014-03-31 (Mon, 31 Mar 2014)
Changed paths:
M data/ai/micro_ais/cas/ca_protect_unit_move.lua
M data/ai/micro_ais/micro_ai_unit_variables.lua
Log Message:
-----------
Fix typos in comments
Commit: 58ddf407e8b035ee54de770f883ceb0858ba165c
https://github.com/wesnoth/wesnoth/commit/58ddf407e8b035ee54de770f883ceb0858ba165c
Author: mattsc <mattsc000 at gmail.com>
Date: 2014-03-31 (Mon, 31 Mar 2014)
Changed paths:
A data/ai/micro_ais/micro_ai_self_data.lua
Log Message:
-----------
MAIs: add utility functions for storing information in AI's self.data
These provide a simple and consistent method of storing variables
inside [micro_ai] tags in the AI's persistent self.data variable. This
is needed for fixing a bug with variables stored there from a previous
MAI causing problems with a subsequent MAI
Commit: 578b452d32c300fa87c63faff2de7beb2323419d
https://github.com/wesnoth/wesnoth/commit/578b452d32c300fa87c63faff2de7beb2323419d
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: check for existence of [micro_ai] tags in self.data when...
… setting up an MAI. Ideally, we would delete such previous occurrences
of [micro_ai] tags in the AI's self.data variable. However, the MAI can
be changed while it is not the AI's turn, when this is not possible. So
instead, we check for the existence of such tags and make sure we are
using a different ai_id.
Commit: 907bca7ad552bcbf49dc01844051ea57e0711821
https://github.com/wesnoth/wesnoth/commit/907bca7ad552bcbf49dc01844051ea57e0711821
Author: mattsc <mattsc000 at gmail.com>
Date: 2014-03-31 (Mon, 31 Mar 2014)
Changed paths:
M data/ai/micro_ais/cas/ca_bottleneck_move.lua
M data/ai/micro_ais/cas/ca_goto.lua
M data/ai/micro_ais/cas/ca_hang_out.lua
Log Message:
-----------
Micro AIs: use the new functions for storing information in self.data
… so that it is done in a consistent way and conflicts can be avoided
when setting up a subsequent MAI.
Compare: https://github.com/wesnoth/wesnoth/compare/6d5d61bb01ac...907bca7ad552
More information about the Commits
mailing list