[Freeciv-Dev] [patch #4970] Better path-finding reverse maps

2014-07-23 Thread pepeto
Update of patch #4970 (project freeciv):

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


___

Reply to this item at:

  

___
  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 #4970] Better path-finding reverse maps

2014-07-22 Thread Emmet Hikory
Follow-up Comment #3, patch #4970 (project freeciv):

I prefer symbols to magic numbers, but agree -1 isn't PF_IMPOSSIBLE_MC in this
case.  Thanks for the explanation on attack cost.  Everything else in this
patch looked good, so please consider me not to have objected at all.

___

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 #4970] Better path-finding reverse maps

2014-07-21 Thread Emmet Hikory
Follow-up Comment #1, patch #4970 (project freeciv):

There are a couple surviving uses of "-1" as a magic number in
pf_reverse_map_get_costs(): could these use PF_IMPOSSIBLE_MC?

Attacks are also still charged at SINGLE_MOVE: should this be increased for
UCF_MISSILE and UTYF_ONEATTACK, or don't we care in this situation?

___

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 #4970] Better path-finding reverse maps

2014-07-21 Thread pepeto
URL:
  

 Summary: Better path-finding reverse maps
 Project: Freeciv
Submitted by: pepeto
Submitted on: lun. 21 juil. 2014 16:38:14 CEST
Category: general
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:

* better move rate handling ;
* better native checks ;
* fixed node priority ;
* use utype->unknown_mc ;
* take in account unit moves left.




___

File Attachments:


---
Date: lun. 21 juil. 2014 16:38:14 CEST  Name: pf_reverse_map.patch  Size: 13
ko   By: pepeto



___

Reply to this item at:

  

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


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