|
|
| |
exflame(3) |
Allegro manual |
exflame(3) |
exflame - How to write directly to video memory improving performance. Allegro
game programming library.
#include <allegro.h>
Example exflame
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.
END_OF_MAIN(3), PALETTE(3), SCREEN_H(3),
SCREEN_W(3), acquire_screen(3), allegro_error(3),
allegro_init(3), allegro_message(3), bmp_read_line(3),
bmp_unwrite_line(3), bmp_write_line(3), clear_keybuf(3),
font(3), getpixel(3), install_keyboard(3),
keypressed(3), line(3), makecol(3), putpixel(3),
release_screen(3), rest(3), screen(3),
set_gfx_mode(3), set_palette(3), textout_ex(3)
Visit the GSP FreeBSD Man Page Interface. Output converted with ManDoc. |