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

ANIM_GFX

Module: GRAPHICS: animation library, loading structures and blit funcs

struct of an animation

#include "n_anim.h"

Public Attributes

Name
unsigned int w
width of a frame
unsigned int type
blit type: masked with color, blended, brut
unsigned int nb_frames
nb frames in anim
unsigned int h
height of a frame
ANIM_FRAME * frames
each frame properties
ALLEGRO_BITMAP * bmp
bitmap with a list of lil' bitmap inside

Public Attributes Documentation

variable w

unsigned int w;

width of a frame

variable type

unsigned int type;

blit type: masked with color, blended, brut

variable nb_frames

unsigned int nb_frames;

nb frames in anim

variable h

unsigned int h;

height of a frame

variable frames

ANIM_FRAME * frames;

each frame properties

variable bmp

ALLEGRO_BITMAP * bmp;

bitmap with a list of lil' bitmap inside