Searched refs:nZ (Results 1 – 1 of 1) sorted by relevance
65 s32 nX, nY, nZ; in MapEditor() local180 nZ = ((nY + nStampTop) & (nMapHeight-1)) * nMapWidth; in MapEditor()183 *buf++ = map[nZ + ((nX + nStampLeft) & (nMapWidth-1))]; in MapEditor()228 nZ = ((nY + nStaticY) & (nMapHeight-1)) * nMapWidth; in MapEditor()231 map[nZ + ((nX + nStaticX) & (nMapWidth-1))] = *buf++; in MapEditor()373 s32 nX, nY, nZ; in RenderEditorMode() local380 nZ = ((nY + nStaticY) & (nMapHeight-1)) * nMapWidth; in RenderEditorMode()383 *buf++ = map[nZ + ((nX + nStaticX) & (nMapWidth-1))]; in RenderEditorMode()391 nZ = ((nY + nStaticY) & (nMapHeight-1)) * nMapWidth; in RenderEditorMode()394 map[nZ + ((nX + nStaticX) & (nMapWidth-1))] = *buf++; in RenderEditorMode()[all …]