1MASK_COLOR_8(3) Allegro manual MASK_COLOR_8(3)
2
3
4
6 MASK_COLOR_8, MASK_COLOR_15, MASK_COLOR_16, MASK_COLOR_24,
7 MASK_COLOR_32 - Constant representing the mask value in sprites. Alle‐
8 gro game programming library.
9
11 #include <allegro.h>
12
13
14 #define MASK_COLOR_8 0
15
16 #define MASK_COLOR_15 (5.5.5 pink)
17
18 #define MASK_COLOR_16 (5.6.5 pink)
19
20 #define MASK_COLOR_24 (8.8.8 pink)
21
22 #define MASK_COLOR_32 (8.8.8 pink)
23
25 Constants representing the colors used to mask transparent sprite pix‐
26 els for each color depth. In 256-color resolutions this is zero, and in
27 truecolor modes it is bright pink (maximum red and blue, zero green).
28
29
30
31
33 bitmap_mask_color(3), makecol(3), draw_sprite(3), masked_blit(3)
34
35
36
37Allegro version 4.4.3 MASK_COLOR_8(3)