[Freeciv-Dev] [patch #4768] Pathfinding: node behavior optimization

2014-06-17 Thread pepeto
Update of patch #4768 (project freeciv):

  Status:  Ready For Test = Done   
 Open/Closed:Open = Closed 


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #4768] Pathfinding: node behavior optimization

2014-06-15 Thread pepeto
Follow-up Comment #1, patch #4768 (project freeciv):

Second version:
* handle the case where the start tile would be ignored ;
* PF_IMPOSSIBLE_MC for fuel node required moves left also overwrite node
behavior to TB_IGNORE.


(file #21026)
___

Additional Item Attachment:

File name: pf_node_init2.patchSize:18 KB


___

Reply to this item at:

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

___
  Message posté via/par Gna!
  http://gna.org/


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


[Freeciv-Dev] [patch #4768] Pathfinding: node behavior optimization

2014-06-02 Thread pepeto
URL:
  http://gna.org/patch/?4768

 Summary: Pathfinding: node behavior optimization
 Project: Freeciv
Submitted by: pepeto
Submitted on: Mon 02 Jun 2014 11:48:15 AM CEST
Category: ai
Priority: 5 - Normal
  Status: Ready For Test
 Privacy: Public
 Assigned to: pepeto
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any
 Planned Release: 2.6.0

___

Details:

* TB_NORMAL is set to zero ;
* can_invade is suppressed. If the can_invade_tile callback returns FALSE,
then the behavior is overwritten with TB_IGNORE ;
* in pf_XXX_node_init(), returns immediately if we cannot enter the node at
all.




___

File Attachments:


---
Date: Mon 02 Jun 2014 11:48:15 AM CEST  Name: pf_node_init.patch  Size: 12kB  
By: pepeto

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

___

Reply to this item at:

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

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


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