Mercurial > hg > dmlib
diff tools/lib64gfx.h @ 2200:dcd26cdc395e
Replace dmC64InitializeFormats() with dmLib64GFXInit() and dmLib64GFXClose().
Add in sorting of the C64 formats list.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 14 Jun 2019 00:00:27 +0300 |
parents | 28871f500e84 |
children | 9f3fb4004c20 |
line wrap: on
line diff
--- a/tools/lib64gfx.h Thu Jun 13 23:59:05 2019 +0300 +++ b/tools/lib64gfx.h Fri Jun 14 00:00:27 2019 +0300 @@ -339,12 +339,19 @@ extern const int ndmC64DefaultPalettes; extern DMC64ImageFormat dmC64ImageFormats[]; extern const int ndmC64ImageFormats; +extern DMC64ImageFormat **dmC64ImageFormatsSorted; + + +// +// Library init/close +// +int dmLib64GFXInit(void); +void dmLib64GFXClose(void); // // Miscellaneous functions // -void dmC64InitializeFormats(void); int dmC64ProbeBMP(const DMGrowBuf *buf, const DMC64ImageFormat **fmt); char * dmC64GetImageTypeString(char *buf, const size_t len, const int type, const BOOL lng);