fade_from (3) - Linux Manuals
fade_from: Gradually fades the palette between two others. Allegro game programming library.
Command to display fade_from
manual in Linux: $ man 3 fade_from
NAME
fade_from - Gradually fades the palette between two others. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void fade_from(const PALETTE source, const PALETTE dest, int speed);
DESCRIPTION
Fades gradually from the source palette to the dest palette. The speed is
from 1 (the slowest) up to 64 (instantaneous).
Note that this function will block your game while the fade is in effect,
and it won't work right visually if you are not in an 8 bit color depth
resolution.
Pages related to fade_from
- fade_from_range (3) - Gradually fades a part of the palette between two others. Allegro game programming library.
- fade_in (3) - Gradually fades the palette from black. Allegro game programming library.
- fade_in_range (3) - Gradually fades a part of the palette from black. Allegro game programming library.
- fade_interpolate (3) - Calculates a new palette interpolated between two others. Allegro game programming library.
- fade_out (3) - Gradually fades the palette to black. Allegro game programming library.
- fade_out_range (3) - Gradually fades a part of the palette to black. Allegro game programming library.
- fabs (3) - absolute value of floating-point number