]> git.sur5r.net Git - cc65/blobdiff - src/sp65/palette.h
Minor changes after review.
[cc65] / src / sp65 / palette.h
index c925f81c054deccf491db171e9b985221eeb37f6..61eb6519da412f3fbdd97dad35e19d964b5f6990 100644 (file)
@@ -38,6 +38,8 @@
 
 
 
+#include <stdio.h>
+
 /* sp65 */
 #include "color.h"
 
@@ -66,14 +68,20 @@ struct Palette {
 Palette* NewPalette (unsigned Entries);
 /* Create a new palette with the given number of 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 */
 
 #endif
-
-
-