[Freeciv-Dev] [patch #4520] Hard rule to prevent extra unambigiuous with terrain change

2014-02-28 Thread Marko Lindqvist
Update of patch #4520 (project freeciv):

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


___

Reply to this item at:

  http://gna.org/patch/?4520

___
  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 #4520] Hard rule to prevent extra unambigiuous with terrain change

2014-02-24 Thread Marko Lindqvist
Update of patch #4520 (project freeciv):

  Status:  Ready For Test = In Progress

___

Follow-up Comment #1:

Problem: This checks extra cause to determine if we're trying to build
irrigation extra instead of irrigation terrain transformation, or to build
mining extra instead mining terrain transformation. Result is not guaranteed
to tell the activity currently planned, as extra can have multiple causes. We
may return FALSE for some other activity simply because it would be impossible
to irrigate the extra into existence.

___

Reply to this item at:

  http://gna.org/patch/?4520

___
  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 #4520] Hard rule to prevent extra unambigiuous with terrain change

2014-02-24 Thread Marko Lindqvist
Update of patch #4520 (project freeciv):

  Status: In Progress = Ready For Test 

___

Follow-up Comment #2:

Make targeted fix to next_extra_for_tile() where the activity being planned is
known instead.

(file #20182)
___

Additional Item Attachment:

File name: NextIrrigationMineTransformTile.patch Size:0 KB


___

Reply to this item at:

  http://gna.org/patch/?4520

___
  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 #4520] Hard rule to prevent extra unambigiuous with terrain change

2014-02-19 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?4520

 Summary: Hard rule to prevent extra unambigiuous with terrain
change
 Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 19 Feb 2014 06:56:31 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.6.0

___

Details:

Introduce it to the very lowest level of checking if extra can be built to an
tile that EC_IRRIGATION extra cannot be added to an tile that will get
transformed by Irrigation activity, nor EC_MINE extra to an tile that will
transformed by Mining activity.

This probably fixes other problems in AI and Advisor code, but the real effect
is seen in startpos generation - Forest with Irrigation is no longer seen as
the best possible startpos.



___

File Attachments:


---
Date: Wed 19 Feb 2014 06:56:31 AM EET  Name: NextExtraNotTransform.patch 
Size: 800B   By: cazfi

http://gna.org/patch/download.php?file_id=20113

___

Reply to this item at:

  http://gna.org/patch/?4520

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


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