Author: suokko
Date: Thu Sep 18 21:21:55 2008
New Revision: 29537

URL: http://svn.gna.org/viewcvs/wesnoth?rev=29537&view=rev
Log:
Added few comments to ai class about functions

Modified:
    trunk/src/ai.hpp

Modified: trunk/src/ai.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai.hpp?rev=29537&r1=29536&r2=29537&view=diff
==============================================================================
--- trunk/src/ai.hpp (original)
+++ trunk/src/ai.hpp Thu Sep 18 21:21:55 2008
@@ -378,9 +378,16 @@
                const std::multimap<gamemap::location,gamemap::location>& 
dstsrc,
                const std::map<gamemap::location,paths>& possible_moves,
                const std::multimap<gamemap::location,gamemap::location>& 
enemy_dstsrc) const;
-       
+       /** Used to tell AI if it should recruit ASAP
+        *  possible values are 0 for false and 1 for true
+        *  2 is used to disable gold check for recruiting
+        **/
        int recruiting_prefered_;
 protected:
+       /**
+        * true if this is master AI instance that is allowed to span
+        * slave AI instances (like formula AI)
+        **/
        bool master_;
 };
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to