[Freeciv-Dev] [patch #6727] Cleanup resource_valid handling

2015-12-28 Thread Marko Lindqvist
Update of patch #6727 (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 #6727] Cleanup resource_valid handling

2015-12-25 Thread Marko Lindqvist
URL:
  

 Summary: Cleanup resource_valid handling
 Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 25 Dec 2015 06:33:34 PM EET
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 3.0.0

___

Details:

Replace separate resource_valid bit in the tile structure with simply not
setting the extra in the tile when it's not valid, just keeping the resource
pointer pointing to the "potential" resource. This makes (more so in the
future when resources get more integrated to extras framework) things also
faster as iterations over extras on tile do not need to check validity
separately but "existence" of the extra already tells that it's also valid.




___

File Attachments:


---
Date: Fri 25 Dec 2015 06:33:34 PM EET  Name: ResourceValidCleanup.patch  Size:
5kB   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