NAME¶
exflame - How to write directly to video memory improving performance. Allegro
game programming library.
SYNOPSIS¶
#include <allegro.h>
Example exflame
DESCRIPTION¶
This program demonstrates how to write directly to video memory. It implements a
simple fire effect, first by calling getpixel() and putpixel(), then by
accessing video memory directly a byte at a time, and finally using block
memory copy operations.
SEE ALSO¶
END_OF_MAIN(3alleg4),
PALETTE(3alleg4),
SCREEN_H(3alleg4),
SCREEN_W(3alleg4),
acquire_screen(3alleg4),
allegro_error(3alleg4),
allegro_init(3alleg4),
allegro_message(3alleg4),
bmp_read_line(3alleg4),
bmp_unwrite_line(3alleg4),
bmp_write_line(3alleg4),
clear_keybuf(3alleg4),
font(3alleg4),
getpixel(3alleg4),
install_keyboard(3alleg4),
keypressed(3alleg4),
line(3alleg4),
makecol(3alleg4),
putpixel(3alleg4),
release_screen(3alleg4),
rest(3alleg4),
screen(3alleg4),
set_gfx_mode(3alleg4),
set_palette(3alleg4),
textout_ex(3alleg4)