git » fp-git.git » commit 3af0bd7

commented code

author ecalot
2006-06-10 18:55:00 UTC
committer ecalot
2006-06-10 18:55:00 UTC
parent bec6ba28d4071aeb19f137d6e5d495d3c7a67cbf

commented code

PR/src/lib/object/palette/pop1_16c.c +2 -0
PR/src/lib/object/palette/pop2_4bit.c +3 -1

diff --git a/PR/src/lib/object/palette/pop1_16c.c b/PR/src/lib/object/palette/pop1_16c.c
index 9099a90..e102ac9 100644
--- a/PR/src/lib/object/palette/pop1_16c.c
+++ b/PR/src/lib/object/palette/pop1_16c.c
@@ -53,6 +53,7 @@ void addPop1Raw(tPalette* p,unsigned char* data, int dataSize);
 
 static tColor sample_pal4[]={{0,0,0},{4,4,4}}; /*SAMPLE_PAL16;*/
 
+#if 0
 int setPalette(tPalette* p, int bits, tColor* palette) {
 	switch(bits) {
 	case 1:
@@ -160,6 +161,7 @@ void addPop1Raw(tPalette* p,unsigned char* data, int dataSize) {
 	p->pop1rawSize=dataSize;
 }
 */
+#endif
 
 typedef struct { 
 	tColor c[16];
diff --git a/PR/src/lib/object/palette/pop2_4bit.c b/PR/src/lib/object/palette/pop2_4bit.c
index 46c9854..8a748b0 100644
--- a/PR/src/lib/object/palette/pop2_4bit.c
+++ b/PR/src/lib/object/palette/pop2_4bit.c
@@ -51,11 +51,13 @@ void addPop2Raw(tPalette* p,unsigned char* data, int dataSize);
 |                         Palette Object                        |
 \***************************************************************/
 
+#if 0
 /* TODO: use comon factor or drop */
 int setPalette(tPalette* p, int bits, tColor* palette);
 int getPalette(const tPalette* p, int bits, const tColor** apalette);
 tPalette createPalette();
-				
+#endif
+
 /* middle layer */
 #define to8bits_A(a) (((a)<<2)|((a)>>4))
 #define to8bits_B(a) (((a)<<2)         )