1fade_in(3) Allegro manual fade_in(3)
2
3
4
6 fade_in - Gradually fades the palette from black. Allegro game programā
7 ming library.
8
10 #include <allegro.h>
11
12
13 void fade_in(const PALETTE p, int speed);
14
16 Fades gradually from a black screen to the specified 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
25 fade_out(3), fade_from(3), fade_interpolate(3), fade_in_range(3)
26
27
28
29Allegro version 4.2.3 fade_in(3)