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

                 Summary: Pass city production as pointer to most functions
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Fri 13 May 2016 06:32:52 AM EEST
                Category: general
                Priority: 5 - Normal
                  Status: In Progress
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.6.0, 3.0.0
 Contains string changes: None

    _______________________________________________________

Details:

Do not pass city production as value (copy of a struct) but as pointer in most
cases.

I ended up writing this patch via dependency chain:
Fix AI production problems -> Debug AI production problems -> Make AI
production problem debugging easier

and I suspect that eventual AI fixes would require extra work to backport to a
branch without this change. So I'm about to backport this to S2_6 to provide a
baseline to those AI fixes to build on.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri 13 May 2016 06:32:52 AM EEST  Name: PointerUniversal.patch.bz2 
Size: 15kB   By: cazfi

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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