/**************************************************
 * This is a part of DosWare 3D engine and it     *
 * should be distributed freely.                  *
 *                                                *
 * Copyright (C)1997 by George Yohng/DosWare,corp.*
 **************************************************/

void uninterlace()
{unsigned char *scr=(unsigned char *)scrbuf;
 int t,x;
 for(t=0;t<99;t+=2) //99 = 200/2 - 1
                    //(последнюю чёрную строку трогать не надо)
 {
  scr+=320;
  for(x=0;x<320;x++)
  {
   *scr=c_midc[*(scr-320)][*(scr+320)];
   scr++;
  }
 }
}

