---
name: "exflame"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/exflame/3alleg4"
---

# exflame(3alleg4)

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**(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)
