Author: dragonking
Date: Fri Jul 4 23:27:45 2008
New Revision: 27727
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27727&view=rev
Log:
* moved some formula AI code from ai.cpp to formula_ai.cpp
* new ai object members: side, my_recruits, recruits_of_side, time_of_day,
villages_of_side
* renamed 'units_of_team' to 'units_of_side'
* improved the defense_on, chance_to_hit, max_possible_damage formula functions
* added movement_cost() formula function
* made possible to execute fallback('human') formula
Modified:
trunk/src/ai.cpp
trunk/src/formula_ai.cpp
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/src/ai.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai.cpp?rev=27727&r1=27726&r2=27727&view=diff
Modified: trunk/src/formula_ai.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula_ai.cpp?rev=27727&r1=27726&r2=27727&view=diff
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits