1fade_from(3)                    Allegro manual                    fade_from(3)
2
3
4

NAME

6       fade_from  -  Gradually  fades  the palette between two others. Allegro
7       game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void fade_from(const PALETTE source, const PALETTE dest, int speed);
14

DESCRIPTION

16       Fades gradually from the source palette to the dest palette. The  speed
17       is from 1 (the slowest) up to 64 (instantaneous).
18
19       Note  that  this  function  will  block  your game while the fade is in
20       effect, and it won't work right visually if you are not  in  an  8  bit
21       color depth resolution.
22
23

SEE ALSO

25       fade_in(3), fade_out(3), fade_interpolate(3), fade_from_range(3)
26
27
28
29Allegro                          version 4.4.2                    fade_from(3)
Impressum