Hooks
static bool BeforeCvDllPreGame_setEarthMap(CvDllPreGame* self, bool bIsEarthMap);static void AfterCvDllPreGame_setEarthMap(CvDllPreGame* self, bool bIsEarthMap);static void ReplaceCvDllPreGame_setEarthMap(void (*original)(CvDllPreGame*, bool), CvDllPreGame* self, bool bIsEarthMap);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEarthMap::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setEarthMap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEarthMap::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setEarthMap);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setEarthMap::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setEarthMap);