[Freeciv-Dev] [patch #4451] AI handling of !present requirements

2014-02-09 Thread Marko Lindqvist
Update of patch #4451 (project freeciv):

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


___

Reply to this item at:

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

___
  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 #4451] AI handling of !present requirements

2014-01-25 Thread Marko Lindqvist
URL:
  http://gna.org/patch/?4451

 Summary: AI handling of !present requirements
 Project: Freeciv
Submitted by: cazfi
Submitted on: Sat 25 Jan 2014 11:11:16 AM EET
Category: ai
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.4.3, 2.5.0, 2.6.0

___

Details:

This patch fixes !present (or negated) requirement handling in AI.
For effect requirements reggression testing between nreg vector and !present
requirements there's bad news: implementation differs in such a fundamental
level, that it makes no sense to make !present results identical to nreqs.
Effects for which building is nreq, are not even in buildings effects cache,
so AI code never even sees them. !present OTOH is handled (after this patch)
inside AI code, and only when it's time to check the req. !present requirement
now work against the value of the requirement building.



___

File Attachments:


---
Date: Sat 25 Jan 2014 11:11:16 AM EET  Name: AiNotPresent.patch  Size: 9kB  
By: cazfi

http://gna.org/patch/download.php?file_id=19850
---
Date: Sat 25 Jan 2014 11:11:16 AM EET  Name: AiNotPresent-S2_5.patch  Size:
8kB   By: cazfi

http://gna.org/patch/download.php?file_id=19851
---
Date: Sat 25 Jan 2014 11:11:16 AM EET  Name: AiNotPresent-S2_4.patch  Size:
8kB   By: cazfi

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

___

Reply to this item at:

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

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


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