mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-16 02:15:19 +00:00

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 available if unsafe AI execution is enabled (disable option).