1exflame(3) Allegro manual exflame(3)
2
3
4
6 exflame - How to write directly to video memory improving performance.
7 Allegro game programming library.
8
10 #include <allegro.h>
11
12
13 Example exflame
14
16 This program demonstrates how to write directly to video memory. It
17 implements a simple fire effect, first by calling getpixel() and put‐
18 pixel(), then by accessing video memory directly a byte at a time, and
19 finally using block memory copy operations.
20
21
23 END_OF_MAIN(3), PALETTE(3), SCREEN_H(3), SCREEN_W(3),
24 acquire_screen(3), allegro_error(3), allegro_init(3), allegro_mes‐
25 sage(3), bmp_read_line(3), bmp_unwrite_line(3), bmp_write_line(3),
26 clear_keybuf(3), font(3), getpixel(3), install_keyboard(3), key‐
27 pressed(3), line(3), makecol(3), putpixel(3), release_screen(3),
28 screen(3), set_gfx_mode(3), set_palette(3), textout_ex(3)
29
30
31
32Allegro version 4.2.2 exflame(3)