URL:
<http://gna.org/patch/?1146>
Summary: Implement AI hot-redeployment and refactor the AI
and AI parameter lookup code
Project: Battle for Wesnoth
Submitted by: crab
Submitted on: Saturday 03/28/2009 at 15:30
Priority: 4
Status: In Progress
Privacy: Public
Assigned to: crab
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
This is a work-in-progress patch to enable AI lifecycle management and enable
AI hot-redeployment (including temporary hot-redeployment).
The idea is to have an AI manager class which will control the lifecycles of
the AIs. Each team will have an AI stack associated with it. Also, there will
be two special AIs - one for evaluation of formulaAI commands (maybe, later
+another for Lua evaluation), and idle AI (just in case we need to fallback
somewhere).
The current state of the patch is supposed to be 'don't break anything'.
Posted not for commit (although it works, preserves bug-for-bug compatability
and interface of team.hpp, and hasn't broken anything for me), but for review
and commentary.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Saturday 03/28/2009 at 15:30 Name: ai_manager.0.patch Size: 21kB
By: crab
<http://gna.org/patch/download.php?file_id=5525>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1146>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs