Mercurial > hg > dmlib
diff tools/libgfx.h @ 2293:587b26cecf5b
Add read/write RAW palette function prototypes to public header.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 03 Jul 2019 09:01:47 +0300 |
parents | b858ade0fb0b |
children | 75216bf67fd2 |
line wrap: on
line diff
--- a/tools/libgfx.h Wed Jul 03 08:49:59 2019 +0300 +++ b/tools/libgfx.h Wed Jul 03 09:01:47 2019 +0300 @@ -172,6 +172,8 @@ int dmReadACTPalette(DMResource *fp, DMPalette **pdst); int dmWriteACTPalette(DMResource *fp, const DMPalette *pdst); +int dmReadRAWPalette(DMResource *fp, DMPalette **pdst); +int dmWriteRAWPalette(DMResource *fp, const DMPalette *ppal); int dmWriteImageData(const DMImage *img, void *cbdata,