URL:
  <http://gna.org/patch/?1798>

                 Summary: No AI function pointers to advisor functions
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Monday 08/02/2010 at 15:32
                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.3.0

    _______________________________________________________

Details:

Do not access advisor functions through ai function pointers.

1. Those functions have to be available always, not only when there is some
ai type associated to player
2. This makes it possible to unify calling ai functions through pointers.
There can (and basically must) always be check that player really is AI
controlled.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Monday 08/02/2010 at 15:32  Name: AiFuncsToAiOnly.diff  Size: 6kB   By:
cazfi

<http://gna.org/patch/download.php?file_id=9664>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1798>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to