MCPcopy Create free account
hub / github.com/OpenDungeons/OpenDungeons / hideAllTiles

Method hideAllTiles

source/camera/CullingManager.cpp:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void CullingManager::hideAllTiles(void)
107{
108 for (int jj = 0; jj < mGameMap->getMapSizeY() ; ++jj)
109 {
110 for (int ii = 0; ii < mGameMap->getMapSizeX(); ++ii)
111 {
112 Tile* tile = mGameMap->getTile(ii, jj);
113 tile->setTileCullingFlags(mCullingMask, false);
114 }
115 }
116}
117
118void CullingManager::showAllTiles(void)
119{

Callers

nothing calls this directly

Calls 4

getMapSizeYMethod · 0.80
getMapSizeXMethod · 0.80
setTileCullingFlagsMethod · 0.80
getTileMethod · 0.45

Tested by

no test coverage detected