URL:
<http://gna.org/patch/?1464>
Summary: cleanup ai_choice
Project: Freeciv
Submitted by: syntron
Submitted on: Mittwoch 10.02.2010 um 21:19
Category: general
Priority: 3 - Low
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3.0
_______________________________________________________
Details:
some time ago I started to fix one of the many TODO's within the code
(./ai/aitools.c:copy_if_better_choice()):
> TODO: We should get rid of this function. Choice structures
> should be accessed via pointers, and those pointers should be
> updated instead of copying whole structures.
Today I finished this work. ai_choice is now used as pointer. Furthermore
some cleanups and moving of code is included.
Within the autogame tests I got some segfaults which I can't sort at the
moment. Further investigations are needed ...
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1464>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev