The Capo
godless Heathen
I'm sure you have already gone over this, but I couldn't seem to find it in this thread. What file is this you are referencing here:
I need to get this merged without a DLL. Thanks.
Remember this?
If you don't want to use the DLL, this is all you have to do! All marked in Red...
Code:from CvPythonExtensions import * import CvEventManager [COLOR="red"]# import AIAutoPlay # import ChangePlayer # import Tester[/COLOR] import InquisitionEvents #INSERT IMPORTS gc = CyGlobalContext() #INSERT DEFINES #################### INITIALIZER ########################### class CvCustomEventManager(CvEventManager.CvEventManager, object): def __init__(self, *args, **kwargs): super(CvCustomEventManager, self).__init__(*args, **kwargs) # map the initial EventHandlerMap values into the new data structure for eventType, eventHandler in self.EventHandlerMap.iteritems(): self.setEventHandler(eventType, eventHandler) # --> INSERT EVENT HANDLER INITIALIZATION HERE <-- [COLOR="Red"]# AIAutoPlay.AIAutoPlay(self) # ChangePlayer.ChangePlayer(self) # Tester.Tester(self)[/COLOR] InquisitionEvents.InquisitionEvents(self)
...Then discard these files:
CvInfoScreen.py
AIAutoPlay.py
Tester.py
ChangePlayer.py
CvGameCoreDLL.dll
Orion Veteran
I need to get this merged without a DLL. Thanks.