Bazaar developer reference

CvPreGame::setQuickMovement(bool)

Defined in
CvPreGame.cpp, line 2895
Hook name
CivHooks::CvPreGame_setQuickMovement

Hooks

static bool BeforeCvPreGame_setQuickMovement(bool isQuickMovement);static void AfterCvPreGame_setQuickMovement(bool isQuickMovement);static void ReplaceCvPreGame_setQuickMovement(void (*original)(bool), bool isQuickMovement);CivRegisterBefore<CivHooks::CvPreGame_setQuickMovement>(host, &BeforeCvPreGame_setQuickMovement);CivRegisterAfter<CivHooks::CvPreGame_setQuickMovement>(host, &AfterCvPreGame_setQuickMovement);CivRegisterReplace<CivHooks::CvPreGame_setQuickMovement>(host, &ReplaceCvPreGame_setQuickMovement);

Code

2895void setQuickMovement(bool isQuickMovement)2896{2897	SetGameOption(GAMEOPTION_QUICK_MOVEMENT_KEY, isQuickMovement?1:0);2898}

Calls

Called by