Hi!
I have two large arrays to store level data, and I need to copy one to another on every frame cycle.
Quote:

for (k = 0; k < 1350; k++)
{
for (i = 0; i < 1350; i++)
{



maparray2[i][k][0] = maparray[i][k][0];
maparray2[i][k][1] = maparray[i][k][1];
maparray2[i][k][2] = maparray[i][k][2];

}
}


But this kills a lot of CPU, maybe someone knows of faster/better way to code such array-to-array copying?

Regards,
Konstantin.


What kills me not, that makes me stronger.

***Working on RPG/RTS***