rem: switch (what = *ColorMapPtr)
add: what = *ColorMapPtr; switch (what)
context: XFormColorMap (COLORMAPPTR ColorMapPtr, SIZE TimeInterval){	BYTE	what;	DWORD	TimeOut;	//printf ("Partially implemented function activated: XFormColorMap()\n");	FlushColorXForms ();	if (ColorMapPtr == (COLORMAPPTR)0)		return (0);	switch (what = *ColorMapPtr)	{	case FadeAllToBlack:	case FadeSomeToBlack:		end = NO_INTENSITY;		break;	case FadeAllToColor:	case FadeSomeToColor:		end = NORMAL_INTENSITY;		break;	case FadeAllToWhite:	case FadeSomeToWhite:		end = FULL_INTENSITY;		break;	default:		return (GetTimeCounter ());	}	//if (what == FadeAllToBlack || what == FadeAllToWhite || what == FadeAllToColor)	//_threedo_enable_fade ();	if ((TaskControl.Ticks = TimeInterval) <= 0		|| (TaskControl.tc.XFormTask = AddTask (xform_clut_task, 1024)) == 0)	{		//_threedo_change_clut (end);		TimeOut = GetTimeCounter ();	}	else	{		do			TaskSwitch ();		while (TaskControl.tc.XFormTask);		TimeOut = GetTimeCounter () + TimeInterval + 1;	}	return (TimeOut);}