Bazaar developer reference

CvArea::SetMountains(bool)

Defined in
CvArea.cpp, line 339
Class
CvArea
Hook name
CivHooks::CvArea_SetMountains

Hooks

static bool BeforeCvArea_SetMountains(CvArea* self, bool bValue);static void AfterCvArea_SetMountains(CvArea* self, bool bValue);static void ReplaceCvArea_SetMountains(void (*original)(CvArea*, bool), CvArea* self, bool bValue);CivRegisterBefore<CivHooks::CvArea_SetMountains>(host, &BeforeCvArea_SetMountains);CivRegisterAfter<CivHooks::CvArea_SetMountains>(host, &AfterCvArea_SetMountains);CivRegisterReplace<CivHooks::CvArea_SetMountains>(host, &ReplaceCvArea_SetMountains);

Code

339void CvArea::SetMountains(bool bValue)340{341	if(m_bMountains != bValue)342	{343		m_bMountains = bValue;344	}345}

Called by