[Freeciv-Dev] [patch #7226] Pass city production as pointer to most functions

2016-05-15 Thread Marko Lindqvist
Update of patch #7226 (project freeciv):

  Status:  Ready For Test => Done   
 Assigned to:None => cazfi  
 Open/Closed:Open => Closed 


___

Reply to this item at:

  

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


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


[Freeciv-Dev] [patch #7226] Pass city production as pointer to most functions

2016-05-13 Thread Marko Lindqvist
Update of patch #7226 (project freeciv):

  Status: In Progress => Ready For Test 

___

Follow-up Comment #1:

S2_6 version

(file #27393)
___

Additional Item Attachment:

File name: PointerUniversal-S2_6.patch.bz2 Size:17 KB


___

Reply to this item at:

  

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


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


[Freeciv-Dev] [patch #7226] Pass city production as pointer to most functions

2016-05-12 Thread Marko Lindqvist
URL:
  

 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



___

Reply to this item at:

  

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


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