URL:
<http://gna.org/patch/?4931>
Summary: pf_fuel_map_iterate(): adjustements
Project: Freeciv
Submitted by: pepeto
Submitted on: ven. 11 juil. 2014 19:56:44 CEST
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.6.0
_______________________________________________________
Details:
* better synchronization between the two priority queues to ensure the nodes
to be processed in a good order ;
* renamed _out_of_fuel queue_ to _waited_queue_ ;
* safety of a node (difference between moves left of moves required) is taken
in account in total_CC calculation ;
* handle correctly if the unit would implicitly refuel (stopping at a refuel
point at the end of the turn) ;
* removed obsolete SINGLE_MOVE cost hack if node behavior is TB_DONT_LEAVE ;
* removed priority queue assertions.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4931>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev