FadeToBlack

Fades the screen to black

Synopsis

void FadeToBlack (ScreenContext *sc, int32 nFrames)

Description

Fades all the screens in the screen context to black over nFrames.

Arguments

sc
Pointer to a ScreenContext
nFrames
Number of frames over which the fade will occur. After nFrames, all the color entries in the CLUT will be zero, or black.

Associated Files

lib3do.lib, displayutils.h

See Also

FadeFromBlack