Author: crab
Date: Sat Apr 11 23:44:09 2009
New Revision: 34737

URL: http://svn.gna.org/viewcvs/wesnoth?rev=34737&view=rev
Log:
AI Refactoring: removed some old (and now unused) functions

Modified:
    trunk/src/ai_interface.hpp
    trunk/src/formula_ai.hpp

Modified: trunk/src/ai_interface.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_interface.hpp?rev=34737&r1=34736&r2=34737&view=diff
==============================================================================
--- trunk/src/ai_interface.hpp (original)
+++ trunk/src/ai_interface.hpp Sat Apr 11 23:44:09 2009
@@ -116,13 +116,6 @@
        events::generic_event& unit_recruited() { return unit_recruited_; }
        events::generic_event& unit_moved()     { return unit_moved_; }
        events::generic_event& enemy_attacked() { return enemy_attacked_; }
-
-        // If the AI manager should manage the AI once constructed.
-        virtual bool manager_manage_ai() const { return false ; } ;
-
-        // If an AI manager should reap the AI at end of game
-        // Older AIs should use the default - false.
-        virtual bool manager_reap_ai() { return false ; } ;
 
         /** Set the side */
         virtual void set_side(unsigned int side) { side_ = side; }

Modified: trunk/src/formula_ai.hpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/formula_ai.hpp?rev=34737&r1=34736&r2=34737&view=diff
==============================================================================
--- trunk/src/formula_ai.hpp (original)
+++ trunk/src/formula_ai.hpp Sat Apr 11 23:44:09 2009
@@ -147,9 +147,6 @@
                variant attacks_cache;
        };
 
-        // If the AI manager should manager the AI once constructed.
-        virtual bool manager_manage_ai() const { return true ; } ;
-
        void swap_move_map(move_map_backup& backup);
 
        variant get_keeps() const;


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

Reply via email to