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

NAME

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

SYNOPSIS

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

DESCRIPTION

16       Gradually fades a part of the palette from the  current  palette  to  a
17       black  screen.  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_out(3)
28
29
30
31Allegro                          version 4.2.3               fade_out_range(3)
Impressum