rem: SleepTask (XFormColorMap ((COLORMAPPTR)clut_buf, ONE_SECOND / 4));
add: SleepThreadUntil (XFormColorMap ((COLORMAPPTR)clut_buf, ONE_SECOND / 4));
context: DoShipSpin (COUNT index, MUSIC_REF hMusic){	char buf[30];	BYTE clut_buf[1];	RECT old_r, r;	SetGraphicUseOtherExtra (1);	LoadIntoExtraScreen (0);	clut_buf[0] = FadeAllToBlack;	SleepTask (XFormColorMap ((COLORMAPPTR)clut_buf, ONE_SECOND / 4));	FlushColorXForms ();		if (hMusic)		StopMusic ();	FreeHyperData ();		sprintf (buf, "ship%02d", index);	DoFMV (buf, "spin", FALSE);	GetContextClipRect (&old_r);	r.corner.x = r.corner.y = 0;	r.extent.width = SCREEN_WIDTH;	r.extent.height = SCREEN_HEIGHT;	SetContextClipRect (&r);	DrawFromExtraScreen (0);	SetGraphicUseOtherExtra (0);	SetContextClipRect (&old_r);	if (hMusic)		PlayMusic (hMusic, TRUE, 1);			clut_buf[0] = FadeAllToColor;	SleepTask (XFormColorMap ((COLORMAPPTR)clut_buf, ONE_SECOND / 4));	FlushColorXForms ();}