[Freeciv-Dev] [patch #3172] Old road building activities to add road type, not specials

2012-03-17 Thread Marko Lindqvist
Update of patch #3172 (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 #3172] Old road building activities to add road type, not specials

2012-02-29 Thread Marko Lindqvist
URL:
  

 Summary: Old road building activities to add road type, not
specials
 Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 01 Mar 2012 02:50:25 AM 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: 2.5.0

___

Details:

While ACTIVITY_ROAD and ACTIVITY_RAILROAD are eventually going away
themselves, they should behave more gen-roads style meanwhile. Attached patch
makes them to create new roads with tile_add_road(). This way roads bitvector
stays up-to-date too, not just specials indicating road types buildable with
these activities.
In case there's no road for specific compatibility role (compat_special
"Road"/S_ROAD for ACTIVITY_ROAD or "Railroad"/S_RAILROAD for
ACTIVITY_RAILROAD) tile_add_road() and tile_remove_road() are changed to check
against NULL parameter. This is not yet used, as other parts of code require
that roads for both compatibility roles exist.



___

File Attachments:


---
Date: Thu 01 Mar 2012 02:50:25 AM EET  Name: RoadActivitiesAddRoadNotSpe.diff 
Size: 2kB   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