X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Fsp65%2Fpalette.h;h=d7180e0f03379bb7c0a4f5e5cd36db8ec27f9d6d;hb=35e1184901ca38bdb2e56d154ed3b71f6096eacc;hp=05a10adf999d1ba89c35b024587739b8d29cfb70;hpb=fa052219e3bae79161ffbf8f4e23a57dc2ba4ca1;p=cc65 diff --git a/src/sp65/palette.h b/src/sp65/palette.h index 05a10adf9..d7180e0f0 100644 --- a/src/sp65/palette.h +++ b/src/sp65/palette.h @@ -38,6 +38,8 @@ +#include + /* sp65 */ #include "color.h" @@ -69,9 +71,15 @@ Palette* NewPalette (unsigned Entries); Palette* NewMonochromePalette (void); /* Create and return a palette with two entries (black and white) */ +Palette* DupPalette (const Palette* P); +/* Create a copy of a palette */ + void FreePalette (Palette* P); /* Free a dynamically allocated palette */ +void DumpPalette (FILE* F, const Palette* P); +/* Dump the palette in readable form to the given file */ + /* End of palette.h */