/* An PAL_TRANS is a translation table for colsw(). If newpal is the PAL_TRANS & pal is the PALETTE, then pal[newpal[n]] = pal[n]. In other words, color n is transferred to newpal[n]. */ typedef BYTE PAL_TRANS[16];