Bazaar developer reference

CvPreGame::maxTurns()

Defined in
CvPreGame.cpp, line 1588
Hook name
CivHooks::CvPreGame_maxTurns

Hooks

static bool BeforeCvPreGame_maxTurns(int& result);static void AfterCvPreGame_maxTurns(int& result);static int ReplaceCvPreGame_maxTurns(int (*original)());CivRegisterBefore<CivHooks::CvPreGame_maxTurns>(host, &BeforeCvPreGame_maxTurns);CivRegisterAfter<CivHooks::CvPreGame_maxTurns>(host, &AfterCvPreGame_maxTurns);CivRegisterReplace<CivHooks::CvPreGame_maxTurns>(host, &ReplaceCvPreGame_maxTurns);

Code

1588int maxTurns()1589{1590	return s_maxTurns;1591}

Calls

Called by