fade_out_range (3) - Linux Manuals
fade_out_range: Gradually fades a part of the palette to black. Allegro game programming library.
Command to display fade_out_range
manual in Linux: $ man 3 fade_out_range
NAME
fade_out_range - Gradually fades a part of the palette to black. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void fade_out_range(int speed, int from, int to);
DESCRIPTION
Gradually fades a part of the palette from the current palette to a black
screen. The speed is from 1 (the slowest) up to 64 (instantaneous). This
routine only affects colors between from and to (inclusive: pass 0 and
255 to fade the entire palette).
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_out_range
- fade_out (3) - Gradually fades the palette to black. Allegro game programming library.
- fade_from (3) - Gradually fades the palette between two others. Allegro game programming library.
- 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.
- fabs (3) - absolute value of floating-point number