From 1c7878cf21a2e2114ebe1cd0dad4e564a2114b70 Mon Sep 17 00:00:00 2001 From: zeromus Date: Mon, 30 Jun 2008 03:46:40 +0000 Subject: [PATCH] reinstalled the old palette --- src/palettes/palettes.h | 196 +++++++++++++++++++++++++++------------- 1 file changed, 131 insertions(+), 65 deletions(-) diff --git a/src/palettes/palettes.h b/src/palettes/palettes.h index 7556220c..953504fb 100644 --- a/src/palettes/palettes.h +++ b/src/palettes/palettes.h @@ -24,73 +24,139 @@ pal unvpalette[7] = { }; -/* Default palette */ +// Default palette pal palette[64] = { - {0x60, 0x60, 0x60}, /* Value 0 */ - {0x00, 0x00, 0x70}, /* Value 1 */ - {0x14, 0x00, 0x80}, /* Value 2 */ - {0x2C, 0x00, 0x6E}, /* Value 3 */ - {0x4A, 0x00, 0x4E}, /* Value 4 */ - {0x6C, 0x00, 0x18}, /* Value 5 */ - {0x5A, 0x03, 0x02}, /* Value 6 */ - {0x51, 0x18, 0x00}, /* Value 7 */ - {0x34, 0x24, 0x00}, /* Value 8 */ - {0x00, 0x34, 0x00}, /* Value 9 */ - {0x00, 0x32, 0x00}, /* Value 10 */ - {0x00, 0x34, 0x20}, /* Value 11 */ - {0x00, 0x2C, 0x78}, /* Value 12 */ - {0x00, 0x00, 0x00}, /* Value 13 */ - {0x02, 0x02, 0x02}, /* Value 14 */ - {0x02, 0x02, 0x02}, /* Value 15 */ - {0xC4, 0xC4, 0xC4}, /* Value 16 */ - {0x00, 0x58, 0xDE}, /* Value 17 */ - {0x30, 0x1F, 0xFC}, /* Value 18 */ - {0x7F, 0x14, 0xE0}, /* Value 19 */ - {0xA8, 0x00, 0xB0}, /* Value 20 */ - {0xC0, 0x06, 0x5C}, /* Value 21 */ - {0xC0, 0x2B, 0x0E}, /* Value 22 */ - {0xA6, 0x40, 0x10}, /* Value 23 */ - {0x6F, 0x61, 0x00}, /* Value 24 */ - {0x30, 0x80, 0x00}, /* Value 25 */ - {0x00, 0x7C, 0x00}, /* Value 26 */ - {0x00, 0x7C, 0x3C}, /* Value 27 */ - {0x00, 0x6E, 0x84}, /* Value 28 */ - {0x14, 0x14, 0x14}, /* Value 29 */ - {0x04, 0x04, 0x04}, /* Value 30 */ - {0x04, 0x04, 0x04}, /* Value 31 */ - {0xF0, 0xF0, 0xF0}, /* Value 32 */ - {0x4C, 0xAA, 0xFF}, /* Value 33 */ - {0x6F, 0x73, 0xF5}, /* Value 34 */ - {0xB0, 0x70, 0xFF}, /* Value 35 */ - {0xDA, 0x5A, 0xFF}, /* Value 36 */ - {0xF0, 0x60, 0xC0}, /* Value 37 */ - {0xF8, 0x83, 0x6D}, /* Value 38 */ - {0xD0, 0x90, 0x30}, /* Value 39 */ - {0xD4, 0xC0, 0x30}, /* Value 40 */ - {0x66, 0xD0, 0x00}, /* Value 41 */ - {0x26, 0xDD, 0x1A}, /* Value 42 */ - {0x2E, 0xC8, 0x66}, /* Value 43 */ - {0x34, 0xC2, 0xBE}, /* Value 44 */ - {0x54, 0x54, 0x54}, /* Value 45 */ - {0x06, 0x06, 0x06}, /* Value 46 */ - {0x06, 0x06, 0x06}, /* Value 47 */ - {0xFF, 0xFF, 0xFF}, /* Value 48 */ - {0xB6, 0xDA, 0xFF}, /* Value 49 */ - {0xC8, 0xCA, 0xFF}, /* Value 50 */ - {0xDA, 0xC2, 0xFF}, /* Value 51 */ - {0xF0, 0xBE, 0xFF}, /* Value 52 */ - {0xFC, 0xBC, 0xEE}, /* Value 53 */ - {0xFF, 0xD0, 0xB4}, /* Value 54 */ - {0xFF, 0xDA, 0x90}, /* Value 55 */ - {0xEC, 0xEC, 0x92}, /* Value 56 */ - {0xDC, 0xF6, 0x9E}, /* Value 57 */ - {0xB8, 0xFF, 0xA2}, /* Value 58 */ - {0xAE, 0xEA, 0xBE}, /* Value 59 */ - {0x9E, 0xEF, 0xEF}, /* Value 60 */ - {0xBE, 0xBE, 0xBE}, /* Value 61 */ - {0x08, 0x08, 0x08}, /* Value 62 */ - {0x08, 0x08, 0x08}, /* Value 63 */ + { 0x1D<<2, 0x1D<<2, 0x1D<<2 }, /* Value 0 */ + { 0x09<<2, 0x06<<2, 0x23<<2 }, /* Value 1 */ + { 0x00<<2, 0x00<<2, 0x2A<<2 }, /* Value 2 */ + { 0x11<<2, 0x00<<2, 0x27<<2 }, /* Value 3 */ + { 0x23<<2, 0x00<<2, 0x1D<<2 }, /* Value 4 */ + { 0x2A<<2, 0x00<<2, 0x04<<2 }, /* Value 5 */ + { 0x29<<2, 0x00<<2, 0x00<<2 }, /* Value 6 */ + { 0x1F<<2, 0x02<<2, 0x00<<2 }, /* Value 7 */ + { 0x10<<2, 0x0B<<2, 0x00<<2 }, /* Value 8 */ + { 0x00<<2, 0x11<<2, 0x00<<2 }, /* Value 9 */ + { 0x00<<2, 0x14<<2, 0x00<<2 }, /* Value 10 */ + { 0x00<<2, 0x0F<<2, 0x05<<2 }, /* Value 11 */ + { 0x06<<2, 0x0F<<2, 0x17<<2 }, /* Value 12 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 13 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 14 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 15 */ + { 0x2F<<2, 0x2F<<2, 0x2F<<2 }, /* Value 16 */ + { 0x00<<2, 0x1C<<2, 0x3B<<2 }, /* Value 17 */ + { 0x08<<2, 0x0E<<2, 0x3B<<2 }, /* Value 18 */ + { 0x20<<2, 0x00<<2, 0x3C<<2 }, /* Value 19 */ + { 0x2F<<2, 0x00<<2, 0x2F<<2 }, /* Value 20 */ + { 0x39<<2, 0x00<<2, 0x16<<2 }, /* Value 21 */ + { 0x36<<2, 0x0A<<2, 0x00<<2 }, /* Value 22 */ + { 0x32<<2, 0x13<<2, 0x03<<2 }, /* Value 23 */ + { 0x22<<2, 0x1C<<2, 0x00<<2 }, /* Value 24 */ + { 0x00<<2, 0x25<<2, 0x00<<2 }, /* Value 25 */ + { 0x00<<2, 0x2A<<2, 0x00<<2 }, /* Value 26 */ + { 0x00<<2, 0x24<<2, 0x0E<<2 }, /* Value 27 */ + { 0x00<<2, 0x20<<2, 0x22<<2 }, /* Value 28 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 29 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 30 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 31 */ + { 0x3F<<2, 0x3F<<2, 0x3F<<2 }, /* Value 32 */ + { 0x0F<<2, 0x2F<<2, 0x3F<<2 }, /* Value 33 */ + { 0x17<<2, 0x25<<2, 0x3F<<2 }, /* Value 34 */ + { 0x10<<2, 0x22<<2, 0x3F<<2 }, /* Value 35 */ + { 0x3D<<2, 0x1E<<2, 0x3F<<2 }, /* Value 36 */ + { 0x3F<<2, 0x1D<<2, 0x2D<<2 }, /* Value 37 */ + { 0x3F<<2, 0x1D<<2, 0x18<<2 }, /* Value 38 */ + { 0x3F<<2, 0x26<<2, 0x0E<<2 }, /* Value 39 */ + { 0x3C<<2, 0x2F<<2, 0x0F<<2 }, /* Value 40 */ + { 0x20<<2, 0x34<<2, 0x04<<2 }, /* Value 41 */ + { 0x13<<2, 0x37<<2, 0x12<<2 }, /* Value 42 */ + { 0x16<<2, 0x3E<<2, 0x26<<2 }, /* Value 43 */ + { 0x00<<2, 0x3A<<2, 0x36<<2 }, /* Value 44 */ + { 0x1E<<2, 0x1E<<2, 0x1E<<2 }, /* Value 45 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 46 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 47 */ + { 0x3F<<2, 0x3F<<2, 0x3F<<2 }, /* Value 48 */ + { 0x2A<<2, 0x39<<2, 0x3F<<2 }, /* Value 49 */ + { 0x31<<2, 0x35<<2, 0x3F<<2 }, /* Value 50 */ + { 0x35<<2, 0x32<<2, 0x3F<<2 }, /* Value 51 */ + { 0x3F<<2, 0x31<<2, 0x3F<<2 }, /* Value 52 */ + { 0x3F<<2, 0x31<<2, 0x36<<2 }, /* Value 53 */ + { 0x3F<<2, 0x2F<<2, 0x2C<<2 }, /* Value 54 */ + { 0x3F<<2, 0x36<<2, 0x2A<<2 }, /* Value 55 */ + { 0x3F<<2, 0x39<<2, 0x28<<2 }, /* Value 56 */ + { 0x38<<2, 0x3F<<2, 0x28<<2 }, /* Value 57 */ + { 0x2A<<2, 0x3C<<2, 0x2F<<2 }, /* Value 58 */ + { 0x2C<<2, 0x3F<<2, 0x33<<2 }, /* Value 59 */ + { 0x27<<2, 0x3F<<2, 0x3C<<2 }, /* Value 60 */ + { 0x31<<2, 0x31<<2, 0x31<<2 }, /* Value 61 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 62 */ + { 0x00<<2, 0x00<<2, 0x00<<2 }, /* Value 63 */ + + //luke's .16+ palette + //{0x60, 0x60, 0x60}, /* Value 0 */ + //{0x00, 0x00, 0x70}, /* Value 1 */ + //{0x14, 0x00, 0x80}, /* Value 2 */ + //{0x2C, 0x00, 0x6E}, /* Value 3 */ + //{0x4A, 0x00, 0x4E}, /* Value 4 */ + //{0x6C, 0x00, 0x18}, /* Value 5 */ + //{0x5A, 0x03, 0x02}, /* Value 6 */ + //{0x51, 0x18, 0x00}, /* Value 7 */ + //{0x34, 0x24, 0x00}, /* Value 8 */ + //{0x00, 0x34, 0x00}, /* Value 9 */ + //{0x00, 0x32, 0x00}, /* Value 10 */ + //{0x00, 0x34, 0x20}, /* Value 11 */ + //{0x00, 0x2C, 0x78}, /* Value 12 */ + //{0x00, 0x00, 0x00}, /* Value 13 */ + //{0x02, 0x02, 0x02}, /* Value 14 */ + //{0x02, 0x02, 0x02}, /* Value 15 */ + //{0xC4, 0xC4, 0xC4}, /* Value 16 */ + //{0x00, 0x58, 0xDE}, /* Value 17 */ + //{0x30, 0x1F, 0xFC}, /* Value 18 */ + //{0x7F, 0x14, 0xE0}, /* Value 19 */ + //{0xA8, 0x00, 0xB0}, /* Value 20 */ + //{0xC0, 0x06, 0x5C}, /* Value 21 */ + //{0xC0, 0x2B, 0x0E}, /* Value 22 */ + //{0xA6, 0x40, 0x10}, /* Value 23 */ + //{0x6F, 0x61, 0x00}, /* Value 24 */ + //{0x30, 0x80, 0x00}, /* Value 25 */ + //{0x00, 0x7C, 0x00}, /* Value 26 */ + //{0x00, 0x7C, 0x3C}, /* Value 27 */ + //{0x00, 0x6E, 0x84}, /* Value 28 */ + //{0x14, 0x14, 0x14}, /* Value 29 */ + //{0x04, 0x04, 0x04}, /* Value 30 */ + //{0x04, 0x04, 0x04}, /* Value 31 */ + //{0xF0, 0xF0, 0xF0}, /* Value 32 */ + //{0x4C, 0xAA, 0xFF}, /* Value 33 */ + //{0x6F, 0x73, 0xF5}, /* Value 34 */ + //{0xB0, 0x70, 0xFF}, /* Value 35 */ + //{0xDA, 0x5A, 0xFF}, /* Value 36 */ + //{0xF0, 0x60, 0xC0}, /* Value 37 */ + //{0xF8, 0x83, 0x6D}, /* Value 38 */ + //{0xD0, 0x90, 0x30}, /* Value 39 */ + //{0xD4, 0xC0, 0x30}, /* Value 40 */ + //{0x66, 0xD0, 0x00}, /* Value 41 */ + //{0x26, 0xDD, 0x1A}, /* Value 42 */ + //{0x2E, 0xC8, 0x66}, /* Value 43 */ + //{0x34, 0xC2, 0xBE}, /* Value 44 */ + //{0x54, 0x54, 0x54}, /* Value 45 */ + //{0x06, 0x06, 0x06}, /* Value 46 */ + //{0x06, 0x06, 0x06}, /* Value 47 */ + //{0xFF, 0xFF, 0xFF}, /* Value 48 */ + //{0xB6, 0xDA, 0xFF}, /* Value 49 */ + //{0xC8, 0xCA, 0xFF}, /* Value 50 */ + //{0xDA, 0xC2, 0xFF}, /* Value 51 */ + //{0xF0, 0xBE, 0xFF}, /* Value 52 */ + //{0xFC, 0xBC, 0xEE}, /* Value 53 */ + //{0xFF, 0xD0, 0xB4}, /* Value 54 */ + //{0xFF, 0xDA, 0x90}, /* Value 55 */ + //{0xEC, 0xEC, 0x92}, /* Value 56 */ + //{0xDC, 0xF6, 0x9E}, /* Value 57 */ + //{0xB8, 0xFF, 0xA2}, /* Value 58 */ + //{0xAE, 0xEA, 0xBE}, /* Value 59 */ + //{0x9E, 0xEF, 0xEF}, /* Value 60 */ + //{0xBE, 0xBE, 0xBE}, /* Value 61 */ + //{0x08, 0x08, 0x08}, /* Value 62 */ + //{0x08, 0x08, 0x08}, /* Value 63 */ /* // old palette: 74, 74, 74