X-Git-Url: https://git.draconx.ca/gitweb/liblbx.git/blobdiff_plain/0806586ee10e29b60a77c351d355a00087f81f57..4a84fce79ab5326aae7aa9f99ccb38b5063b714a:/src/image.h diff --git a/src/image.h b/src/image.h index 5b5e4a3..83f03de 100644 --- a/src/image.h +++ b/src/image.h @@ -5,7 +5,17 @@ typedef struct lbx_image LBXIMG; +struct lbx_colour { + unsigned char red; + unsigned char green; + unsigned char blue; +}; + LBXIMG *lbximg_fopen(FILE *f); void lbximg_close(LBXIMG *img); +unsigned char **lbximg_getframe(LBXIMG *img, int frame); + +int lbximg_loadpalette(FILE *f, struct lbx_colour palette[static 256]); +int lbximg_getpalette(LBXIMG *img, struct lbx_colour palette[static 256]); #endif