public override void write()
{
int i;
int tIdx = src.TileIdx;
int tw = src.getTileCompWidth(tIdx, c); // Tile width
int th = src.getTileCompHeight(tIdx, c); // Tile height
// Write in strips
for (i = 0; i < th; i += DEF_STRIP_HEIGHT)
{
write(0, i, tw, (th - i < DEF_STRIP_HEIGHT)?th - i:DEF_STRIP_HEIGHT);
}
}