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

NAME

6       fade_in_range - Gradually fades a part of the palette from black. Alle‐
7       gro game programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       void fade_in_range(const PALETTE p, int speed, int from, int to);
14

DESCRIPTION

16       Gradually fades a part of the palette from a black screen to the speci‐
17       fied  palette.  The  speed  is from 1 (the slowest) up to 64 (instanta‐
18       neous). This routine only affects colors between from  and  to  (inclu‐
19       sive: pass 0 and 255 to fade the entire palette).
20
21       Note  that  this  function  will  block  your game while the fade is in
22       effect, and it won't work right visually if you are not  in  an  8  bit
23       color depth resolution.
24
25

SEE ALSO

27       fade_in(3)
28
29
30
31Allegro                          version 4.2.3                fade_in_range(3)
Impressum