Lines Matching refs:nMapWidth
166 if (nStampWidth > nMapWidth) in MapEditor()
168 nStampWidth = nMapWidth; in MapEditor()
180 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()
265 for (nI=0; nI<nMapWidth; nI++) in SaveMap()
371 s32 nMapWidth = 1<<lyrBack.nHS; in RenderEditorMode() local
380 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()
404 nZ = ((nY + nStaticY) & (nMapHeight-1)) * nMapWidth; in RenderEditorMode()
407 map[nZ + ((nX + nStaticX) & (nMapWidth-1))] = *buf++; in RenderEditorMode()