patchFreeciv - Patches: patch #3666, Selection of default AI type

 
 
Show feedback again

patch #3666: Selection of default AI type

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Tue 05 Feb 2013 04:15:55 AM UTC  
 
Category: aiPriority: 5 - Normal
Status: DonePrivacy: Public
Assigned to: Marko Lindqvist <cazfi>Open/Closed: Closed
Planned Release: 2.5.0

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 06 Feb 2013 10:16:25 PM UTC, SVN revision 22301:

Allow selection of what will be the default ai type in configure time.
Usually it's the first ai type given to --enable-ai-static, which itself
defaults to "classic". If one wants to make some dynamic ai module the
default instead, that can be overridden with new --with-default-ai=
option. If the list of static modules is empty and no default ai module is
not explictily given, "classic" is used.

See gna patch #3666

(Browse SVN revision 22301)

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.
Tue 05 Feb 2013 04:15:55 AM UTC, original submission:

Allow having ai type other than "classic" as the default type. Name of the default ai type can be given with new configure option --with-default-ai=<type>. Otherwise it's first ai type listed in --enable-ai-static, and failing even that it's "classic". Note that --enable-ai-static defaults to "static", so the last fallback is used only if static modules are explicitly turned off. One needs to give default ai explicitly with --with-default-ai only if dynamic ai module is to be used as default ai.

We're back in "default ai" meaning multiple things though we have renamed one part as "classic", btw.

Marko Lindqvist <cazfi>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17129:  DefaultAISelection.patch added by cazfi (6kB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 06 Feb 2013 10:16:37 PM UTCcazfiStatusReady For Test=>Done
      Assigned toNone=>cazfi
      Open/ClosedOpen=>Closed
    Tue 05 Feb 2013 04:15:55 AM UTCcazfiAttached File-=>Added DefaultAISelection.patch, #17129
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup