+#include <stdio.h>
+
/* sp65 */
#include "color.h"
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
-
-
-