5 Struct N_ATLAS_PAGE
gullradriel edited this page 2026-10-09 00:55:18 +02:00

N_ATLAS_PAGE

Module: GRAPHICS: multi-page sprite atlas, random-access cells

one atlas page: a bitmap holding cols*rows equally sized cells

#include "n_atlas.h"

Public Attributes

Name
uint16_t rows
grid height in cells
uint16_t cols
grid width in cells
ALLEGRO_BITMAP * bmp
the decoded page bitmap, NULL until set

Public Attributes Documentation

variable rows

uint16_t rows;

grid height in cells

variable cols

uint16_t cols;

grid width in cells

variable bmp

ALLEGRO_BITMAP * bmp;

the decoded page bitmap, NULL until set