Overview Members Chapter Previous Next

CDXScreen::FadeOut

void FadeOut( int delay ) ;

NAME: FadeOut.

PURPOSE: Smoothly fades the current palette to black.

NOTE: This function is for 8bit color modes only.

 INPUT: delay - the amount of time to delay between palette adjustments.
                  0 - no delay
                  10  - about 1 second
                  25  - about 2 seconds
                  50  - about 4 seconds
                  100 - about 8 seconds

RETURNS: nothing.