EmperorFool
Deity
There are three ways to modify the callbacks in CvGameUtils. I will cover all three in this tutorial and compare the differences so you can pick the method that best suits your mod and goals.
I have attached the modified files for all three methods to this post.
Important: You should not normally need to modify the CvGameInterface.py module. The only case where that would be necessary is creating new callback functions to call from a custom DLL.
I have attached the modified files for all three methods to this post.
Important: You should not normally need to modify the CvGameInterface.py module. The only case where that would be necessary is creating new callback functions to call from a custom DLL.