shithub: dpaint

Download patch

ref: c291d486a8c55b5200f3ba8e06f9a1abbe190046
parent: 289d92186e8b0ee450a22c07f1c8642645e6d732
author: Clay Ayers <[email protected]>
date: Sun Mar 3 15:07:35 EST 2024

e

--- a/dpaint.c
+++ b/dpaint.c
@@ -12,7 +12,7 @@
 Image *canvas;
 Image *ink;
 Image *back;
-Image *pal[32];		/* palette */
+Image *pal[64];		/* palette */
 Rectangle palr;		/* palette rect on screen */
 Rectangle penr;		/* pen size rect on screen */
 
@@ -23,39 +23,71 @@
 int nundo = 0;
 Image *undo[1024];
 
-int arne[] = {		/* arne's 32 color palette */
-	0x000000,
+int arne[] = {		/*resurrect 64 color palette */
+	0x2e222f,
 	0xffffff,
-	0x493c2b,
-	0xbe2633,
-	0xe06f8b,
-	0xa46422,
-	0xeb8931,
-	0xf7e26b,
-	0x9d9d9d,
-	0x2f484e,
-	0x1b2632,
-	0x44891a,
-	0xa3ce27,
-	0x005784,
-	0x31a2f2,
-	0xb2dcef,
-	0x342a97,
-	0x656d71,
-	0xcccccc,
-	0x732930,
-	0xcb43a7,
-	0x524f40,
-	0xad9d33,
-	0xec4700,
-	0xfab40b,
-	0x115e33,
-	0x14807e,
-	0x15c2a5,
-	0x225af6,
-	0x9964f9,
-	0xf78ed6,
-	0xf4b990,
+	0x3e3546,
+	0x625565,
+	0x966c6c,
+	0xab947a,
+	0x694f62,
+	0x7f708a,
+	0x9babb2,
+	0xc7dcd0,
+	0x6e2727,
+	0xb33831,
+	0xea4f36,
+	0xf57d4a,
+	0xae2334,
+	0xe83b3b,
+	0xfb6b1d,
+	0xf79617,
+	0xf9c22b,
+	0x7a3045,
+	0x9e4539,
+	0xcd683d,
+	0xe6904e,
+	0xfbb954,
+	0x4c3e24,
+	0x676633,
+	0xa2a947,
+	0xd5e04b,
+	0xfbff86,
+	0x165a4c,
+	0x239063,
+	0x1ebc73,
+	0x91db69,
+	0xcddf6c,
+	0x313638,
+	0x374e4a,
+	0x547e64,
+	0x92a984,
+	0xb2ba90,
+	0x0b5e65,
+	0x0b8a8f,
+	0x0eaf9b,
+	0x30e1b9,
+	0x8ff8e2,
+	0x323353,
+	0x484a77,
+	0x4d65b4,
+	0x4d9be6,
+	0x8fd3ff,
+	0x45293f,
+	0x6b3e75,
+	0x905ea9,
+	0xa884f3,
+	0xeaaded,
+	0x753c54,
+	0xa24b6f,
+	0xcf657f,
+	0xed8099,
+	0x831c5d,
+	0xc32454,
+	0xf04f78,
+	0xf68181,
+	0xfca790,
+	0xfdcbb0
 };
 
 /*