Author: crab
Date: Tue Apr 28 00:06:46 2009
New Revision: 35279
URL: http://svn.gna.org/viewcvs/wesnoth?rev=35279&view=rev
Log:
AI Testing: added faction logging to ai/testing log
Modified:
trunk/src/actions.cpp
Modified: trunk/src/actions.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/actions.cpp?rev=35279&r1=35278&r2=35279&view=diff
==============================================================================
--- trunk/src/actions.cpp (original)
+++ trunk/src/actions.cpp Tue Apr 28 00:06:46 2009
@@ -1976,6 +1976,7 @@
for (std::vector<team>::const_iterator tm =
teams.begin(); tm != teams.end(); ++tm) {
int side = tm-teams.begin()+1;
LOG_AI_TESTING << "AI_IDENTIFIER"<<side<<": "
<< tm->ai_algorithm_identifier() <<std::endl;
+ LOG_AI_TESTING << "FACTION"<<side<<": " <<
tm->name() << std::endl;
}
LOG_AI_TESTING << "VERSION: " << game_config::revision
<< std::endl;
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits