GrafX2 2.9.3227
The ultimate 256-color painting program
tiles.h File Reference

Functions for tilemap effect. More...

+ This graph shows which files directly or indirectly include this file:

Functions

void Tilemap_update (void)
 Create or update a tilemap based on current screen pixels. More...
 
void Tilemap_draw (word x, word y, byte color)
 Draw a pixel while Tilemap mode is active : This will paint on all similar tiles of the layer, visible on the screen or not. More...
 
void Disable_tilemap (T_Document *doc)
 Clears all tilemap data and settings Safe to call again. More...
 

Detailed Description

Functions for tilemap effect.

Function Documentation

◆ Tilemap_update()

◆ Tilemap_draw()

void Tilemap_draw ( word  x,
word  y,
byte  color 
)

◆ Disable_tilemap()

void Disable_tilemap ( T_Document doc)

Clears all tilemap data and settings Safe to call again.

References NULL, T_Document::tilemap, T_Document::tilemap_height, T_Document::tilemap_mode, and T_Document::tilemap_width.

Referenced by Button_Copy_page(), Button_Grid_menu(), and Tilemap_update().