URL:
<http://gna.org/patch/?3673>
Summary: Classicai to srcdir of its own
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 07 Feb 2013 01:20:42 AM EET
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.5.0
_______________________________________________________
Details:
ai/default currently holds both classic ai type and the default ai code shared
by classic and threaded ai types (and in the future by the lua ai?) Attached
patch moves classicai part to new ai/classic directory. This lead also to
build system update so that classic ai is not dependency of threaded ai, but
default ai is dependency of both classic and threaded ai. Default ai is built
(always as static library) if either of the classic or threaded ai is built as
static module, or if dynamic ai modules are enabled (meaning classic or
threaded ai might get dynamically loaded)
Before applying the patch, actual file moves shouldhave taken place already:
1) Create directory ai/classic
2) Move ai/default/classicai.h to ai/classic/classicai.h
3) Move ai/default/classicai.c to ai/classic/classicai.c
For the committer: Patch adds new file ai/classic/Makefile.am. Remember to do
'svn add' for it.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 07 Feb 2013 01:20:42 AM EET Name: ClassicAiDir.patch Size: 6kB
By: cazfi
<http://gna.org/patch/download.php?file_id=17143>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3673>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev