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



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



Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to