MCPcopy Create free account
hub / github.com/ddnet/ddnet / GetTileData

Method GetTileData

src/game/map/render_layer.cpp:917–921  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

915}
916
917void CRenderLayerTile::GetTileData(unsigned char *pIndex, unsigned char *pFlags, int *pAngleRotate, unsigned int x, unsigned int y, int CurOverlay) const
918{
919 *pIndex = m_pTiles[y * m_pLayerTilemap->m_Width + x].m_Index;
920 *pFlags = m_pTiles[y * m_pLayerTilemap->m_Width + x].m_Flags;
921}
922
923/**************
924 * Quad Layer *

Callers

nothing calls this directly

Calls 2

IsTeleTileNumberUsedAnyFunction · 0.85
IsValidSpeedupTileFunction · 0.85

Tested by

no test coverage detected