CS_TBL #1 1-dim solution, so: can be resized!mapdata[x+mapwidth*y]=mapdataNot what you want perhaps, but at least a semi-clean solution.