Searched refs:nIdx (Results 1 – 2 of 2) sorted by relevance
168 s32 *nScanLine, s32 nEvent, s16 *nIdx, in FillSection() argument198 if (*pAddr != *nIdx) // Check continuity in FillSection()200 *nIdx += 2; in FillSection()201 *((s16 *)&aSortBuffer[*pAddr]) = (s16)(*pAddr - *nIdx); in FillSection()203 *((u16 *)&aSortBuffer[*nIdx]) = (u16)nTile; in FillSection()204 *nIdx += 2; in FillSection()205 aSortBuffer[(*nIdx)++] = (s8)nI; in FillSection()206 aSortBuffer[(*nIdx)++] = (s8)nJ; in FillSection()207 *pAddr = *nIdx; in FillSection()255 if (*pAddr != *nIdx) // Check continuity in FillSection()[all …]
63 s32 nMapIdx, nIdx; in MapEditor() local190 nIdx = (s32)(strchr(sUsedTiles, aEditStamp[0] + ' ') - sUsedTiles); in MapEditor()195 if (nIdx == 0) in MapEditor()197 nIdx = USED_TILES; in MapEditor()199 nIdx--; in MapEditor()201 aEditStamp[0] = (u8)(sUsedTiles[nIdx] - ' '); in MapEditor()207 nIdx++; in MapEditor()208 if (nIdx == USED_TILES) in MapEditor()210 nIdx = 0; in MapEditor()213 aEditStamp[0] = (u8)(sUsedTiles[nIdx] - ' '); in MapEditor()