[Freeciv-Dev] [patch #3975] Replace act_tgt with extra_type pointer.

2013-07-10 Thread Marko Lindqvist
Update of patch #3975 (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 #3975] Replace act_tgt with extra_type pointer.

2013-07-05 Thread Marko Lindqvist
URL:
  

 Summary: Replace act_tgt with extra_type pointer.
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 06 Jul 2013 12:12:44 AM EEST
Category: general
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.6.0

___

Details:

Replace all uses of act_tgt structure with extra_type pointer.

Savefile format is not changed - target extras are still saved as individual
classes (special/base/road).
Network protocol has changed significantly. Some packages have been removed
(where there was separate package depending of target class, and now is just
extra), and others are smaller (where value of each class was sent in same
package though only one of the classes made sense any one time).

Otherwise I've gone with simple transformation to keep this patch manageable -
this leaves much space for future cleanups. Especially client side pillage
handling unnecessarily converts back and forth between combined extra_type and
individual classes.

So far only gtk3-client briefly tested. Others are known to compile.



___

File Attachments:


---
Date: Sat 06 Jul 2013 12:12:44 AM EEST  Name: ExtraActTgt.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