logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

exflame - How to write directly to video memory improving performance. Allegro game programming library.

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.

Name

       exflame - How to write directly to video memory improving performance. Allegro game programming library.

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)

Allegro                                           version 4.4.3                                 exflame(3alleg4)

Synopsis

#include<allegro.h>Exampleexflame

See Also