URL:
<http://gna.org/patch/?2799>
Summary: Prefix "dai_" for default ai callbacks
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 13 Jul 2011 12:05:41 AM EEST
Category: ai
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.0
_______________________________________________________
Details:
This patch changes all default ai functions used as ai interface callbacks to
have prefix "dai_" in their name.
As several ai modules can be loaded simultaneously, it's important to have
clear namespaces for each, and not to pollute such generic namespace as "ai_".
This patch is just first step to clean default ai namespace. As no ai module
should use "ai_"-namespace, we're safe for the time being with just default ai
using it without namespace conflicts. But in the future "ai_"-namespace should
be reserved for ai-code common to all modules (at the moment there is no such
code at all)
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 13 Jul 2011 12:05:41 AM EEST Name: DaiCB.diff.bz2 Size: 5kB By:
cazfi
<http://gna.org/patch/download.php?file_id=13543>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2799>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev