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