CvGlobals::IsGraphicsInitialized() const
- Defined in
- CvGlobals.cpp, line 6395
- Class
- CvGlobals
- Hook name
CivHooks::CvGlobals_IsGraphicsInitialized
Hooks
static bool BeforeCvGlobals_IsGraphicsInitialized(const CvGlobals* self, bool& result);static void AfterCvGlobals_IsGraphicsInitialized(const CvGlobals* self, bool& result);static bool ReplaceCvGlobals_IsGraphicsInitialized(bool (*original)(const CvGlobals*), const CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_IsGraphicsInitialized>(host, &BeforeCvGlobals_IsGraphicsInitialized);CivRegisterAfter<CivHooks::CvGlobals_IsGraphicsInitialized>(host, &AfterCvGlobals_IsGraphicsInitialized);CivRegisterReplace<CivHooks::CvGlobals_IsGraphicsInitialized>(host, &ReplaceCvGlobals_IsGraphicsInitialized);
Code
6395bool CvGlobals::IsGraphicsInitialized() const6396{6397 return m_bGraphicsInitialized;6398}
Called by
- CvCity::setupGraphical()
- CvDllGameContext::IsGraphicsInitialized() const
- CvGame::setActivePlayer(PlayerTypes, bool, bool)
- CvMap::setupGraphical()
- CvPlot::setPlotType(PlotTypes, bool, bool, bool)
- CvPlot::setResourceType(ResourceTypes, int, bool)
- CvPlot::setupGraphical()
- CvPlot::updateCenterUnit()
- CvPlot::updateFog(bool)
- CvPlot::updateVisibility()
- CvTeam::changeBridgeBuildingCount(int)
- CvUnit::setXY(int, int, bool, bool, bool, bool, bool)
- CvUnit::setupGraphical()
- CvUnit::~CvUnit()