man exflame () - How to write directly to video memory improving performance. Allegro game programming library.
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(3alleg), PALETTE(3alleg), SCREEN_H(3alleg), SCREEN_W(3alleg), acquire_screen(3alleg), allegro_error(3alleg), allegro_init(3alleg), allegro_message(3alleg), bmp_read_line(3alleg), bmp_unwrite_line(3alleg), bmp_write_line(3alleg), clear_keybuf(3alleg), font(3alleg), getpixel(3alleg), install_keyboard(3alleg), keypressed(3alleg), line(3alleg), makecol(3alleg), putpixel(3alleg), release_screen(3alleg), screen(3alleg), set_gfx_mode(3alleg), set_palette(3alleg), textout_ex(3alleg)