Author: oracle
Date: Mon Jun 30 18:22:20 2008
New Revision: 27616
URL: http://svn.gna.org/viewcvs/wesnoth?rev=27616&view=rev
Log:
Continue to add code that releases the GIL. Modernized some code to
comply with newer (python 2.4+) C-API interfaces. Some wesnoth functions
now return bool values, as documented, rather than ints. A new version
of bruteforce has been added which shows unsafe AI. This AI runs 2x-14x
faster than the stock bruteforce because of memoize pattern and psyco.
The AI is only avaliable if unsafe AI execution is enabled (disable option).
Added:
trunk/data/ais/bruteforce_unsafe.py
Modified:
trunk/changelog
trunk/src/ai_python.cpp
[This mail would be too long, it was shortened to contain the URLs only.]
Modified: trunk/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=27616&r1=27615&r2=27616&view=diff
Added: trunk/data/ais/bruteforce_unsafe.py
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/data/ais/bruteforce_unsafe.py?rev=27616&view=auto
Modified: trunk/src/ai_python.cpp
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/src/ai_python.cpp?rev=27616&r1=27615&r2=27616&view=diff
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits