Hooks
static bool BeforeCvDllPreGame_setMaxTurns(CvDllPreGame* self, int maxTurns);static void AfterCvDllPreGame_setMaxTurns(CvDllPreGame* self, int maxTurns);static void ReplaceCvDllPreGame_setMaxTurns(void (*original)(CvDllPreGame*, int), CvDllPreGame* self, int maxTurns);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMaxTurns::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setMaxTurns);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMaxTurns::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setMaxTurns);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setMaxTurns::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setMaxTurns);